struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From (¯`·.k ! k !.·´¯) <g_f_...@yahoo.com>
Subject ActionErrors in execute() method of action
Date Sun, 01 Jun 2008 12:41:08 GMT

hi ... i m very new to struts and using struts 1.2.9 i have a problem .. 
&nbsp;
simple org.apache.struts.action.ActionFrom&nbsp; has a method validate() that return ActionErrors
which can b showed by &lt;html:errors/&gt; in jsp page . but i m using org.apache.struts.action.DynaActionForm
instead of ActionForm so i dont have validate() method that would return ActionErrors&nbsp;
. so is their any method so that i could return some errors in execute() method of org.apache.struts.action.Action
class ...&nbsp; if i have some error came in execute() so how i can show that error using
ActionErrors&nbsp; ?????
waiting for&nbsp;replies .... 
thanx.&nbsp;

&nbsp;

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message