Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

handling error when using jsp:include

nitin kumar
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

Please help me out in the following situation.

I have a jsp page that dynamically includes other html pages based on some business logic. i.e. names of html pages are determined dynamically.

How can I handle the errors that may occur if the html page that was determined by the logic is not found??
Also, based on what html page was not found I want to show error message at the point on the page where html page was not found.
No matter what error occurs during the execution of jsp, I want to completely execute the page and show my top, left, right and bottom navigation pages.

Thanks in advance for your help and time!
Ben Souther
Posts: 13411
Firefox Browser Redhat VI Editor
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic