Hi all, I'm not sure if this falls more into JSP or servlet territory.
I have a JSP that includes a servlet via: <jsp:include page="MyServlet"/> Within the servlet I detect a severe error (in a business rule) and I want to generate an HTTP 500 error like this: response.sendError(HttpServletResponse.SC_INTERNAL_SERVER_ERROR); Even though my servlet calls "sendError()" as shown above, control still returns to the JSP that included the servlet which goes on its merry way, oblivious to the error in the servlet. This is wrong. I want the JSP to abort processing. Any ideas on the correct way to do this? Thanks. =========================================================================== To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST". For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST". Some relevant FAQs on JSP/Servlets can be found at: http://archives.java.sun.com/jsp-interest.html http://java.sun.com/products/jsp/faq.html http://www.esperanto.org.nz/jsp/jspfaq.jsp http://www.jguru.com/faq/index.jsp http://www.jspinsider.com