Hi.

I am about 99% sure of the following, but I would like to be 100% sure.

Referring to
HttpServletRequest.getParameter()
HttpServletRequest.getParameterValues()

If, inside a html page containing a tag such as

<meta content="text/html; charset=iso-8859-2" http-equiv="Content-Type">

there is a form section defined as follows :

<form name="form" method="post" enctype="multipart/form-data" action="(url of my webapp/servlet)"> <input name="param1" value="abc (+ some typical iso-latin-2 chars from the upper part of the table)">
...
</form>

then, if this form is submitted, within my servlet the line

String p1 = request.getParameter("param1");

would always return into p1, the proper internal Java Unicode string value of the input element "param1" of the form, properly decoded from it's original iso-8859-2 encoding.
Yes ?


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to