This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Soft Skills and have John Sonmez on-line!
See this thread for details.
The moose likes Java in General and the fly likes help required regarding DAO class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "help required regarding DAO class" Watch "help required regarding DAO class" New topic
Author

help required regarding DAO class

muhammad akhtar
Greenhorn

Joined: Nov 03, 2010
Posts: 8
Dear friends

hope all you fine.


i have a problem regarding arraylist following is a arraylist




here is the code. the code.


Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3097
    
  33

I am reframing your question for the benefit of others:
You have an ArrayList of ItemInfo and that ArrayList can contain duplicate elements. So if the ArrayList has duplicate element- you add their ItemInfo.R value and then remove the duplicates.

What is the problem you are facing? Telling ItDoesntWorkIsUseless.


Mohamed Sanaulla | My Blog
muhammad akhtar
Greenhorn

Joined: Nov 03, 2010
Posts: 8
dear friend

when i add the iteminfo.R of duplicate entries it does not add it to "T"and only remove the duplicate items. i getT() at jsp it result is 0;
muhammad akhtar
Greenhorn

Joined: Nov 03, 2010
Posts: 8
All friends

please help me in this problem .

mr. Mohammad Sanaullah please help
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3097
    
  33

muhammad akhtar wrote:dear friend

when i add the iteminfo.R of duplicate entries it does not add it to "T"and only remove the duplicate items. i getT() at jsp it result is 0;


Am not able to understand this. Can you TellTheDetails?
muhammad akhtar
Greenhorn

Joined: Nov 03, 2010
Posts: 8
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: help required regarding DAO class