RelaDetails objRelation = (RelaDetails) tmpTable.get(RowId);
You get RelaDetails object first, and then you can retrieve the data from
this object...
-----Original Message-----
From: Howard Hiew [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 16, 2001 1:04 PM
To: [EMAIL PROTECTED]
Subject: HashTable
Hi,
I am a beginner,
I have a question regarding retrieving data from a hashtable.
Following is the way that im using to store data...
//
Hashtable tmpTable =new Hashtable();
RelaDetails relation=new RelaDetails(RowId,Obj1,Col1,Obj2,Col2,JType);
tmpTable.put(RowId, relation);
//
How to retrieve the data for RowId, Obj1, Col1 ....and so on??
Thank you
Best Regards,
Howard
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html