use of org.apache.struts.upload.MultipartRequestWrapper in project xwiki-platform by xwiki.
the class XWikiServletRequest method getRequestURL.
// HttpServletRequest
@Override
public StringBuffer getRequestURL() {
HttpServletRequest request = getHttpServletRequest();
StringBuffer requestURL = request.getRequestURL();
if ((requestURL == null) && (request instanceof MultipartRequestWrapper)) {
requestURL = ((HttpServletRequest) ((MultipartRequestWrapper) request).getRequest()).getRequestURL();
}
return requestURL;
}
Aggregations