Possible Duplicate:
Basic steps for starting session in jsf
Is there any Tag in JSF through we can create session and mantain it.I have seen the wonderful answers by BalusC regarding sessions in JAVA.But can I do all this using a simple JSF tag? Or i have to put all the stuff in backing bean?
The only reason I can think of why you would want to do this is so you
could bind input data to the session without needing to create a managed bean. This is possible.
This input field value binds to the
fooproperty on the session:But this is a false economy. If you want to act on this data you will likely need to inject it into a bean so your business logic can make use of it. Nothing is gained.