The following syntax can help u solve your problem.

Use this in your current JSP page (say one.jsp), in the current folder (say
JSPEX1), for forwarding to the other folder (say JSPEX2.). This syntax works
provided both the folders are in the same parent dir.
<%@ forward file="../JSPEX2/another.jsp" %>

Regards
sunil roy



----- Original Message -----
From: "Priya Pinto" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 13, 2000 5:02 PM
Subject: jsp:forward query


> Hi,
>
> I've been working with jsp:forward and it seems just great but I find that
I can only forward to a file in the same folder/directory! Is there any way
to overcome this as I need to be able to forward to a file in another
directory. Or is the jsp:include a better option? Also I need to forward to
another jsp file only!
>
> Thanks
> Priya
>
> _________________________________________________
> Get Your Free Email At, http://www.rediffmail.com
>
> For fabulous shopping deals visit:
http://www.rediff.co.in/shopping/index.html
>
>
===========================================================================
> 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