This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Spring and the fly likes reloading the same page with message - spring mvc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Frameworks » Spring
Bookmark "reloading the same page with message - spring mvc" Watch "reloading the same page with message - spring mvc" New topic
Author

reloading the same page with message - spring mvc

indu iyengar
Ranch Hand

Joined: Jul 30, 2010
Posts: 115
Hi
am using spring mvc with simple form controller . Here I need to reload the samePage along with some errormessage (like already student id already exists or password doesnot match) if Login fails.

any help would be highly appreciated ...
thanks
indu


thanks ,
Indu
Prasad Krishnegowda
Ranch Hand

Joined: Apr 25, 2010
Posts: 654
    
    4

You can use errors.reject("errorcode","errormsg") combined with showForm(request,response,errors) for this purpose..
 
Have you checked out Aspose?
 
subject: reloading the same page with message - spring mvc
 
It's not a secret anymore!