using only the query string instead of the whole HttpServletRequest