1 Reply Latest reply on Aug 18, 2009 2:47 AM by dpkgupta77

    weired problem method gets call twice!!

    panky_p

      Hi
      I am using stateful session bean in which a method gets call twice

      @Stateful
      @Scope(ScopeType.APPLICATION)
      @Name("myBean")

      this bean is loaded on
      in my pages.xml
      <page view-id="/myWeb/shop.xhtml" action="#{myBean.load()}"/>
      
      the load method gets call twice when page is loaded!!
      
      Why is it so???
      
      Any Help Please!!!!
      
      Thanks
      Panky