a sendRedirect() actually means the servlet sends a 302 response to the
browser, along with the specified URL. browser then does a GET from that
URL. as far as i know, there is no way to do a POST using
sendRedirect().
can you give more detail on what you're actually trying to do? by "next
site" i assume it's an external site. does the next site require a
POST or can you just make do with just using get and having the fields
in the querystring?
Vincent Stoessel wrote:
>
> Hi,
>
> I'm writing a simple redirector servlet
> for a part of my site. it seems that
> sendRedirect in javax.servlet.http.HttpServletResponse
> will change a POST method into a get as it redirects.
> Any work arounds for this? I need the post info to continue
> to the next site. Thanks.
>
> --
> Vincent Stoessel [EMAIL PROTECTED]
> Internet Applications Engineer
> IDEV http://www.idev.com
> V: 301 495 7345 x129
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html