Re: Validation in Struts for Required fields

2004-10-07 Thread Jacob Weber
One more: you need something like this in your ApplicationResources: errors.required={0} is required. In article <[EMAIL PROTECTED]>, Caroline Jen <[EMAIL PROTECTED]> wrote: > To add to the list: > > 5. the validator-rules.xml and validation.xml must be > in the AppName/WEB-INF directory. >

Re: Validation in Struts for Required fields

2004-10-05 Thread Caroline Jen
leaving out? > > Erik > > > > Priya Jotwani wrote: > > >Yes I have set the validate= "true" in and the > field names are same too > >:( > > > >-Original Message- > >From: Erik Weber [mailto:[EMAIL PROTECTED] > >Sent: Tuesday,

Re: Validation in Struts for Required fields

2004-10-05 Thread Erik Weber
config.xml for the relevant action configuration? Erik Priya Jotwani wrote: Hi Erik, I am using html:select tag like below in my JSP Select a Product Line Thanks, Priya -Original Message- From: Erik Weber [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 05, 2004 11:04 PM To: Struts Users

Re: Validation in Struts for Required fields

2004-10-05 Thread Erik Weber
In your JSP, where are your selects? Are you using html:select tags to produce them? Erik Priya Jotwani wrote: Hi , I have a JSP Page where I have two dropdowns displaying default values. Before submitting that page, the user should select something from these two dropdowns and if he doesn't sel