The SQLCommand servlet
public class SQLCommand extends HttpServlet {
public void doGet(HttpServletRequest req,
HttpServletResponse resp) throws . . . {
HttpSession session = req.getSession(true) ;
Connection conn = (Connection) session.getAttribute(“connection”) ;
. . . session probably timed out: call sendError() . . .
resp.setContentType(“text/html”) ;
PrintWriter out = resp.getWriter() ;
out.println(“<html><head></head><body>”) ;
out.println(“</body></html>”) ;