tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn <>
Subject ENCTYPE + SetCharacterEncodingFilter = no go joe for Tomcat 5.0.28
Date Tue, 26 Oct 2004 06:01:16 GMT

When using ENCTYPE="multipart/form-data" in a form on a jsp page, text
sent ignores the SetCharacterEncodingFilter which is calling

I thought about getting parameter values by using 

String field = request.getParameter("whatever");
                field=new String(field.getBytes

Does this seem a reasonable approach or is should the
SetCharacterEncodingFilter *really* be setting the charEncoding?

I don't want to be creating a new string for every parameter unless

When ENCTYPE is not set, all works as expected.

This problem is seen on Tomcat 5.0.28, but not 4.x versions.  I
understand something changed around 5.0.27 for UTF-8 handeling but am
not sure if that is realated. 

Shawn <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message