tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Markus Schönhaber <mailing-tomcat-u...@schoenhaber.de>
Subject Re: Tomcat, accents and form fields
Date Mon, 28 Aug 2006 18:40:39 GMT
Andrea Bondi wrote:
> The problem is that when I submit a form, accented letters I insert into
> text fields aren't managed well. For example, if I have a form field
> named "saySomething", if I write into the field "cioè" I receive "cioè"
> from ${param.saySomething}.

Make sure the browser submits the form data in the same encoding Tomcat 
expects it to be.
Look at the accept-charset attribute of the HTML <form>-element. And, if 
you're transmitting the form data via GET, look at the URIEncoding attribute 
of Tomcat's >Connector> element:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html#Common%20Attributes

Regards
  mks

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message