About Sunil Gulabani
1) Is it the “servlets” directory or the “servlet” directory?
Answer:
For Java Web Server:
- on the file system, it’s “servlets”
c:\JavaWebServer1.1\servlets\DateServlet.class
- in a URL path, it’s “servlet”: http://www.stinky.com/servlet/DateServlet
2) How do I support both GET and POST protocol from the same Servlet?
Answer:
Source : http://www.javacodegeeks.com/2013/09/top-100-java-servlet-questions.html