Hi Bruce, Only thing you were missing is to tell Underlying bean Validator to validate your bean. You placed constraints on your Person bean , but you need to indicate that you want to validate this bean
In you EditAction.java you need to add @Valid annotation like @Valid private Person personBean; Thanks Umesh On Fri, Oct 25, 2013 at 7:05 PM, bphill...@ku.edu <bphill...@ku.edu> wrote: > I've modified one of my form processing example applications to include > this > plugin. It is not working as it allows you to not enter a value for first > name even though I've annotated it with @Size(min=5). > > I double-checked that I'm following all the steps you listed in your > ReadMe.md file at GitHub but it very possible I missed something. > > Could you look over this project: > http://www.stfm.org/test/jsr303_validation.zip (unzip it - it's Maven > project) and let me know what I've not done correctly. > > Thank you, > > Bruce Phillips > > > > > -- > View this message in context: > http://struts.1045723.n5.nabble.com/ANNOUNCEMENT-Struts2-JSR303-Validation-Plugin-available-tp5714414p5714434.html > Sent from the Struts - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- With Regards Umesh Awasthi http://www.travellingrants.com/