I would like to incorporate any functions seen valuable.  I wanted to
get this out for some discussion first.  

I will attempt to add any thing suggested and can make them available.

Laine

-----Original Message-----
From: Joe Faith [mailto:[EMAIL PROTECTED]]
Sent: Thursday, November 01, 2001 10:12 AM
To: Struts Developers List
Subject: Re: Declarative exception handling for Action classes


I was presuming that the default behaviour would be for the
ActionServlet to
send the user back to the 'input' page on error; but these would be
useful
optional
parameters.

Laine: would you consider incorporating this, or should I have a go
myself?

"Deadman, Hal" wrote:

> Wouldn't Joe Faith's example have to support a forward or path
attribute so
> the action servlet would know where to forward to?
>
> <action ....>
>         <exception error="some.error.key" type="package.Exception"
> forward="failure" />
> </action>
> or
> <action ....>
>         <exception error="some.error.key" type="package.Exception"
> path="/error.jsp" />
> </action>

Joe Faith

Runtime Collective, Ltd
T: (+44) 01273 234294
www.runtime-collective.com

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

Reply via email to