wood burning stoves 2.0*
The moose likes Spring and the fly likes Error Message rendering twice in struts2 because of integration with spring Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Reply locked New topic
Author

Error Message rendering twice in struts2 because of integration with spring

Jyothi Sree
Ranch Hand

Joined: Jun 14, 2010
Posts: 41

Hi

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
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41040
    
  43
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.


Ping & DNS - my free Android networking tools app
 
 
subject: Error Message rendering twice in struts2 because of integration with spring
 
Similar Threads
Struts2 Validation problem
Struts2 Reponse already committed errors in was6
How do i send a mail from Struts2 application using the Spring Framework Mailing Utility
Error Message rendering twice in struts2 because of integration with spring
Struts2 Annotations