RE: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread Allistair Crossley
Hi, You'd normally attempt to do this with URL rewriting at the web server side. I read that tomcat does not really offer URL rewriting at this time if used as a web server, I could be wrong. For what it's worth, we place index.jsp documents in folders that the user may request that do a

Re: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread Tim Diggins
Hi Andy - Control of what to handle in tomcat and how to forward is fairly limited. (someone posted the relevant parts of the servlet spec) What I do is have tomcat forward all requests to spring, except for ones I really want tomcat's default servlet to handle (static stuff like images,

Re: Convert URL path from directory/ to directory/index.htm (Spring related)

2005-06-29 Thread David Smith
This is also done in Tomcat via welcome-file element in web.xml. Ex.: welcome-file-list welcome-fileindex.htm /welcome-file /welcome-file-list In servlet spec 2.4 (Tomcat 5.0,5.5), this can map to either a physical file or a servlet mapped to that URL. I think in earlier servlet specs, it had