/** * Returns the query-string for the current page, i.e. this will return the * url of the include page, not the original request. */ public static string getPageQueryString(QuercusHttpServletRequest request) { string uri = request.getIncludeRequestUri(); if (uri != null) { return(request.getIncludeQueryString()); } else { /* * // php/0829 * uri = (String) request.getAttribute(FWD_REQUEST_URI); * * if (uri != null) * return (String) request.getAttribute(FWD_QUERY_STRING); * else * return request.getQueryString(); */ return(request.getQueryString()); } }