Re: JNDI-taglib search tag returns null

Iikku Mattila <[email protected]>
Newsgroups gmane.comp.jakarta.taglibs.user
Message-ID <[email protected]>
I finally figured it out but only with good luck.

On Tue, 24 Jul 2007, Kris Schneider wrote:
> On 7/24/07, Iikku Mattila <[email protected]> wrote:
>> <jndi:search id="baz" contextRef="test" filter="uid=quux"
>> searchScope="subtree"/>
>
> Seems like it might be a filter thing. Try filter="(uid=quux)".
Tried that, didn't help. What did help was creating an explicit end tag.

<jndi:search id="baz" contextRef="test" filter="uid=pohjus" 
searchScope="subtree">
</jndi:search>

This seems a tad silly to me and took quite a few hours to come up with. 
Well, works now!

Iikku
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.