Tuan,

I think you should check out various wiki sections relating to the versions
you're using and the one you plan on switching over to.  You probably want
to scroll down to the section marked "ActionError(s) and ActionMessage(s)"
in the page: http://wiki.apache.org/struts/StrutsUpgradeNotes11to124

Regards,
David

-----Original Message-----
From: Tuan Jean Tee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 17, 2005 10:14 PM
To: user@struts.apache.org
Subject: What do you do with ActionError in Struts 1.2

I am learning Struts 1.2 and would like to find out what is the replacement
for ActionError knowing it's deprecated in Struts 1.2

if (firstName == null || firstName.trim().equals(""))
{
        errors.add("firstName", new
                ActionError("error.cust.firstname.empty"));
}


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

Reply via email to