This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

help required regarding DAO class

 
muhammad akhtar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
muhammad akhtar
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All friends

please help me in this problem .

mr. Mohammad Sanaullah please help
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic