-1

ブラウザでグローバルな調査を行いたいです。5 つのフォルダーがあり、これらの 5 つのフォルダーにすべてのソリューションが存在するようにしたいと考えています。

誰かがアイデアを持っていますか?

ctx = new InitialDirContext(env);

             Attributes matchAttrs = new BasicAttributes(true); // ignore attribute name case

             matchAttrs.put(new BasicAttribute("mail");

             // Search for objects that have those matching attributes
             NamingEnumeration<SearchResult> answer = ctx.search("DC=corp", matchAttrs);`enter code here`
4

1 に答える 1

0

わかりませんが、私の機能は機能searchCtls.setSearchScope(SearchControls.SUBTREE_SCOPE);しませんでした。

ここで動作しています。

助けてくれてごめんなさい、そして私の評判をごめんなさい:D

于 2013-02-27T13:01:54.393 に答える