Khurram Mahmood wrote:

> For some reason jsp forward tag never works. Instead of compiling the target
> jsp page into servlet and then executing it, it just shows the jsp code on
> the html page as text.
>
> KM
>

What version of JSP does your environment support?  <jsp:forward> was added in
version 1.0 -- if you are on a version 0.91 or 0.92 system, you won't be able
to use this.

Craig

>
>
> -----Original Message-----
> From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 02, 1999 12:19 PM
> To: [EMAIL PROTECTED]
> Subject: Re: AW: Redirection to another page
>
> "Bernard, Frank" wrote:
>
> > > Is it possible to write JSP code to redirect the browser to open a new
> > > page,
> > > say, page B from JSP code in page A?
> > >
> >         use:    response.sendRedirect ( target_URL );
> >
>
> You can also do this on the server side (without a second round trip back to
> the
> client) with
>
>     <jsp:forward page="/targetpage.jsp" />
>
> Craig McClanahan
>
> ===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> FAQs on JSP can be found at:
>  http://java.sun.com/products/jsp/faq.html
>  http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to