Hello,
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="/CompaniesMain.do"
validate="false">
<exception type="java.lang.Exception" key = "errors.deleted"
path="/CompaniesMain.do"/>
<forward name="success" path="/CompaniesMain.do"/>
</action>
...
Could I have a "errors.deleted" with the following sentence(next key): "{0}
is
an invalid number."
I would like to include an argument in my "errors.deleted" which I can throw
from servlet "companies.actions.CompaniesDeleteAction" when an Exception
occurs.
Thanks in advance...
Alvaro
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]