I have created a servlet that can receive
parameters based on an exception and sc error code. This generates an XML String
with Xerces and loads the relevant XSL file (denoted in a properties file) to
produce an custom SC Error page.
Thing is, I want it to intercept when ever an error
occurs and collect the info and display the relevant error page.
I'm trying to avoid using JSP's and would like to
restrict it to servlets only.
Basic principle is:
example 404, 500, etc
request.getParameter("errormessage"); //the exception stack
//any extra text that may be
In the init() method I load the properties file
which lloks like:
#XSL file reference properties
#error XSL root
#error code refs
I'm using Tomcat 3.1 and don't require support for
any other servers at this point as I'm sure other servers supply their own
Proxima Technology Pty. Ltd.