Java Servlet Programming Question:

Given the request path below, which are context path, servlet path and path info?

Java Servlet Programming Interview Question
Java Servlet Programming Interview Question

Answer:

/bookstore/education/index.html

context path: /bookstore
servlet path: /education
path info: /index.html


Previous QuestionNext Question
If a servlet is not properly initialized, what exception may be thrown?What is filter? Can filter be used as request or response?