Tim,
Thanks for the info. The redirect that I'm trying to achieve is actually
internal to my site. So I started looking at
requestdispatcher.forward( ), but it appears to me that you have to simply
pass the same 'request' and 'response' variables into it. I need to be
able to clear the
Users List
Subject: Re: response.sendredirect failig from an included .jsp
Tim,
Thanks for the info. The redirect that I'm trying to achieve is
actually
internal to my site. So I started looking at
requestdispatcher.forward( ), but it appears to me that you have to
simply
pass the same 'request
The code 'response.sendRedirect( http://www.yahoo.com; )' fails when the
containing jsp is included from another jsp. Should this be failing?
What am I doing wrong? By 'failing', I mean that there is no exception
thrown, and no error message, but simply no redirect.
e.g. (the redirect
Yes it should be failing. You cannot set headers or issue redirects from an
include. (Its a rule in the spec)
-Tim
Jon Beyer wrote:
The code 'response.sendRedirect( http://www.yahoo.com; )' fails when
the containing jsp is included from another jsp. Should this be
failing? What am I doing