Hai ! When we use only "/" for url-pattern then the servlet is supposed to be the default servlet. I have defined two servlets with url-pattern "/" but while deploying the web-app Tomcat( iam using v5.0) does not complain... is this behaviour left to the container ... ?? thanks ! Surya
It seems this works based on the container. While Tomcat does not report any error and works fine taking the last servlet-mapping for "/" into account, websphere test environment in WSAD does throw error.
Would you folks agree that the best thing to do is create a <welcome-file> element in your deployment descriptors and have some JSP document just forward to the actual servlet that you're interested in?