This week's giveaway is in the Java/Jakarta EE forum.
We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line!
See welcome thread
Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

handling error when using jsp:include  RSS feed

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!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!