Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP error page  RSS feed

 
Ian Cabigon
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Coderanch,

Currently I defined a catch all exception page for my application.
Here is my err.jsp page defined in web.xml.



I'd like to know how an exception is forwarded to an error page. I'd like to give a value to errDescription and errDetails. How do i pass the exception object caught by the container to this page?

Please help me.

Ian
 
Ankit Garg
Sheriff
Posts: 9610
37
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have a look at this or this...
 
Ian Cabigon
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the info.
 
Hebert Coelho
Ranch Hand
Posts: 754
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And instead of using:

use:


EL came to take Scriplets place! [=
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!