tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: JSP cannot work, Bug of NT(MS) or bug of JDK(SUN)?
Date Wed, 01 Mar 2000 22:04:49 GMT

Hi Sun,

 Are you using the page directive to set the contentType
in your JSP?

 Just try adding the following line:

<%@ page contentType="text/html;charset=ENCODING" %>

 Replace ENCODING with the character encoding you are
using. (For examples, for Japanese pages you would 
use "iso-2022-jsp").

 Let me know if this works.


Sun Yiyi wrote:
> Hi, All,
> In my JSPs, I used strings in which the characters' ascii value are > 127
> (high
> bit=1). This happens when I create pages in Chinese.
> Under English version of WinNT, JSP pages which have Chinese characters
> runs well.
> But under Chinese version of WinNT, Tomcat 3.0 cannot do it. It seems that
> the engine cannot translate the Chinese strings to unicode. So JSP won't
> run.
> How to solve this problem? Please advise..
> yysun
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

View raw message