cancel
Showing results for 
Search instead for 
Did you mean: 

cann't compile jsp with jstl contain chinese

Former Member
0 Kudos

I deploy a web application with the jsp using struct & JSTL. and I found that it cann't compile page contain the chinese character(the page without chinese character or jstl is working well). The following is the error message:

#1.5#0014384B7FE0004300000019000011CC00040B4F66818D2A#1138

335556919#/System/Server#sap.com/myGoldenbearEAR#com.sap.e

ngine.services.servlets_jsp.server.jsp.JSPParser#Guest#2##

##148ef4708eec11daa87d0014384b7fe0#SAPEngine_Application_T

hread[impl:3]

21##0#0#Error#1#com.sap.engine.services.servletsjsp.serv

er.jsp.JSPParser#Plain###Runtime error in compiling of

the JSP file

<C:/usr/sap/J2E/JC00/j2ee/cluster/server0/apps/sap.com/myG

oldenbearEAR/servlet_jsp/goldenbear/root/template.jsp> !

The error is: TagLibValidator returns error(s) for taglib

( http://java.sun.com/jstl/core 😞

com.sap.engine.lib.xml.parser.NestedSAXParserException:

Fatal Error:

com.sap.engine.lib.xml.parser.ParserException:

Unsupported character: b4(:main:, row:69, col:3)(:main:,

row=69, col=3) ->

com.sap.engine.lib.xml.parser.ParserException:

Unsupported character: b4(:main:, row:69, col:3)

.#

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Xuexun he,

When you are using the chinese charecter in the jsp you need to use the charset attribute. You need to use "big5" in the charset attribute.

For eg. Check this link...

http://mail-archives.apache.org/mod_mbox/tomcat-dev/200002.mbox/%3C20000226001701.34297.qmail@locus....

About Big5.

http://www.fileformat.info/info/charset/Big5/index.htm

Hope it helps.

Reward points for useful answers.

Regards,

Maheswaran.B