Charles Chen wrote:
>
> Contact: Tel: 2726 - New Media Systems, 1st Floor South, Queens Walk
>
> I have a feeling (but I might be wrong) that the sendRedirect only works for
> POST method. For GET method, try to use RequestDispatcher instead.
You have it backwards: sendRedirect will work with GET. It won't do a
POST. To use sendRedirect you pass a url String to the sendRedirect
method; the browser makes a GET request for the url. To pass a POST
request to another url, you use the RequestDispatcher.
___________________________________________________________________________
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