This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
And the code For TestDEIncludeCharset.jsp is as below. <%@ page language = "java" contentType="text/html;charset=Shift_JIS" %> <% request.setCharacterEncoding("Shift_JIS");
Now it works Well with Weblogic but in Tomcat japanese text is not displaying properly on the browser. Now if i copy the 2 lines of code in TestDEIncludeCharset.jsp and paste it in place of the include it works in Tomacat. but i dont want to do this .
can somebody tell me why this is happening in Tomacat. and can somebody give me a wrk around for this