0 Replies Latest reply on Dec 17, 2008 10:09 AM by Alexander Zeller

    ExternalContext().getRequest() returns RedirectFilter

    Alexander Zeller Newbie

      Hello,


      I'm trying to get the Request Object within an SessionBean. For this I use the following code-line:


      FacesContext.getCurrentInstance().getExternalContext().getRequest();


      According to API I expected an object of type HttpServletRequest. Instead I get an object of type RedirectFilter:


      java.lang.Object
        extended by org.jboss.seam.web.AbstractFilter
            extended by org.jboss.seam.web.RedirectFilter


      I don't know why I gat a part of the FilterChain insted of a request Object.
      The used Versions are Seam 1.1 and MyFaces 1.1.4. Does anyone have an idea?


      Best Regards,
      Alexander  Zeller