Parsing form in results.jsp