Package org.apache.catalina.ssi
Class SSIServletRequestUtil
- java.lang.Object
-
- org.apache.catalina.ssi.SSIServletRequestUtil
-
public class SSIServletRequestUtil extends java.lang.ObjectUtility methods for SSI servlet request handling.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.StringgetRelativePath(HttpServletRequest request)Return the relative path associated with this request.
-
-
-
Method Detail
-
getRelativePath
public static java.lang.String getRelativePath(HttpServletRequest request)
Return the relative path associated with this request. If the request was dispatched viaRequestDispatcher.include(jakarta.servlet.ServletRequest, jakarta.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
-
-