jsp:forward error! this is tricky!!!
Hi all,
We have a erpporeport.jsp page which is a menu page, containing
<li><a href = "erppoinitiatedreport.jsp">Initiated</a></li>
The erppoinitiatedreport.jsp page is blank and has the following:
<jsp:forward page = "erpporeportcontroller.jsp" >
<jsp:param name = "Action" value = "Initiated" />
</jsp:forward>
The erpporeportcontroller.jsp has the following:
<%
sAction = request.getParameter("Action");
if( sAction.equals("Initiated")) {
sURL = "erppoinitiatedreportpf.jsp"
}
%>
<jsp:forward page = "<%=URL%>" />
When we click the link on erpporeport.jsp, we get the following error:
java.io.IOException:Error: Attempt to clear a buffer that's already been
flushed
However, if we change erpporeport.jsp menu page to:
<li><a href = "erppoinitiatedreportpf.jsp">Initiated</a></li>
erppoinitiatedreportpf.jsp shows its contents correctly.
It appears that forwarding from erppoinitiatedreport.jsp to
erpporeportcontroller.jsp and then to erppoinitiatedreportpf.jsp brings the
error:
Any ideas why?
Thanks in advance

