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,问题顺利解决!

你可能感兴趣的:(apache,jsp,xml,servlet,idea)