Tremal Nailk wrote:
2005/8/1, Joe Germuska <[EMAIL PROTECTED]>:
what's I'm doing wrong?
Struts can't catch exceptions thrown by the JSP. This is one reason
ok, anyway I'm looking for a way to catch all the exception thrown by
may app. So throwing a dbexception was just an example. There is
always something that may go wrong within a jsp.
Probably want to use the web.xml exception stuff, then (error-page
element, maybe?)
Ideally, there should be VERY little that can go wrong within a JSP; if
presentation/everything else is handled within Struts, helper classes,
custom tags, etc.--then the exceptions WILL be caught by struts.
What kind of exceptions do you anticipate being thrown by the JSP itself?
Dave