6 Replies Latest reply on Jun 26, 2008 10:04 PM by Daniel Hinojosa

    Page redirects from session beans

    Arvind N Newbie


      is there anyway to redirect a user to another page from within a session bean method?

      the method definition is void save(){}
      i want the code within save to be invoked only if the injected entity is not null.

      if the injected entity is null then the user should be redirected to an error page.

      can anyone please point me in the right directions?