wood burning stoves 2.0*
The moose likes EJB and other Java EE Technologies and the fly likes addActionError in Spring 3 MVC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "addActionError in Spring 3 MVC" Watch "addActionError in Spring 3 MVC" New topic
Author

addActionError in Spring 3 MVC

Vipul Mehta
Greenhorn

Joined: Aug 21, 2012
Posts: 5
Hi, i am using Spring 3 MVC and i am bit new to it...
i want to incorporate the same funcationality of struts actionerror in spring 3

functionality i want to achieve is :


this functionality is same as Struts2 addActionError method...where in you keep on adding all the error message and are displayed using s:actionmessage on jsp page..

Now, what i am aware with
1. I am aware with validationUtils class. but it validates only empty or whitespace..my condition are not limited to it
2. ValidationUtil class validates the error on bean variable ONLY..
3. Error message can only be viewed on jsp by form:error tag

I simple want the flexibility where i will run a for loop check for condition and would simply keep on adding error message in a bucket
 
Consider Paul's rocket mass heater.
 
subject: addActionError in Spring 3 MVC