tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yoav Shapira <yo...@apache.org>
Subject RE: Servlet mappings?
Date Thu, 04 Sep 2003 11:50:04 GMT
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: JStanczak@vinu.edu [mailto:JStanczak@vinu.edu]
> Sent: Wednesday, September 03, 2003 8:55 PM
> To: tomcat-user@jakarta.apache.org
> 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: tomcat-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>
>

Mime
View raw message