Try response.sendRedirect(String relativeURL);

JOSE ADRIANO BALTIERI wrote:
>
> Hello list !
>
>          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.
>
>          How do I do that from a servlet ?
>
>          TIA !
>
>                                 Obrigado/Thanks a lot,
>
>                                 Jose Adriano Baltieri
>                                 Analista de Sistemas
>                                 CPD - CENTRO
>                                 UNIMEP - Universidade Metodista de Piracicaba
>                                 PIRACICABA - SP - BRASIL
>                                 Fone : 055 0 XX 19 430-1858 (english spoken)
>                                 Fax  : 055 0 XX 19 430-1898 (cx postal 42778)
>
> ___________________________________________________________________________
> 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

--
Regards

Steve Bradshaw

Software Developer, Autonomy Systems Ltd.
St. John's Innovation Centre - Cowley Road - Cambridge - CB4 0WS -
UK
Web: http://www.autonomy.com/
Tel: +44 1223 422460
Fax: +44 1223 421583

The information contained in this message is for the intended addressee
only and may contain confidential and/or privileged information.  If you
are not the intended addressee, please delete this message and notify
the sender; do not copy or distribute this message or disclose its
contents to anyone.  Any views or opinions expressed in this message are
those of the author and do not necessarily represent those of Autonomy
Systems Limited or of any of its associated companies.  No reliance may
be placed on this message without written confirmation from an
authorised representative of the company

*** Have a taste of Autonomy's technology for free.
Download Kenjin at www.kenjin.com ***

___________________________________________________________________________
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

Reply via email to