I have this in the web.xml of my application:
<servlet-mapping>
<servlet-name>
MyServlet
</servlet-name>
<url-pattern>
/
</url-pattern>
</servlet-mapping>
Which works fine, except for requests without pathinfo (i.e.
http://servername/ ). That still seems to be handled by the default
tomcat servlet, which is serving up the index.jsp that I no longer want
to use. Am I doing something wrong or is this a bug?
Incidentally I discovered you can't <welcome-file-list> by having an
empty element, you have to have at least one <welcome-file> in there or
the default servlet will use the one in $CATALINA_BASE/conf/web.xml .
Bug or feature?
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]