• Post Reply Bookmark Topic Watch Topic
  • New Topic

exception handling in jsp  RSS feed

 
Jigar Naik
Ranch Hand
Posts: 762
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,

I have got more than 100 jsp in different folders.

now if in any of the 100 jsp for any kind of exception i want to redirect to error.jsp.

how do i achieve this ?

thanks & regards,
[ August 11, 2008: Message edited by: Bear Bibeault ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66207
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Declare an error handler in the deployment descriptor.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!