Add something like:
Clayton
On Dec 18, 2003, at 8:47 AM, Rudi Verago [[vlain]] wrote:
I have a directory where are save file in different formats.
In the beginning I use datahandler, after convert to byte[] and save on LDAP.
When I try to get with:
answer = ctx.getAttributes(rni,attr).get("dataBinary");
byte[] resultByte = ((byte[])answer.get());
I obtain cast exception, why? If data are text file and I made a string cast I see it correctly. Sorry for my English, Thanks,
~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~