But this is the same as using a <jsp:forward!

Check out the generated code to see this,

Kevin Jones
DevelopMentor
www.develop.com

> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Deepak Kumar
> Sent: 05 January 2001 07:14
> To: [EMAIL PROTECTED]
> Subject: Re: problem in forward tag
>
>
> Hi dear,
>
> the following code
>
>
> <%@ page language = "java" %>
> <%
> getServletContext().getRequestDispatcher("/servlet/dbservlet").for
> ward(request,
> response); %>
>
>
> and this will solve your prob.
>
> Regards Deepak
>
>
>
> --- Kevin Jones <[EMAIL PROTECTED]> wrote:
> > Paths in forward and include are relative to the
> > current application and
> > start with a '/' so the syntax is fine.
> >
> > Have you tried this with another web server (Tomcat
> > for example) I'm not
> > sure how well jwsdk1.0.1 copes with this,
> >
> > Kevin Jones
> > DevelopMentor
> > www.develop.com
> >
> > > -----Original Message-----
> > > From: A mailing list about Java Server Pages
> > specification and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > Manish Vohra
> > > Sent: 04 January 2001 06:14
> > > To: [EMAIL PROTECTED]
> > > Subject: Re: problem in forward tag
> > >
> > >
> > > hi
> > > u can't specify the relative path as u have done
> > here...
> > > specify the full url
> > > manish
> > >
> > > -----Original Message-----
> > > From: A mailing list about Java Server Pages
> > specification and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > prasanjeet
> > > Sent: Thursday, January 04, 2001 11:15 AM
> > > To: [EMAIL PROTECTED]
> > > Subject: problem in forward tag
> > >
> > >
> > > Hello everybody,
> > >           I have a strange problem the forward tag
> > command of JSP is not
> > > working .
> > >
> > > ex.
> > >         <html>
> > > <body>
> > > hello
> > >
> > > <jsp:forward page="/examples/jsp/dw/HOME.htm" />
> > >
> > > </body>
> > > </html>
> > >
> > > this is showing the 404 error , i have tried all
> > the possible
> > > combination of
> > > it URI though. I am using Jswdk 1.0.1.
> > >
> > > Thanks is advance
> > > regarsd
> > > Prasanjeet
> > >
> > >
> >
> ==================================================================
> > > =========
> > > 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
> > >
> > >
> >
> ==================================================================
> > > =========
> > > 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
> >
> >
> ==================================================================
> =========
> > 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
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Photos - Share your holiday photos online!
> http://photos.yahoo.com/
>
> ==================================================================
> =========
> 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

===========================================================================
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

Reply via email to