• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JSP Error page - getting page where error occured.

 
Angelo Bonaparte
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic