• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

spring equivalent of ActionErrors

 
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am working on validation in Spring framework. I want to know the Spring equivalent of ActionErrors. I have gone though many materials which tells only about the Validator framework and the validate method which tells only about the form validation part. But my problem is, I have an exception caught, I have messages. I want to propagate these to jsp. Typically my Struts code peice is as below:



In my jsp, I have <html:errors/> tag which takes care of displaying the error messages

How do I convert that to Spring

I have went through this link and even many other materials says similar exception handling. But how to send the error messages from controller to JSP
 
reply
    Bookmark Topic Watch Topic
  • New Topic