DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30768>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=30768

Servlet Filter setCharacterEncoding not work and Enable JAAS mechanism

           Summary: Servlet Filter setCharacterEncoding not work and Enable
                    JAAS mechanism
           Product: Tomcat 4
           Version: 4.1.29
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Major
          Priority: Other
         Component: Connector:Webapp
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


in Filter change request.setCharacterEncoding("UTF-8");
when JAAS disabled.the Dobule Byte submit by jsp form which pageEncoding="UTF-8".
work well.

but when enable JAAS mechanism. all parameter by request all Encoding to
ISO-8859-1  String.
if we want to get a DoubleBytes parameter,only work well with follow:
String name=new
String(request.getParameter("myame").getBytes("ISO-8859-1"),"UTF-8");

so I think this a defect.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to