How can I get the values of an HttpSession Object. From the API, I know that I can use getValue method. But how would I know what are the values I can get? Any help greately appreciated. Thanks in advance, Pradeep
If you are looking for the names you can do a getAttributeNames() this will return an enumeration with all the names of attributes in session then you can iterate the enumeration to get each and then ask for its value with getAttribute(name)
She will remember your heart when men are fairy tales in books written by rabbits.<br /> As long as there is duct tape... there is also hope.
Joined: Nov 15, 2005
Thank you. Both of the replies are helpful. Hi Bear, so in order to get values or attributes do I have to set attributes first?