refactored SpotQueryForwardServlet