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

2005-06-29 Thread Andy
Hi, Is there anyway to get Tomcat to convert a request such as myserver.com/directory into myserver.com/directory/index.htm. 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

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

2005-06-29 Thread Allistair Crossley
June 2005 14:18 To: tomcat-user@jakarta.apache.org Subject: Convert URL path from directory/ to directory/index.htm (Spring related) Hi, Is there anyway to get Tomcat to convert a request such as myserver.com/directory into myserver.com/directory/index.htm. The reason

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
the best, Allistair. -Original Message- From: Andy [mailto:[EMAIL PROTECTED] Sent: 29 June 2005 14:18 To: tomcat-user@jakarta.apache.org Subject: Convert URL path from directory/ to directory/index.htm (Spring related) Hi, Is there anyway to get Tomcat to convert a request