Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Capture Exception  RSS feed

 
karthik mahalingam
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,

I would like to know how can we capture the exception(HTTP - 500 the requested resource not available) by JSP while EJB not running in the server...

any one help me..

regards
Karthik
 
aitor alzola
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You have to know what exception is happening. Watch to your server log, surely you would find some information there.
 
Siddhartha Bhattacharya
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can specify error pages in web.xml.
I am not sure if you can capture HTTP 500 error in a JSP (since the resource is not available so how will it go to the jsp), unless the exception is during a jsp forward.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!