List of usage examples for javax.servlet ServletException printStackTrace
public void printStackTrace(PrintStream s)
From source file:org.blanco.gae.blog.BlogServlet.java
public void doGet(HttpServletRequest req, HttpServletResponse resp) throws IOException { try {//from w ww. java2 s. co m req.getRequestDispatcher("blog_form.jsp").forward(req, resp); } catch (ServletException e) { e.printStackTrace(resp.getWriter()); } }