In the following JSP page, parameter value is a three Japanese character string:
--- aJsp.jsp ----------------------------
...
...
<%
String destination = "/aServlet";
%>
<jsp:forward page="<%= destination %>">
<jsp:param name="para" value="愛王よ" />
</jsp:forward>
...
------------------------------------------
--- aServlet.java ------------------------
...
public void doGet( ...... ){
...
...
String s = request.getParameter("para");
-------------------------------------------
In the above scenario, Tomcat(5.x) returns "???"(%3f%3f%3f) in String s,
whereas Resin(2.1.12) returns correct String. Tomcat behaves right only
when the parameter value is an English ASCII string.
What should I do for Tomcat to return correct Japanese string?
Init parameter javaEncoding does no effect.
TIA
--
Hiroshi Iwatani
*stop cruelty* Annual number of institutionally euthanized cats and dogs
including kittens and puppies: US 5 million, JP 500 thousand. How about your
country? *for our better karma*
---------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]