You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Courtney, James" <ja...@appiant.com> on 2001/06/29 23:59:32 UTC
servlet as welcome page/directory index
Is it possible to set a servlet as the welcome page in tomcat or tomcat +
apache?
For example a request to http://myserver/ gets redirected to
http://myserver/myservlet instead of http://myserver/index.html or something
like that. I've tried setting the welcome-file attribute in the web.xml and
the DirectoryIndex in httpd.conf and neither seem to do the trick. Is there
some restriction on setting a servlet or some other non-physical document as
the welcome/directory index?
Many thanks,
-Jamey