public class ServletUtil extends Object
Constructor and Description |
---|
ServletUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
getApplicationRequestedPath(HttpServletRequest request)
Returns the requested path, relative to the web application root.
|
static String |
getQueryStringParameter(HttpServletRequest request,
String parameterName)
Tries to read a request parameter from its
query string . |
public static String getApplicationRequestedPath(HttpServletRequest request)
request
- the http servlet request.public static String getQueryStringParameter(HttpServletRequest request, String parameterName)
query string
.
If the parameter has multiple values, any of them may be returned.request
- the request.parameterName
- the parameter name.null
if it was not found.Lumisportal 9.0.0.160603 - Copyright © 2006–2016 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.