Is there a real equivalent to ASP's Response.Redirect in JSP?  I don't want
to <jsp: forward /> the request for various reasons (full URL, duplicate
includes, etc).  I just want to send a 302 down to the browser and be done
with it.

If there's no such beastie, how about some way to write the headers directly
to the client?  I can build the HTTP/1.1 response myself if necessary.

I can't imagine that kind of basic functionality isn't in JSP, but I haven't
been able to find anything like it searching the FAQs and what-have-you.  My
only other option seems to be generating a tiny page with a JavaScript that
contains a window.location assignment, but it's a little early in the
lifecycle to resort to that kind of cheese.

   Mike

===========================================================================
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

Reply via email to