Yes, I know that. But in Tomcat 4, the address in browser when I try to display 
a restricted application is redirect for example to 
http://localhost:8080/welcome/login.jsp and after the correct login, the 
address is if the application is in restricted : 
http://localhost:8080/welcome/restricted/index.jsp. But in Tomcat 5.5, the 
address for the login is http://localhost:8080/welcome/restricted except that 
the login.jsp is not in restricted, it is in welcome. It makes problems for 
link in my login page. For the moment I just change the links by introducing 
request.getContextPath() in front of them, but i found how configure Tomcat 5.5 
as Tomcat 4 to resolve this problem.

Christophe
 


-----Message d'origine-----
De : Kees de Kooter [mailto:[EMAIL PROTECTED] 
Envoyé : jeudi 4 décembre 2008 21:33
À : Tomcat Users List
Objet : Re: Login config

> I installed a tomcat 5.5.27 with an application and I configure the 
> web.xml of the application by introducing a security constraint and a 
> login config with a form. My login page is not in the security 
> directory. So when I launch Tomcat and I access to my application  
> with restriction, the login page is displaying but the URL address is 
> not my login page, it is the security directory.
>

As far as I know this is the standard behaviour. After a succesful login the 
secured page is displayed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to