• Post Reply Bookmark Topic Watch Topic
  • New Topic

declaring more than 1 error page in jsp  RSS feed

 
John David
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi folks...!
im new to jsp.. i have a doubt..
how to declare more than one errorpage in a jsp that responds depending upon the error
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
in web.xml, you can specify which error page to go to according to either the error code, or the exception type. Search for the error-page tag.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!