As per the specification:
Context Path: The path prefix associated with the ServletContext that this servlet is a part of. If this context is the “default” context rooted at the base of the web server’s
URL namespace, this path will be an empty string. Otherwise, this path starts with a’/’
character but does not end with a’/’ character.
Servlet Path: The path section that directly corresponds to the mapping which activated
this request. This path starts with a’/’ character.
I am not getting a clear picture of this info.
What is the difference ?