• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Knute Snortum
Sheriffs:
  • Liutauras Vilda
  • Tim Cooke
  • Junilu Lacar
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Joe Ess
  • salvin francis
  • fred rosenberger

addActionError in Spring 3 MVC

 
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
 
A "dutch baby" is not a baby. But this tiny ad is baby sized:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!