Arnaud D wrote:
> Good evening people,
> How can I redirect from servlet A to servlet B, but in servlet B I want the
> doPost() method to be called not the doGet.
> Unfortunatly the response.sendRedirect("/servlet/servletB"); will call the
> doGet method...
>
I also met the same "problem--but it seems not a problem" :-) from a email
in Servlet-List, I think we can only "override" "service" in servletB, and I
guess the reason is:
I guess [response.sendRedirect("/servlet/servletB");] means that
we want to let servletB to "only response" -- it is GET :-)
Good Afternoon :-)
Bo
Oct.24, 2000
___________________________________________________________________________
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