Clarify here that in decomposing a URL intothat in deciding what to take for the contextPath and servletPath, the longest matching context root should win.requestURI = contextPath + servletPath + pathInfo
Replace 'Pattern: /lawn' with 'Pattern: /lawn/*' Replace 'Pattern: /garden' with 'Pattern: /garden/*'
Clarification that on forward() and include() the query string is aggregated. If ServletA forwards to ServletB, for example, the ServletB can obtain through the getParameterXXX() API the request parameters that were originally passed to servletA.
"The web client obtains the username and the password from the user an transmits them to the web server."'an' should be 'and'
javax.servlet.error.status_code javax.servlet.error.exception_type javax.servlet.error.messageto be Integer, Class and String respectively.
Returns the part of this request's URL after theportion up to the query string in the first line of the HTTP request, inclusive of the leading '/'. For example: First line of HTTP request Returned Value POST /some/path.html HTTP/1.1 /some/path.html GET http://foo.bar/a.html HTTP/1.0 /a.html HEAD /xyz?a=b HTTP/1.1 /xyz
Deprecated. As of Version 2.2, this method is replaced byremoveAttribute(java.lang.String name) Parameters: name - the name of the object to remove from this session Throws: IllegalStateException - if this method is called on an invalidated session