Hi Randy,
Thanks for the quick response. I tried using
response.setContentType()
method but it works the same way as <%@ page %> tag and tried to convert the
page content to UTF. since the content is already in UTF it gets messed up.
Is there a way we can set the default encoding header sent by the server to
the browser to utf-8?
Thanks
Gulshan
----- Original Message -----
From: "randy melder" <[EMAIL PROTECTED]>
To: "'Tomcat Users List'" <[EMAIL PROTECTED]>
Sent: Monday, April 08, 2002 5:15 PM
Subject: RE: Content-Encoding - URGENT Please
> Look at the servlet API. There is a set content type function. I'm
> sorry, I don't have it in front of me. But the answer is using a Servlet
> API function.
>
> Good Luck,
>
> .randy
>
> /***************************************************
> * Cheery Lynn Interactive, LLC
> * http://www.cheerylynn.com/
> * tel://602 279 0135
> * --------------------Web Applications----------
> ***************************************************/
>
>
>
> -----Original Message-----
> From: Mohammed Ibrahim [mailto:[EMAIL PROTECTED]]
> Sent: Monday, April 08, 2002 4:53 PM
> To: [EMAIL PROTECTED]
> Subject: Content-Encoding - URGENT Please
>
> Hi,
> I am having trouble setting the page content type and encoding on my
> JSP pages. The content on the JSP page is already in UTF-8 format and so
> we cannot use <%@ page %> tag to set content type and have to use HTML
> META TAG to set these headers. But tomcat alwasys sets the page encoding
> to western european ISO and browser is ignoring the META tag. The sam
> page works fine with Weblogic. Please help me resolve this problem.
>
> Thanks
> Gulshan
>
>
>
> --
> To unsubscribe: <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe: <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>