Greetings all...

I'm using Struts 1.0.2, and am using templates, so most of my pages are made
up of more that one "sub-page". My problem is that if, say, I have three
sub-pages, and an exception occurrs on sub-page two (All the sub-pages are
pointing to the same error page), the first sub-page is displayed, then the
error page is displayed (where the contents of the second sub-page would
have gone), then the third sub-page is displayed "after" the error page.

What I'm looking to do is if an error occurs on any of the sub-pages, I'd
like to go to the error page (without displaying any of the sub-pages). Just
using errorPage="..." doesn't seem to work if the page is broken up into
sub-pages, and I use templates. I've been trying to add some code to the
error page that either forwards or redirects the request to an entirely new
page with no luck.

So my questions are:

- Is this possible?
- Am I going about it the wrong way?

Any insight would be greatly appreciated...

Cheers...

Dave Bruzzone

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to