String sql = "select * from athlete";
try{
Result jspResult = select(sql);
HttpSession session = request.getSession();
session.setAttribute("javax.servlet.jsp.jstl.sql.Result",jspResult);
RequestDispatcher dispatcher = request.getRequestDispatcher("/useResult.jsp");
dispatcher.forward(request,response);
} catch (SQLException sqle){ throw new ServletException(sqle.getMessage());}