tags:

views:

9

answers:

0

I have a Struts2 application ,In the jsp page i have struts-tags: textfeilds which are required and a submit button ,In which i have a "email" feild for which i used spring mail bean and could send the mail properly .

When i hit the button with out entering the feilds then i get the validation errors ,till here its fine ,

The problem is when i press the submit button with out entering the values (for the 2nd time ) i get the error message one more time ( ie 2 times it is rendering ) If i press 3rd time i get the error messages 3 times ,If i remove the Spring beans its working fine ...

How should i solve this ?

Thanks