Anyone know where I can find a JSP sample that shows how to query an external LDAP server.

We're looking to write a Zimlet that would query an external LDAP and build a new email with the TO: built from the returned data.

Thanks,
Matt