2011/11/5 Kiran Badi <[email protected]>:
> <%@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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to