Hey everyone,
I've done my research, and I've come up with the following conclusion
(I'm hoping someone will tell me that I'm wrong!). It is not possible to
redirect to an external page using a POST request. Here's what makes me say
this. The HttpServletResponse.sendRedirect() method can only sent via a GET
request, and can only use URL-encoded parameters. If the resource your
sending the request to expects POST parameters, then this is no good. The
only other way is to use a RequestDispatcher, but this also *might* not be a
POST request, and cannot be used for external resources, depending on its
implimentation.
Any ideas? Given the HTTP protocol, is it even possible to make a browser
do this?
Much thanks in advance,
Roy Truelove
pulver.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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