tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lorenzo Jiménez <>
Subject RE: Redirect to https://
Date Thu, 14 Apr 2005 20:10:41 GMT
I have done that yesterday and it is pretty simple.

Just look this web.xml:

<?xml version="1.0" encoding="UTF-8"?>

<web-app xmlns=""
    <!-- Automatic redirection to SSL 
    Remember to have SSL active

            <web-resource-name>Automatic SLL Forwarding</web-resource-name>


-----Original Message-----
From: Darryl Wilburn [] 
Sent: Jueves, 14 de Abril de 2005 02:00 p.m.
Subject: Redirect to https://

Where would I configure a context to automatically
redirect to https?  So when a user types
http://host/application, it would automatically
redirect them to https://host/application where a
index.jsp may be a login form that I'd like to have
the username and password encrypted.  I assume it goes
in web.xml, but is it in the web.xml of the context
itself?  What is the format of the entry?

Thanks in advance.

Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!

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


Si usted no es el destinatario indicado en este mensaje o responsable como persona 
de la entrega del mensaje, no debe copiar o reenviar este mensaje, por favor notifique 
al correo Para más referencia sobre términos importantes 
relacionados a este correo visite

If you are not the addressee indicated in this message (or responsible for delivery of the

message to such person), you may not copy or send this message to anyone, please notify
to Click here for important additional terms relating to this e-mail.



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

View raw message