aspose file tools*
The moose likes JSP and the fly likes handling error when using jsp:include Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "handling error when using jsp:include " Watch "handling error when using jsp:include " New topic
Author

handling error when using jsp:include

nitin kumar
Greenhorn

Joined: Feb 11, 2004
Posts: 6
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
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

try/catch


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: handling error when using jsp:include