// Webroot relative URL of page we are generating. // Use in code implementing a taglib in TagSupport.doStartTag() final String wrURL =((HttpServletRequest) pageContext.getRequest()).getRequestURI();