You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Nick Longinow <nl...@vhainc.com> on 2005/02/28 20:08:08 UTC

Using escaped URLs in 'new WebdavResource...' method

Has anyone had success using these ?

The sequence seems to be:

        remoteObject = URLEncoder.encode(remoteObject, "UTF-8");

        HttpURL slideSrv = new HttpURL(remoteObject, "UTF-8");

        slideSrv.setEscapedUserinfo(user, pwd);

        WebdavResource wdr = new WebdavResource(slideSrv);

 

But, I am getting a NullPointerException on the 'setEscapedUserinfo'
call,

where the javadoc seems to indicate that this means the 'user' was null
???

 

Is anyone else able to build WebdavResources using escaped urls ?

Nick