Re: methods pur and get
"ould sid'ahmed" <[email protected]>
| Newsgroups | gmane.comp.jakarta.slide.user |
|---|---|
| Message-ID | <[email protected]> |
Marco Ferretti a écrit : > On 8/8/06, ould sid'ahmed <[email protected]> wrote: >> >> thanks Marco, >> I use Slide for myself application, I upload all files in my application >> to the folder ${App_Home}/files, I want change the directory "files" in >> Slide to ${App_Home}/files. >> I can do this in client program, but I word in server side. >> can you understand? and can you help me? >> >> thanks. >> > > > Ok, still you didn't answer my 1st question : are you implementing the > methods yourself ( so in the end you're sending http requests to the > server ) or are you using the jakarta-slide client libs ? > > Personally, i don't like to reinvent the wheel se I use the latter. > > As of your question : > it's just a matter of telling the application ( your application ) > what ${App_Home} means . > In order to do so you could set a property and read it . > > in the end : > Sting appPath = [put the variable/property whatever to resolve > ${App_Home}] > String root = "/files"; > WebdavResource webdavResource .... > > webdavResource.setPath(appPath+root); > > > > > Also, did you check the link I gave you ?? > > here's a little more help 4 you > http://wiki.apache.org/jakarta-slide/CreateWebDavResource > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > I'm implementing the methods myself, I want to upload the files into my $App_Home ( examples : D:/App/files ). WebdavRessource this is implementation client side, I work in server side. I'm trying the method of Pankaj but this method is defining in "Domain.xml" and statically , but I would like that my $App_Home is dynamics. thanks