Meaningless Drivel is fun!*
The moose likes JSF and the fly likes jsf session management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "jsf session management" Watch "jsf session management" New topic
Author

jsf session management

max soyosa
Greenhorn

Joined: Feb 25, 2010
Posts: 24
Can anyone help me how to do session management in jsf?

if its ok for you, please give me a sample or source code so that ill understand quickly

thanks in advance...

max.
Christian Nicoll
Ranch Hand

Joined: Mar 09, 2008
Posts: 106
Hi Max,

JSF gives you the possibility to put your (managed) beans in different scopes, for example the session(-scope). Look at the <managed-bean> tag in the faces-config.xml. Further, I'don't think that JSF provides ways of dealing with the (content of your) session. Cause JSF is based on the Servlet API you should look into this Servlet API. You 'll find there the reqiuired interfaces (e.g. HTTPSession) and methods (e.q. request.getSession()) for dealing with the session.

Look also under:
http://www.coderanch.com/t/210492/JSF/java/Session-management

SCJP 5, SCJD 5, SCWCD 5, SCBCD 5, SCJDWS 5
My SCBCD-Notes - My Hello World Webservice
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsf session management