Hi,

How can I set different validator resources in struts
action before calling validate(...) method ?

I have got one jsp and one <form/> declaration in
validation.xml that are common for 2 types of
customers, "abc" and "xyz".

I have got message resource elements like below:-

<message-resources
parameter="resources.customer.default"/>
<message-resources key="customer.abc"  
parameter="resources.customer.abc"/>
<message-resources key="customer.xyz" 
parameter="resources.customer.xyz"/>

I could achieve js validation by setting "bundle"
attribute of <html:javascript/>.

Does anyone know how to achieve server side validation
???

Thanks & Regards,
Ramesh M





                
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

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

Reply via email to