tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: How to change the status code for a specific request ?
Date Thu, 08 Apr 2004 18:27:45 GMT

Do you know what an HTTP response code is?  Why do you want to change it from the server's

You can set the response code from a servlet/JSP using HttpServletResponse#setStatus, but
I get the feeling you don't know what you're doing in this area.  302 is a fine code, not
a problem.

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Farid C []
>Sent: Thursday, April 08, 2004 2:25 PM
>Subject: How to change the status code for a specific request ?
>Good Morning
>In the Tomcat log:
>I noticed the following line written when I tried to
>use to "export image" applet feature :
> - - [06/Apr/2004:13:50:38 +0100] "HEAD
>HTTP/1.1" 302 -
>Thank you for any ideas
>Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout !
>Créez votre Yahoo! Mail sur
>Dialoguez en direct avec vos amis grâce à Yahoo! Messenger !Téléchargez
>Yahoo! Messenger sur
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message