Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

handling include errors

Status
Not open for further replies.

quickblueink

Technical User
Apr 5, 2001
57
US
My jsp page has a <jsp:include> directive which includes either a jsp or html file into a table. How can I catch, or otherwise keep an error page from showing up in the table field in the event that the include does not find the specified file?
Thanks, M.austin
 
I don’t believe you can. You might try to look for the file yourself to determine if it exists. If not then bypass the <jsp:include> with an if() or something. Don’t know if that works based on the JSP runtime model.

-pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top