hi
The jsp:forward action allows the request to be forwarded to another jsp, a
servlet, or a static resource
<jsp:forward page="url"/>
or
<jsp:forward page ="urlSpec">
<jsp:param name="paramname" value="paramvalue" />
......
.....
</jsp:forward>
this will suit ur requirement
surya
----- Original Message -----
From: Deepak C S <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 26, 2000 3:01 PM
Subject: How to exit from JSP page
> Hi,
>
> Can anybody tell "how to exit from a JSP page?
>
> I want to check for a condition at beginning of a JSP page and based
on
> result I want to skip processing rest of the JSP page....without using
> big<If-else block>
>
> I mean I need a Perl equivalent of "exit;" command in JSP.
>
> thanx in advance,
> Deeps
>
>
===========================================================================
> 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