Thanks Konstantin,

I will make the changes.Now I understand somewhat as why for some of the files were complaining of mismatch encoding.

On 11/6/2011 5:32 AM, Konstantin Kolinko wrote:
2011/11/5 Kiran Badi<ki...@poonam.org>:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
The above contentType value does not include charset argument.
Thus the actual content type in HTTP response will be "text/html;
charset=ISO-8859-1",  which does not match with your HTML<meta>  tag
below.

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
I'd recommend to use
<meta http-equiv="Content-Type" content="<%=response.getContentType()%>">
so that Content-Type HTTP header and the above<META>  tag always have
the same value.

Best regards,
Konstantin Kolinko

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




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

Reply via email to