public String getContextPath() { return resourceRequest.getContextPath(); }
public String getContextPath() { return resourceRequest.getContextPath(); }
private ResourceHttpServletRequest(ResourceRequest req) { if (req == null) throw new IllegalArgumentException("null"); _req = req; _hreq = getHttpServletRequest(req); String ctxpath = req.getContextPath(); if (ctxpath == null) ctxpath = ""; _attrs.put(Attributes.INCLUDE_CONTEXT_PATH, ctxpath); _attrs.put(Attributes.INCLUDE_SERVLET_PATH, ""); _attrs.put(Attributes.INCLUDE_PATH_INFO, ""); _attrs.put(Attributes.INCLUDE_QUERY_STRING, ""); _attrs.put(Attributes.INCLUDE_REQUEST_URI, ctxpath); }