aspose file tools*
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: 531

You can use errors.reject("errorcode","errormsg") combined with showForm(request,response,errors) for this purpose..
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: reloading the same page with message - spring mvc