`

servlet action threw exception org.apache.jasper.JasperException:

阅读更多
异常信息如下:

16:38:07,562 INFO  [STDOUT] 16:38:07,562 ERROR [[action]] Servlet.service() for
servlet action threw exception
org.apache.jasper.JasperException:
<h3>Validation error messages from TagLibrary Validator
     for fmt in /channel/channelTimesectColumnManage.jsp</h3>
<p>null: org.x ml.sax.SAXParseException: An invalid XML character (Unicode: 0x1b) was found in
the CDATA section.</p>

<h3>Validation error messages from TagLibraryValidator for
c in /channel/channelTimesectColumnManage.jsp</h3>
<p>null: org.xml.sax.SAXParse
Exception: An invalid XML character (Unicode: 0x1b) was found in the CDATA secti
on.</p>

看到此异常,我很自然地怀疑是 fmt 和 c 标签没有导入jsp页面,然后不是.
真正的原因是jsp页面不能有 " \$ " 这个符号,搜索后发现我的jsp页面果然有此符号,于是我把带有此符号的function写到一个单独的js文件,再讲js文件导入jsp,问题顺利解决!
分享到:
评论
1 楼 suifeng 2010-06-24  

今天也遇到此问题, 感谢楼主, 提供解决方法, 否则, 不知道查到猴年马月, 这错误太诡异了

相关推荐

Global site tag (gtag.js) - Google Analytics