I\'d like to have Tomcat automatically add a trailing slash to my app\'s context if the url is entered without it.
When I test with Jetty, it automatically adds the
Tomcat adds a trailing slash automatically. Just test it with the example application supplied with Tomcat..
If - due to some special configuration - it does not, I'd write a Filter that examines the query string and redirects as needed by the application. Many times this is needed anyways (doing http->https redirections, etc.)