Mark Lowe wrote:
Satish
ActionErrors isn't deprecated, ActionError is...
http://struts.apache.org/api/org/apache/struts/action/ActionErrors.html
ActionErrors errors = new ActionErrors();
errors.add("myproperty" , new ActionMessage(...));
return errors;
And then personally i prefer
But there are go
Satish
ActionErrors isn't deprecated, ActionError is...
http://struts.apache.org/api/org/apache/struts/action/ActionErrors.html
ActionErrors errors = new ActionErrors();
errors.add("myproperty" , new ActionMessage(...));
return errors;
And then personally i prefer
But there are good reasons for pr
Sorry, left out the "ERRORS" sort of header.
Michael McGrady
Hello,
I am using Struts 1.2.4 on JBoss 3.2.5.
In my ActionForm validate method, I have the following code -
ActionErrors errors = new ActionErrors();
ActionMessages messages = new ActionMessages();
ActionMessage msg = null;
if (getLoginID() == null || getLoginID().length() < 1)
5 matches
Mail list logo