tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 51773] New: lost parameter value
Date Tue, 06 Sep 2011 15:57:35 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=51773

             Bug #: 51773
           Summary: lost parameter value
           Product: Tomcat 6
           Version: 6.0.33
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: dev@tomcat.apache.org
        ReportedBy: ninesea@sina.com
    Classification: Unclassified


OS & tomcat 64bit
public class SetCharacterEncodingFilter implements Filter {

public void doFilter(ServletRequest request, ServletResponse response,
FilterChain chain){

    //fix bug
    //request.getParameterMap(); 

    request.setCharacterEncoding(encoding);

    //if param test is one character     
    //testValue is ""
    String testValue = request.getParameter("test"); 

    chain.doFilter(request, response);

}

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message