Thank Daniel,
I still have same problem after add a trailing "/". The resource path is something like "/slide/gstudy/Sample1/", it a collction folder.
I tried the Slide's webdav client API with following code and can get the acl..
httpUrl = new HttpURL("http://192.168.200.128:18088/slide/gstudy/Sample1");
httpUrl.setUserinfo("test2", "gstudy.t");
webdavResource = new WebdavResource(httpUrl);
AclProperty acl = webdavResource.aclfindMethod();
Ace aces[] = acl.getAces();
Should I switch to Slide's webdav API?
Frank
----- Original Message ----- From: "Daniel Florey" <[EMAIL PROTECTED]>
To: "Slide Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, October 27, 2004 1:08 AM
Subject: Re: Problem get ACL using WVCM API when using Tomcat5
Is your resPath accessing the root collection without trailing slash? Try to add a / at the end of your path, this might help...
Daniel
"Slide Users Mailing List" <[EMAIL PROTECTED]> schrieb am 27.10.04 03:55:51:
I am using the latest Slide 2.1 b2 and the proposed Wvcm client API to access Slide server.
Here is my program:
ControllableResource resource = getControllableResource(resPath); List acl = resource.doReadAccessControlList(true);
Here is the exception I got:
javax.wvcm.WvcmException: Moved Temporarily
The problem happens only when I run Slide on tomcat 5. It does not happen when I run Slide on Tomcat 4.1.30. The same for Slide 2.1B1 and Slide 2.1M1.
Thanks
Frank Li
________________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt neu bei WEB.DE FreeMail: http://freemail.web.de/?mc=021193
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
