Announcement Announcement Module
No announcement yet.
modeldata and redirect Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • modeldata and redirect

    Hi at all. I have a question about the redirect in spring. I use velocity and spring. On my page I display a table including filenames and a deleteoption. When the deleteoption is used my abstractcontroller delete the file by the name and should redirect to the same page. Also I want to send some information to the user like "file successful deleted" or something. How can i realize it? Is the only way to add the attributes directly to the url like "return new ModelAndView(new RedirectView(" e"));" or is there a bedder way?

    Thanks for advices