File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Internationalization problem about tomcat4.0" Watch "Internationalization problem about tomcat4.0" New topic

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.

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
content = new String(content.getBytes
//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:
subject: Internationalization problem about tomcat4.0
It's not a secret anymore!