Click here to Skip to main content
15,885,366 members
Home / Discussions / Java
   

Java

 
Questionmy validation form not working - pls advise. tks. Pin
karengsh30-Dec-09 5:16
karengsh30-Dec-09 5:16 
AnswerRe: my validation form not working - pls advise. tks. Pin
Richard MacCutchan30-Dec-09 5:44
mveRichard MacCutchan30-Dec-09 5:44 
GeneralRe: my validation form not working - pls advise. tks. Pin
karengsh30-Dec-09 6:31
karengsh30-Dec-09 6:31 
GeneralRe: my validation form not working - pls advise. tks. Pin
karengsh30-Dec-09 6:38
karengsh30-Dec-09 6:38 
GeneralRe: my validation form not working - pls advise. tks. Pin
Richard MacCutchan30-Dec-09 11:01
mveRichard MacCutchan30-Dec-09 11:01 
GeneralRe: my validation form not working - pls advise. tks. Pin
karengsh30-Dec-09 16:05
karengsh30-Dec-09 16:05 
GeneralRe: my validation form not working - pls advise. tks. Pin
Richard MacCutchan30-Dec-09 23:58
mveRichard MacCutchan30-Dec-09 23:58 
QuestionHashMap Pin
002comp29-Dec-09 22:55
002comp29-Dec-09 22:55 
Hello Friends
I want to extract values from HashMap.How I can do?Here is the code below:

class VFMMmaterial
{
public:
int matId;
String matName;
}
public HashMap<Integer, VFMMaterial> materialsMap = new HashMap<Integer, VFMMaterial>();

materialsMap.put(material.materialId, material);
all values of id and name r putted in materialmap

Now i tried like this to access material name:

Iterator itr = materialMap.keySet().Iterator();
While(itr.hasNext())
{
   String id = itr.next();

    String name = materiaMap.GetKey(Integer.ParseInt(id)).matName;
}

but it is giving error at run time and I tried also entrySet in place of keySet()


Tell me some solution.
Thanks
AnswerRe: HashMap Pin
Richard MacCutchan29-Dec-09 23:16
mveRichard MacCutchan29-Dec-09 23:16 
GeneralRe: HashMap Pin
002comp30-Dec-09 18:01
002comp30-Dec-09 18:01 
GeneralRe: HashMap Pin
Cedric Moonen30-Dec-09 23:16
Cedric Moonen30-Dec-09 23:16 
GeneralRe: HashMap Pin
002comp30-Dec-09 23:48
002comp30-Dec-09 23:48 
QuestionError Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
karengsh29-Dec-09 0:28
karengsh29-Dec-09 0:28 
AnswerRe: Error Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
Richard MacCutchan29-Dec-09 4:39
mveRichard MacCutchan29-Dec-09 4:39 
GeneralRe: Error Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
karengsh30-Dec-09 5:06
karengsh30-Dec-09 5:06 
GeneralRe: Error Message - HTTP 500 & Error Message - no servlet mappings in web.xml Pin
Richard MacCutchan30-Dec-09 5:41
mveRichard MacCutchan30-Dec-09 5:41 
QuestionProb in reading .mtl file format. Pin
002comp27-Dec-09 19:35
002comp27-Dec-09 19:35 
Questioncall by value for objects Pin
mesho26-Dec-09 8:52
mesho26-Dec-09 8:52 
AnswerRe: call by value for objects Pin
Luc Pattyn26-Dec-09 9:18
sitebuilderLuc Pattyn26-Dec-09 9:18 
GeneralRe: call by value for objects Pin
mesho26-Dec-09 10:33
mesho26-Dec-09 10:33 
GeneralRe: call by value for objects Pin
Luc Pattyn26-Dec-09 10:38
sitebuilderLuc Pattyn26-Dec-09 10:38 
GeneralRe: call by value for objects Pin
mesho26-Dec-09 10:54
mesho26-Dec-09 10:54 
GeneralRe: call by value for objects Pin
Luc Pattyn26-Dec-09 11:22
sitebuilderLuc Pattyn26-Dec-09 11:22 
GeneralRe: call by value for objects Pin
Cedric Moonen26-Dec-09 22:45
Cedric Moonen26-Dec-09 22:45 
GeneralRe: call by value for objects Pin
mesho27-Dec-09 5:38
mesho27-Dec-09 5:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.