You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Julien Martin <ju...@wanadoo.fr> on 2003/09/15 17:45:05 UTC

Thank you Tim (re pageContex.forward)

Thank you Tim,
Thanks very much for your help.  That sorted it.
Julien.

----- Original Message -----
From: "Tim Funk" <fu...@joedog.org>
To: "Tomcat Users List" <to...@jakarta.apache.org>
Sent: Monday, September 15, 2003 4:11 PM
Subject: Re: pageContext.forward ??


> 1) See the FAQ, there is a question dedicated to IllegalStateException
> 2) If you are doing a .forward() the rest of the JSP page SHOULD BE
IGNORED.
> Otherwise - you have a bad coding style. The stuff executing in your JSP
> after the forward is doine inside the custom tag is probably doing bad
things
> 3) Its not a redirect - your are doing a forward. The 2 words have very
> different meanings. forward() is an internal redirect. Redirect is
typically
> stated as an external browser redirect
> 4) See 2
>
> -Tim
>
> Julien Martin wrote:
>
> > Thanks for your reply Tim,
> >
> > 1. What do you mean by committing the response?  Can you give me more
> > details?
> > 2. I can't skip the page since my tag needs to be at the top of the jps
> > page.
> > 3. There is only one resource performing a redirect.
> > 4. I have included the whole tag class for your information.
> >
> > Julien.
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>