Re: What's wrong with the getAttributes(String, String[]) method of DirContext
Posted By:
Anonymous
Posted On:
Tuesday, May 29, 2001 12:25 PM
My opinion is that your problem it's just a syntax problem. I think that the syntax you've used is not correct. Can you please try this?
attributes = dtx.getAttributes("", {"X", "Y", "Z"});
You do not need to include the new String[] because it's implicit in this case.
Regards.