1 Reply Latest reply on Apr 27, 2006 9:01 AM by Dan Liu

    Session scoped listener works in Firefox but not in IE

    Dan Liu Apprentice

      I have a session scoped component with @Startup annotation to listen to the session event. When use firefox, everything works fine. but when use IE to browse my page, it prints thousands message on jboss console (there's a dead loop). Here is my code.

      public class MyBean
       public void init(){
       System.out.println("******* init() ****");
       HttpSession session=((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest()).getSession();
       session.setAttribute("key","hello" );