aspose file tools*
The moose likes JSP and the fly likes JSP Error page - getting page where error occured. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "JSP Error page - getting page where error occured." Watch "JSP Error page - getting page where error occured." New topic
Author

JSP Error page - getting page where error occured.

Angelo Bonaparte
Greenhorn

Joined: Aug 02, 2006
Posts: 19
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.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61433
    
  67

Check out the Servlet 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] [Bear's FrontMan] [About Bear] [Books by Bear]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: JSP Error page - getting page where error occured.