How can I map the root path of my web application (http:/myserver/myapp/) - and only the root path - to a specific servlet? If I use <url-pattern>/</url-pattern>, everything beginning with a / seems to be mapped.
Servlet Spec is 2.4, container is Tomcat 5.0/5.5. What would be the correct pattern?
Unfortunately this does not work either. My servlet receives all requests ending on .html, but not any "directory" URLs like "http://mydomain/myapp/directory/". These requests, are answered with an 404 error instead.
Why does the above not work?
subject: Servlets 2.4: Mapping the root path exclusively?