I'm am stuck with a issue in struts 2 validation can you please help me sort out this.I had implemented client side validation on struts 2 and i am successful in using validators as required,requiredString,stringLength but now facing 2 basic issues now
1.I'm not able to use the expression validator
2.i need to check first whether a text box is empty or not if empty it should give a validation message also if it contains any value other than integer then also it should give a message
My code snippets are here
this is my validation xml file CarClubAction-carClubSave-validation.xml
also in my jsp page i've given all my controls within a forma tag as
Any idea what the problem could be?