1. requestURI = contextPath + servletPath + pathInfo
Ex1:/catalog/garden/implements/
- ContextPath(webapp): /catalog
- ServletPath(servlet mapping): /garden
- PathInfo(extra path): /implements/
Ex2: /catalog/help/feedback.jsp and
servlet mapping: Pattern: *.jsp
- ContextPath: /catalog
- ServletPath: /help/feedback.jsp
- PathInfo: null
No comments:
Post a Comment