You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Brad Taylor <bt...@western-metal-supply.com> on 2004/09/01 22:05:49 UTC
RE: How do I make my servlet the welcome page - resolved
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