Hi All
Can anybody help me out of the JSP:FORWARD mess.......
I m catching the values entered thru frontend and based on the value
entered in Masters named textbox....yhe user is forwarded to different
Pages
but i m getting the following error ....
java.io.IOException: Error: Attempt to clear a buffer that's
already been flushed
at
com.sun.jsp.runtime.JspWriterImpl.clear(JspWriterImpl.java:115)
at
E_0003a.jswdk_0002d_00031_0005f_00030_0005f_00031.examples.Version.Version_0005ca
tmstr_0002ejspatmstr_jsp_1._jspService(Version_0005catmstr_0002ejspatmstr_jsp_1.java:120)
at com.sun.jsp.runtime.HttpJspBase.service(HttpJspBase.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:88)
at
com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java:218)
at com.sun.jsp.runtime.JspServlet.service(JspServlet.java:294)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:840)
at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java:155)
at com.sun.web.core.Context.handleRequest(Context.java:414)
at
com.sun.web.server.ConnectionHandler.run(ConnectionHandler.java:139)
Whats the ERRORRR please help me out of this messs
Thanks
R.Trehan
the code is as below....
<%try{
String m_name=request.getParameter("masters");
String to_date=request.getParameter("to_date");
String from_date=request.getParameter("from_date");
if(m_name.equalsIgnoreCase("aud_cmpny_mstr"))
{
%>
<jsp:forward page="testing111.jsp" />
<%
}
}catch(Exception e){e.printStackTrace();}
%>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets