• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

addActionError in Spring 3 MVC

 
Vipul Mehta
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic