• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsf session management

 
max soyosa
Greenhorn
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 116
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic