Announcement Announcement Module
Collapse
No announcement yet.
Spring MVC Error Handling in Spring Controller Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring MVC Error Handling in Spring Controller

    Hello All,

    I am very new to spring and I am using spring 3.0

    I have a Spring Controller which is annotated with @Controller and in which i have a request mapping method to forward to the Jsp on some action which is annotated with @RequestMapping.

    In that method I want to set an error message which is based on the key from messages.properties so that the Jsp can retrieve the value from messages.properties exactly like we do in Struts Action using the Action Errors concept.

    Please give me an idea on how to do this.

    Thanks All
Working...
X