• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

very urgent

 
kesava chaitanya
Ranch Hand
Posts: 140
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have one urgent requirement in our project
we have of list of requisitions in the page listing ;we will have check boxes to that
say if i check 5 requisitions
we will update the status(statuses like pending,processing,rejecting,invalidate)
when user select reject status we have to send email notification to those users who created those requisitions;when i click update button

I will get userid and requistionid;

if we put in hashtable
userid will come in duplicated but requistionid is unique.
say data wil come like this;

ht.put("Vikram",1313);
ht.put("Shekar",1513);
ht.put("Shekar",4213);
ht.put("Vikram",4613);
ht.put("Vikram",4583);
ht.put("Ranga",4183);
...........
dont tell me that compare with userid.equals("Vikram");
i cant compare like that because i dont know which user can come from database
how to do this with Hashtable;IS ANY OTHER WAY.

i want to send one email to user vikram with requistionids 1313,4613,4583

bye
chaitanya
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please don't post the same questionto multiple forums. Followups to the copy in Java in General (Intermediate).
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic