if you use something like <jsp:useBean ...> before the
<jsp:forward>, that's the problem !

----- Original Message -----
From: Varun <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 19, 2000 6:05 AM
Subject: problem with <jsp:forward>


> hi all!
>
> some of u replied to my problem (original mail below)
> that i should use
>
> <jsp:forward page="ITmenu.jsp" />
>
> only.
>
> I tried using that, but the problem still exists.
>
> Kuldip suggested that maybe there is some
> problem with my browser(IE 5.0) settings.
> Could u pls. suggest what settings do i need to change.
>
> Thnx
>
> Varun
>
>
>
> ----- 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_000
2ddesk.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(JspServ
let.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.jav
a, 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

Reply via email to