File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes How can I do it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How can I do it?" Watch "How can I do it?" New topic

How can I do it?

qingwu wang
Ranch Hand

Joined: Feb 19, 2003
Posts: 147

I want to display them,because one tableno has several checkid,but amount is not the same,How can I map them.for example.
tableno 1->checkid 123,234,343,4343,2532
tableno 2->checkid 344,454634,2342
if anyone has good idea,pls give me direction.thank you

Thanks...qingwu<br />When I open my eyes,I see your pretty face.
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
why don't you take the following combinition:
pm.add(checkid);//pm is a list variable,checkid is a string }
am.put(tableno,pm); //am is map, tableno is the key and pm is the list of checkid's
qingwu wang
Ranch Hand

Joined: Feb 19, 2003
Posts: 147
Thank you for your reply!
I agree. Here's the link:
subject: How can I do it?
It's not a secret anymore!