tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andy" <>
Subject Convert URL path from directory/ to directory/index.htm (Spring related)
Date Wed, 29 Jun 2005 13:18:12 GMT


Is there anyway to get Tomcat to convert a request such as into

The reason for this is that in Spring you have to specify a
wild card to match against the URL path in order to invoke
the DispatcherServlet, if this wild card is *.htm then a
requested without index.htm in it results in a 404 from Tomcat.

     - gives a 404 response
     - invokes Spring to deal with the request

Perhaps this is an issue I can solve within Spring but
thought I'd try the Tomcat angle first.

This is what I have in my web.xml for Spring -






To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message