• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Internationalization problem about tomcat4.0

 
Sam Wang
Ranch Hand
Posts: 95
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 95
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic