Got querying to work but need to get info into the servlet