>>> JOSE ADRIANO BALTIERI <[EMAIL PROTECTED]> 09-May-00
11:56:37 AM >>>
>Hello list !
Hello Jose
> I'm migrating from CGI-WIN to Servlets and, don't know how to
issue
>a 302 Header. If I had to do it from my CGI, I would just put a 302
at the
>very beginning of the message.
You can use HttpServletResponse.sendRedirect(String location) to send
a redirect.
You can also use: HttpServletResponse.setStatus(302) but then you
have to specify the header's for location manually.
Nic Ferrier
PS: You can get all of that info from the JavaDoc - you should check
there first before asking here
___________________________________________________________________________
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