This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Beginning Java and the fly likes very urgent Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "very urgent" Watch "very urgent" New topic
Author

very urgent

kesava chaitanya
Ranch Hand

Joined: Aug 15, 2001
Posts: 140
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

Joined: Jul 08, 2003
Posts: 24183
    
  34

Please don't post the same questionto multiple forums. Followups to the copy in Java in General (Intermediate).


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: very urgent