File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JSP Error page - getting page where error occured.
Joined: Aug 02, 2006
May 01, 2007 10:00:00
Hi, I have a Struts application. When an error occurs an error page is displayed and an email sent to the system admin. Is there a way to get the page or link where the error occured? I tried with the referrer but it's not always there. Thanks.
Author and ninkuma
Joined: Jan 10, 2002
May 01, 2007 10:06:00
Check out the
2.4 Specfication, section SRV.9.9.
If you haven't read the servlet specification from cover to cover, nows a good time to do so.
[ May 01, 2007: Message edited by: Bear Bibeault ]
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: JSP Error page - getting page where error occured.
JDBCExceptionReport and Hibernate
Defining ErrorDocument in Websphere 5.0.1
Question about composite primary key in JPA.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014