public class SSIServletRequestUtil
extends java.lang.Object
Constructor and Description |
---|
SSIServletRequestUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getRelativePath(HttpServletRequest request)
Return the relative path associated with this servlet.
|
static java.lang.String |
normalize(java.lang.String path)
Return a context-relative path, beginning with a "/", that represents
the canonical version of the specified path after ".." and "." elements
are resolved out.
|
public static java.lang.String getRelativePath(HttpServletRequest request)
request
- The servlet request we are processingpublic static java.lang.String normalize(java.lang.String path)
null
instead. This normalize should be
the same as DefaultServlet.normalize, which is almost the same ( see
source code below ) as RequestUtil.normalize. Do we need all this
duplication?path
- Path to be normalized