En réponse à Robert Berry <[EMAIL PROTECTED]>:

> Hi,
>
> Is it possible to redirect a web browser using a servlet.

I think you should try to use either the sendRedirect method of the
HttpServletResponse interface or the setStatus + setHeader methods of the same
interface with the right parameters (setStatus
(HttpServletResponse.SC_MOVED_TEMPORARILY) and setHeader
("Location" "http://yourdomain.com/someRessource") for example).

You can find more details about this at
http://java.sun.com/j2ee/j2sdkee/techdocs/api/index.html
.

Julien Gilli.

___________________________________________________________________________
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