如果在使用Struts标签的时候,没有标签的结束标记,会发生异常。
例如,如果
<bean:write name="publicPageBean" property="currentPage"/>
写成了
<bean:write name="publicPageBean" property="currentPage">
则发生异常如下所示:
org.apache.jasper.JasperException: /middle.jsp(45,37) According to TLD, tag bean:write must be empty, but is not
本文详细解析了在使用Struts标签时遇到标签结束标记缺失导致的异常问题,通过具体示例展示了错误代码及对应的异常信息,并提供了解决方案。

2794

被折叠的 条评论
为什么被折叠?



