Package org.apache.catalina.ssi
Class SSIServletRequestUtil
java.lang.Object
org.apache.catalina.ssi.SSIServletRequestUtil
Utility methods for SSI servlet request handling.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetRelativePath(HttpServletRequest request) Return the relative path associated with this request.
-
Method Details
-
getRelativePath
Return the relative path associated with this request. If the request was dispatched viaRequestDispatcher.include(javax.servlet.ServletRequest, javax.servlet.ServletResponse), the path is taken from the include attributes. Otherwise it is taken from the path info, falling back to the servlet path. Anullor empty path results in/.- Parameters:
request- The servlet request we are processing- Returns:
- the relative path
-