Which version of slide are you using? Try it with the last beta. In this version the HttpURL class from commons HttpClient ist supported (not org.apache.util.HttpURL).

Martin


Gbenga Bello wrote:


Thanks I have tried the sample code in the page specified
But I am getting a error when I try to connect with this line of code
WebdavResource wdr =
new WebdavResource(hrl);
The error is that "The class WebdavResource is a protected class ......."


Here is full copy of the code
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;


import org.apache.commons.httpclient.HttpException;
import org.apache.util.HttpURL;
import org.apache.webdav.lib.WebdavResource;

public class SlideTest {

public static void main (String args[]) {
try
{
HttpURL hrl =
new HttpURL("http://webdav-server";);
hrl.setUserInfo("user","pass");
WebdavResource wdr =
new WebdavResource(hrl);
File fn = new File("remote-file");
wdr.getMethod(fn);
wdr.close();
}
catch(MalformedURLException mue)
{
}
catch(HttpException he)
{
}
catch(IOException ioe)
{
} }
}
I hope I can get assistance from any one
Thanks COGI



lixin chu <[EMAIL PROTECTED]> wrote: I am also searching...

1.
http://www.onjava.com/pub/a/onjava/2003/12/23/slide.html


2. Slide web site


3. source code

--- Gbenga Bello wrote:

Hello People,

Please Can any one provide help on how to relate
with slide to have a feel of its basic
functionalities.

Pls I will appreciate a detailed instructional steps
on what to do.

Expecting your reply soon.
Thanks


--------------------------------- Do you Yahoo!? Get better spam protection with Yahoo! Mail



__________________________________ Do you Yahoo!? Get better spam protection with Yahoo! Mail. http://antispam.yahoo.com/tools

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--------------------------------- Do you Yahoo!? Get better spam protection with Yahoo! Mail

-- Martin Dulisch Open Source Group, S&N AG [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to