yep. use:
<%
if( condition )
{
%>
<jsp:include page="/path/page.jsp" />
<%
}
%>
If you want to forward to it. If you just want to redirect to it and don't
mind the round-robbin, do
<%
if( condition )
response.sendRedirect("/path/page.jsp");
%>
> -----Original Message-----
> From: A mailing list about Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Chris Newland
> Sent: Thursday, May 04, 2000 8:07 AM
> To: [EMAIL PROTECTED]
> Subject: JSP conditional redirection possible?
>
>
> Hi,
>
> Is it possible to make a JSP jump to another JSP if a
> certain condition (detected using embedded code) is
> met:
>
> <% if (condition == true) {
> load foo.jsp into browser
> }
> else {
> load bar.jsp into browser
> }%>
>
> Thanks,
>
> Chris
>
> ____________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
> or your free @yahoo.ie address at http://mail.yahoo.ie
>
> ==================================================================
> =========
> 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