New Session is created between consecutive servlet request from an Applet and a managed bean??
        Posted  
        
            by khue
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by khue
        
        
        
        Published on 2010-06-02T09:41:52Z
        Indexed on 
            2010/06/02
            9:43 UTC
        
        
        Read the original article
        Hit count: 346
        
Hi, I want to pass parameters betweeen applet and jsf components So when a value of a input textbox changed, its binding backing bean makes connection to a servlet. The servlet create an attribute and save to HttpSession using (request.getSession(true)).setAttribute(name, value);
Then at some event, applet will access another servlet. This servlet will try to retrieve the Attribute saved to Session previously.
However, everytime, the attirbute returned is null as the new session is created instead.
My question is: Is the session should be persist? ( I checked allowcookies, session timeout for weblogic)
If yes, what might go wrong with my app?
Thanks a lot for your help.
Regards K.
© Stack Overflow or respective owner