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?