Global Forward定义如下:
<forward name="secondAuditForCommonService" path="/enroll/prtvu/commonServiceAction.do" />
在jsp中如下:判断当某对象不存在,则转向请求:
<logic:notPresent name="_enroll_prtvu_commonData">
<logic:forward name="secondAuditForCommonService"/>
</logic:notPresent>
同样这代码在某些jsp中行,而在一个jsp中出现错误如下:
--------------------------------------------------------
org.apache.jasper.JasperException: Exception forwarding for name secondAuditForCommonService: java.lang.IllegalStateException: Error: Attempt to clear a buffer that's already been flushed
----------------------------------------------------------
------解决方法--------------------------------------------------------
你是不是在页面中调用了response对象的方法