Hello.
I develop on Tomcat4.1.29.
I have some problems.
The requested URL contains multibytes string.
So I encode URL by this.
--------------------------------
String str = response.encodeRedirectUrl("/ServletTest/ServletTest1/" +
URLEncoder.encode(str, "UTF-8"));
<a href="<%= str %>"><%= str %></a>
--------------------------------
Under the condition of rejecting cookie,
URL is like
"/ServletTest/ServletTest1/%E3%81%82;jsessionid=50FBAE3645FA18D15CB898E04469
C2FF"
When I click this link,
request.getRequestedSessionId() returns "FBAE3645FA18D15CB898E04469C2FF"
So "50" is lost.
Also, When URL is like
"/ServletTest/ServletTest1/%E3%81%82%E3%81%82;jsessionid=50FBAE3645FA18D15CB
898E04469C2FF"
request.getRequestedSessionId() returns "AE3645FA18D15CB898E04469C2FF"
So "50FB" is lost.
Why does the value get truncated by 2 for each multibyte character?
Please help me.
I think this doesn't occur on Tomcat5.XX.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]