Hi
I have used the latest tld's .xml's
But still I get the error
When I go by the way u suggested 
I get 
SEVERE: Servlet.service() for servlet jsp threw
exception
javax.servlet.jsp.JspException: Cannot find message
resources under key org.apache.struts.action.MESSAGE


All I have tried is
:-
<message-resources  key="AppResources"
parameter="com.yourcompany.struts.ApplicationResources"/>
in the struts-config.xml
<formset>
        <form name="testForm">
        <field property="testProp" depends="required">
        <arg bundle="AppResources" key="field.test.1" />
        </field>
        </form>
        </formset>

Pl let me knw, if I made some mistake
Thanks

--- Venkat Reddy Valluri <[EMAIL PROTECTED]>
wrote:

> Use latest     validator-rules.xml and use latest 
> tld's 
> 
> use bundle this way 
> 
>            <field property="user_name"
>                     depends="required">
>                 <arg 
> key="userEdit.user_name.displayname" bundle="user"/>
>             </field>
> 
> 
> -----Original Message-----
> From: Sagar Naik [mailto:[EMAIL PROTECTED]
> Sent: Thu 7/7/2005 1:58 PM
> To:   user@struts.apache.org
> Cc:   
> Subject:      Resend : Multiple Struts-config files,
> multiple properties and validator
> Hi
> I m using struts 1.2
> 
> mulitple struts-config files
> multiple properties files
> and now I have a validation.xml file for input
> validation of the form
> Ques 1. How do I get the keys defined in properties
> files in validation.xml 's field's arg0's key
> attribute
> 
> Ques 2. Even if I get all the error messages in 1
> files , I still get NoSuchMethod Exception
> ( I using the latest struts files)
> 
> Thanks
> 
> 
> 
>               
>
_______________________________________________________
> Too much spam in your inbox? Yahoo! Mail gives you
> the best spam protection for FREE!
> http://in.mail.yahoo.com
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 
> 
> 
> 
> >
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
[EMAIL PROTECTED]



                
_______________________________________________________
Too much spam in your inbox? Yahoo! Mail gives you the best spam protection for 
FREE! http://in.mail.yahoo.com

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

Reply via email to