Hey, Mike's suggestion is good. A purer approach is possible with tomcat 5, because the 2.4 servlet spec allows for a servlet to be mapped as a welcome-file.
Yoav Shapira On Wed, 3 Sep 2003, Mike Cherichetti (Renegade Internet) wrote: > I don't think this can be done with mappings. You can put an index.jsp file > with only a forward/redirect call in it to transfer control to your servlet. > I've done this before, seems to work quite well. > > Mike > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 03, 2003 8:55 PM > To: [EMAIL PROTECTED] > Subject: Servlet mappings? > > > I have a web app with multiple servlets. I would like one of those > servlets to handle all requests to http://mywebserver/. Basically I want > it to do the same thing as the welcome-file in the web.xml. How can I do > this? > > > Thank You, > > Justin A. Stanczak > Web Manager > Shake Learning Resource Center > Vincennes University > (812)888-5813 > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
