Enumeration keys=session.getAttributeNames();
while(keys.hasMoreElements())
{
String name=(String)keys.nextElement();
String value=session.getAttribute(name).toString();
tf.addText(name,value);
}
tf.addTextField("Name","Property Name",20,"name");
tf.addTextField("Value","Property Value",20,"value");
tf.addTextField("MaxAge","MaxAge(s)",5,"");