This week's book giveaway is in the OCMJEA forum. We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line! See this thread for details.
In case of web server,to run a servlet on browser we have to specify as /myPackage/servlet/MyServlet in <url-pattern> But how come in application server i can access the servet just as /myPackage/MyServlet. I mean why we have to tell the web container explicitly the servlet???And why it is not needed in case of Application server which contain web container?