Why don't you use Hashtable( key=parameter, value=another hashtable/or
Vector). In that case, based on the key it will return the data).

Nikhil R Silsarma
Developer
DigitalRUM UK Ltd.
Tel: 020 7604 2049



-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 26 February 2002 15:20
To: JRun-Talk
Subject: Searching Resultset


Drew, Great book!  Went through it over the weekend!  Wish I got it 6 months
ago, when I started to develop in JSP!  Could have saved me lot of time!!

Anyway, my q for the day.  I need to be able to search a resultset.  The
parameter that I need to use to search, is not unique in the Resultset and I
need to be able to get all the entries with that key.

I thought of using hashatable, but since the key is not unique, it won't
work, I
thought of using vectors of arrays.   I looked into QueryTable and didn't
find
any methods to get by key.

Is there an easy way to search the resultset based on a value?

Thanks,

Zeina


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to