• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

handling error when using jsp:include

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
Regards
Nitin
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
try/catch
reply
    Bookmark Topic Watch Topic
  • New Topic