What about a return sentence?.
the code betwen <% and %> is compiled into a servlet method, so if you
put a return sentence, the method ends.
bye
----- Mensaje Original -----
De: Deepak C S <[EMAIL PROTECTED]>
Fecha: Martes, Diciembre 26, 2000 10:31 am
Asunto: 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
>
________________________________________________________________
Aprovechamos este mensaje para desearte una FELIZ NAVIDAD.
Entra en http://www.navidad.navegalia.com/ y descubre las sorpresas que
Navegalia tiene para esta Navidad.
===========================================================================
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