tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brad Taylor" <btay...@western-metal-supply.com>
Subject RE: How do I make my servlet the welcome page - resolved
Date Wed, 01 Sep 2004 20:05:49 GMT
After trying both suggestions (moving welcome file list to end of
web.xml and adding the 2.4 schema to the web tag), it still did not
work.  I tried changing the web.xml in the tomcat\conf directory, it
still did not work.  I removed index.html from my directory and it
started displaying the directory.  Finally I had the idea of creating an
empty file called mypage.do (same name as my welcome file) and things
started to work.  I then reset everything back to how it started,
welcome-file-list at top of web.xml & not 2.4 schema, and it still
works.  

So in a nutshell in order for welcome page mechanism to server up a
servlet, a file must exist in the directory, even thou it is never used.
I don't know enough about security to comment on Jonathans concern.

Thanx for y'alls help, I appreciate it.

Thanx 
brad


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


Mime
View raw message