tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jonathan Eric Miller" <>
Subject Re: URL path naming question, recommended naming conventions?
Date Wed, 31 Dec 2003 21:20:49 GMT
OK, thanks. I got it to work using the servlet as the welcome file, but, now
I have the problem that I don't know how to protect the servlet when it's
accessed as the welcome file. I tried using a <url-pattern>/</url-pattern>
for a security constraint, but, that causes images and a CSS file that I'm
using on my login page to be inaccessible.


----- Original Message ----- 
From: "Shapira, Yoav" <>
To: "Tomcat Users List" <>
Sent: Wednesday, December 31, 2003 1:05 PM
Subject: RE: URL path naming question, recommended naming conventions?

> Howdy,
> With tomcat 5 you can use a servlet as an index page, i.e. a
> welcome-file in web.xml.  Don't use /servlet as part of the URL unless
> you have to, as that just gives hackers a clue.
> Yoav Shapira
> Millennium ChemInformatics

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

View raw message