You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Alvaro Martinez <in...@wanadoo.es> on 2004/05/26 19:18:32 UTC
exception argument
I don't know English very well, I'm sorry...
How can I include an argument in an exception tag?
For example, this is a piece of my "struts_config.xml":
...
<action path="/CompaniesDelete"
type="companies.actions.CompaniesDeleteAction"
name="CompaniesForm"
input="/jsp/CompaniesMain.jsp"
validate="false">
<exception type="java.lang.Exception" key = "errors.deleted"
path="/CompaniesMain2.do"/>
<forward name="success" path="/CompaniesMain.do"/>
</action>
...
I would like to include an argument in my "errors.deleted" wich I can throw
from servlet "companies.actions.CompaniesDeleteAction" when an Exception
ocurrs.
Thanks in advance...
Alvaro
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org