in your servlet use this code:
codeObj = request.getAttribute("javax.servlet.error.status_code");
| // 404 - file not found, 404 - authorization error etc.
| messageObj = request.getAttribute("javax.servlet.error.message");
| typeObj = request.getAttribute("javax.servlet.error.exception_type");
| errorException = (Throwable)
request.getAttribute("javax.servlet.error.exception");
| troubleURI = (String)
request.getAttribute("javax.servlet.error.request_uri");
For more info look here
http://servlets.com/soapbox/servlet23.html
This attributes are part of Servlet 2.3 API. It was really hard to find this
information, hope it helps someone.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890358#3890358
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890358
-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user