7 Replies Latest reply on Feb 27, 2008 12:13 PM by Pete Muir

    Call a method and redirect browser afterwards

    Michael Hunziker Newbie

      Dear all!


      I'm a seam-beginner and I'm depserately looking for a solution of the following problem:


      I want to provide a link on a webpage (e.g. test.jspx), the following steps have to be executed:
      1. First off i want to call a method on the server like #{someController.someMethod}
      2. After this method has completed, I want to redirect the browser to the following Java Servlet /servlets/someServlet


      I'm already familiar with commandLinks and commandButtons...
      But I didn't find a way to do both, calling a method and afterwards redirecting the to a Servlet (not a jsf-page)...


      I'd really appreciate your help!
      Michael