如果在使用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