J2EE Tutorial中Duke Bank在JBoss中accountList.jsp页面出错的解决

在NetBeans中启动Duke Bank应用。
点击 Transfer Funds、ATM等页面都能正常显示。
只有accountList页面,会报错,提示说:

Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: <h3>Validation error messages from TagLibraryValidator for c in /accountList.jsp</h3>

null: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1b) was found in the CDATA section.

<h3>Validation error messages from TagLibraryValidator for fmt in /accountList.jsp</h3>

null: org.xml.sax.SAXParseException: An invalid XML character (Unicode: 0x1b) was found in the CDATA section.

解决方法也很简单,去掉accountList.jsp页面中的 \$ 这两个字符就可以了。

你可能感兴趣的:(J2EE Tutorial中Duke Bank在JBoss中accountList.jsp页面出错的解决)