http:// Company / Shopping / LoginServlet
Usually use such a path to access a servlet in the Webroot / Company / Shopping / Web-INF / CLASS directory
http:// Company / Shopping / Servlet / Login
By default, servlet's URL is set under a servlet.
servlet-maping>
http://company/shopping/servlet/com.ecommerce.test.loginservlet
Servlet In a package, add the packet path in the access path.
http:// Company / Shopping / Servlet / Login
In the configuration descriptor (for example, web.xml), configure the servlet name
servlet>
http:// Company / Shopping / Login
I don't want to have a servlet in the URL of Login.
servlet-maping>
http:// Company / Shopping / Test / New / Login
I want to display / show in the URL of Login / Test / New /
servlet-maping>
Http:// Company / Shopping / Test / New / Everything
Let http:// company / shopping / test / new / offset from Login
servlet-maping>