GeeCON Prague 2014*
The moose likes Java in General and the fly likes Value not populating for one of the attribute Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Java in General
Bookmark "Value not populating for one of the attribute" Watch "Value not populating for one of the attribute" New topic
Author

Value not populating for one of the attribute

Hardik Modi
Greenhorn

Joined: Jul 31, 2012
Posts: 8
I am trying to populate the values from couple of attributes and storing all this information in file via below code.



So while compiling this code, I am getting all the values for the attributes but not for the Email.

out.write("IdentityName,UserName,First_Name,Last_Name,WorkforceID,Organization,Email");

its constantly writing null value in file.

I am not able to figure out where i am making the mistake.any takers and help me out.
Steve Luke
Bartender

Joined: Jan 28, 2003
Posts: 4181
    
  21


That line of code returns null. There is no "mail" attribute in user - either you are using the wrong name ("mail") to look the value up or you are not storing the value to begin with.


Steve
 
GeeCON Prague 2014
 
subject: Value not populating for one of the attribute