This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes JNDI: Setting/Retrieving Parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "JNDI: Setting/Retrieving Parameters" Watch "JNDI: Setting/Retrieving Parameters" New topic
Author

JNDI: Setting/Retrieving Parameters

Annette Sovereign
Greenhorn

Joined: Jul 12, 2005
Posts: 26
Hi,

I'm trying to do a search that would return results for more than one person in a directory instead of having to make a call for each person on the list.

I am using search(Name name, String filter, SearchControls cons)
and setting the filter to userId=foo,userId=bar but getting nothing back. I'm not sure if this is valid or if I'm using an invalid seperator or worse still using the wrong method.

I'm new to JNDI so please bear with me .

Any pointers would be appreciated.


-- just trying to get one foot on the ladder
Shailesh Kini
Ranch Hand

Joined: Oct 17, 2001
Posts: 153
Hello Annette,

JNDI is definitely a little complicated and I would recommend you to read a lil tutorial from sun to understand the basics. Here's the link -> Directory Search.


Shailesh Kini.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: JNDI: Setting/Retrieving Parameters
 
Similar Threads
how to compare if object exists in arraylist and add if doesn't
lookup meaning?
Specify servlet filter to include all but one file
ApacheDS - Filter Results from a custom partition
Session Variables