Announcement Announcement Module
No announcement yet.
How to rediredt Portlet URL Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to rediredt Portlet URL

    Hi All,

    I am new to spring portlet 3.0 .

    My question is

    when i save a record into database and set render parameter to list

    actionResponse.setRenderParameter("action", "list");

    at the end of may save method . It will render the list page but when i do refresh it will insert same record again into database because URL does not change.i dont want to user sendRedirect() method.

    @ActionMapping(params = "action=saveObj")
    public void save (ModelMap modelMap, Object asset, BindingResult bindingResult, ActionRequest actionRequest, ActionResponse actionResponse){;
    actionResponse.setRenderParameter("action", "list");

    can anyone help me, i am stuck here.

    then how to redirct portlet URL .