tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Kolinko <knst.koli...@gmail.com>
Subject Re: Encoding Issue on POST
Date Sat, 01 Jan 2011 23:54:29 GMT
2011/1/2  <vwu98034@lycos.com>:
> 2011/1/1  <vwu98034@lycos.com>:
>> * <%@page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8"%> on the
first line of JSP files
>> * <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
>
> I'd recommend
> <meta http-equiv="Content-Type" content="<%=response.getContentType()%>">
> to make sure that the HTTP Content-Type header and <META> tag contents
> were in sync.
>
©©©©©©©©©©©©©©
> Do I need to ensure the encoding to be utf-8 in all situation? If so, what is the advantage
of your approach?
> ©©©©©©©©©©©©©©

It just guarantees that both values match with each other (and thus
the browser is not confused and won't start to guess). Nothing more.


> ©©©©©©©©©©©©©©
> Does the url pattern cover all URLs?
>

Read the Servlet Specification.


>
> How is your <FORM> element written on the web page?
©©©©©©©©©©©©©©
> It is a regular form, not for file uploading.
> ©©©©©©©©©©©©©©
>

OK

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


Mime
View raw message