html « Character « JSP-Servlet Q&A





1. same code for jsp and html, but display different character set    coderanch.com

I have the below source code for a jsp file, and I also renamed it to be a htm file. I try to display Japanese characters in both files. The htm file has no problem to display Japanese characters since it is able to use the correct charset -"shift-jis"; but the jsp file can not display Japanese characters correctly, it is ...