Check the Syntax of the
<jsp:forward page = "ITMenu.jsp" />
Have a nice day.
With regards,
Sachin S. Khanna.
www.emailanorder.com
----- Original Message -----
From: Varun <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 18, 2000 2:13 PM
Subject: (no subject)
> hi all!
>
> i'm having this peculiar problem....
>
> if i use
>
> <jsp:forward page="ITmenu.jsp" />
> </jsp:forward>
>
> then i get an 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
C_0003a.varun.jswdk_0002d_00031_0005f_00030_0005f_00031.help_0002ddesk.jsp.p
roject_00032.jsp_0005cproject_00032_0005clogin_0002ejsplogin_jsp_12._jspServ
ice(jsp_0005cproject_00032_0005clogin_0002ejsplogin_jsp_12.java, Compiled
Code)
> at com.sun.jsp.runtime.HttpJspBase.service(HttpJspBase.java,
Compiled Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java,
Compiled Code)
> at
com.sun.jsp.runtime.JspServlet$JspServletWrapper.service(JspServlet.java,
Compiled Code)
> at com.sun.jsp.runtime.JspServlet.serviceJspFile(JspServlet.java,
Compiled Code)
> at com.sun.jsp.runtime.JspServlet.service(JspServlet.java,
Compiled Code)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java,
Compiled Code)
> at
com.sun.web.core.ServletWrapper.handleRequest(ServletWrapper.java, Compiled
Code)
> at com.sun.web.core.Context.handleRequest(Context.java, Compiled
Code)
> at com.sun.web.server.ConnectionHandler.run(ConnectionHandler
>
>
>
> If i use
> response.sendRedirect("ITmenu.jsp").....
>
> suppose i have a file A.jsp having code like this...
>
>
> if(request.getParameter("submit")!=null)
> {
>
>
> if(request.getParameter("type").equals("IT"))
> {
> response.sendRedirect("ITmenu.jsp");
> }
>
> }
>
> When i click the Submit button, the file A.jsp is displayed
> and below it I get a message
> DOCUMENT MOVED HERE
>
> HERE is a hyperlink which takes me to the
> file ITmenu.jsp
>
> Nowhere have I done any coding like this!
>
> Any help will be much appreciated
>
> I'm using JSWDK-1.0.1 on Windows NT m/c
>
> Thnx
>
> Varun
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> 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
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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