Unable to get ActionEroor messages
"Reddy, Koti" <[email protected]>
| Newsgroups | gmane.comp.java.strutscx.user |
|---|---|
| Message-ID | <D54405EC0F55E4469575EF939BA6CD86025F2721@ustjc3exmail01.ustrust.global.schwab.com> |
Hi Guys,
I am unable to get the ActionError messages in the xml document. It
gives the keys but not the error message. I would appreciate if any one
can help me in this.
This is what I do in my formBean
ActionErrors errors = new ActionErrors();
errors.add("assignTo",new ActionError("PRODUCT LINE AND PRODUCT ARE
NOT GOOD"));
errors.add("prodLineCd",new ActionError("PRODUCT DESCRIPTION IS NOT
GOOD"));
logger.info(THIS_CLASS + "AFTER ADDING ACTIONERRORS");
return errors;
and this is what I see when I do debugxml=true
- <!--
********** ERROR PARAMETERS **********
-->
- <http://ustjc3asdv1:7001/acm/approve_acct_save.do##> <errors>
<assignTo />
<prodLineCd />
</errors>
Thank you
Koti Reddy
---------------------------------------------------------------------
The message contains confidential and/or legally privileged
information and is intended for use by the indicated addressee.
If you are not the intended addressee: (a) any disclosure,
reproduction, distribution or action you take because of it is
strictly prohibited; (b) please return the complete message to the
sender; and (c) this message is not a solicitation for purchase or
sale or an agreement of any kind whatsoever that binds the sender.
---------------------------------------------------------------------
image001.jpg
(image/jpeg, 2.9 KB) - not displayed