Hi,
 
I want to alert to user, when the first error occured on the ActionForm .
 
To do this I am using stopOnFirstError  ppoperty in struts-config.xml like this
 
<plug-in className="org.apache.struts.validator.ValidatorPlugIn" >
    <set-property property="pathnames" 
value="/WEB-INF/validator-rules.xml,/WEB-INF/validation.xml" />
    <set-property property="stopOnFirstError" value="true"/>
  </plug-in>
 
But all erros are displayed on the JSP page.
 
My ActionForm ' s type is ValidatorForm and  I am using sturts 1.1
 
How can I define this ?
 
 
Erol


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Reply via email to