prasanjeet wrote:
>
> 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.
Assuming that this is in a page that's part of a context with the
context path "/examples", you need to use a context-relative path
instead ("/jsp/dw/HOME.htm") or a page-relative path (one that
doesn't start with a slash, e.g. "HOME.htm" if the file is located
in the same directory as the JSP page doing the forward).
Hans
--
Hans Bergsten [EMAIL PROTECTED]
Gefion Software http://www.gefionsoftware.com
Author of JavaServer Pages (O'Reilly), http://TheJSPBook.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