This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Internationalization problem about tomcat4.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Internationalization problem about tomcat4.0" Watch "Internationalization problem about tomcat4.0" New topic
Author

Internationalization problem about tomcat4.0

Sam Wang
Ranch Hand

Joined: Jul 17, 2001
Posts: 95
First I compile one jsp in jbuilder6(tomcat4.0),
everything is OK.
Second I change some words from English to Chinese,the compiler say:"xxx.jsp": Invocation Error.
Third I change the web server from tomcat4.0 to
tomcat3.2,everthing is also OK.
Please Tell me why & how.
Thanks for your reply.


SCJP(2001)
Sam Wang
Ranch Hand

Joined: Jul 17, 2001
Posts: 95
Another question:
If I take the String from HttpServletRequest's
parameter,must I do the things below:
String content = request.getParameter
("request");
content = new String(content.getBytes
("ISO8859_1"),"GBK");
//do other...
If I omit the second line,Some words like
Chinese would be viewed like "???";
Is there a easy way to code?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Internationalization problem about tomcat4.0
 
Similar Threads
Can not install Tomcat4.0 into Window 95?
Need Help starting Tomcat
Connection not working (Oracle and Sun one web server)
Latest version of servlet.jar
JSP scriptlet