tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Login config
Date Fri, 05 Dec 2008 16:10:32 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Christophe,

FARNIER Christophe wrote:
> Yes it's a problem for the links in my login page. I explain this in 
> my previous mail [below:]

> 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.

You should always be using request.getContextPath() when building URLs
in webapps.

I'm still not sure what your complaint is: is the user being sent to the
wrong URL or are you just objecting to the URL that is showing in the
browser's address bar?

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkk5UngACgkQ9CaO5/Lv0PANZgCgkixHrqRSXy8AYrz8Xo3khy0B
VAAAn3qkwm6BKHcMUux4PrnR9/TooR4H
=rZfm
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message