tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Courtney, James" <>
Subject servlet as welcome page/directory index
Date Fri, 29 Jun 2001 21:59:32 GMT
Is it possible to set a servlet as the welcome page in tomcat or tomcat +

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,

View raw message