Deepali, Following are the two methods of session object which you can use to get the all session attributes name and value:
getAttributesName() : Return the Enumeration of String objects containing the name of all the objects bound in the session. getAttribute() : Return the object bound with the specified name in the session or null if no objects is bound under the name. Thanks & Regards Sunil Sahu Sr. Software Engineer Ph. +91-124-4047100 Ext. 752 "deepali sharma" <[EMAIL PROTECTED]> 06/16/2006 10:58 AM Please respond to "Struts Users Mailing List" <user@struts.apache.org> To user@struts.apache.org cc Subject Action Forms in Session Hi We are using struts.And in our application we are putting all forms in session. After completing the transaction we are clearing the form values. Is that after the transaction the forms are in session or will be deleted?? If I want to get which objects are in session how we can get that??? Is there any API to find out in struts/servlets???? cheers.. deepali