aspose file tools*
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
Author

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.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
hi,
why don't you take the following combinition:
for(i=0;i<a.length;i++){
for(j=0;j<b.length;j++){
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
}
}
Oliver
qingwu wang
Ranch Hand

Joined: Feb 19, 2003
Posts: 147
Thank you for your reply!
 
jQuery in Action, 2nd edition
 
subject: How can I do it?