// This example is not in the book; it's here to trigger ErrorDisplay import java.io.*; import javax.servlet.*; import javax.servlet.http.*; public class ErrorTrigger extends HttpServlet { public void doGet(HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { res.sendError(400, "This should trigger ErrorDisplay"); } }