I put some .xml files in Apace web server. And I try to get those files using httpClient. The problem is I would like to read all files which extensions is .doc. Suppose I don't know how many .xml files in that server so I can't give a specific url.
So, for GetMethod method = new GetMethod(file url)
Can I would like to use something like "//localhost/8080/*.doc" though I know *.doc doesn't work. So, how should I do? Some looping?
Thanks in advance.
your question is very confusing (actually its very hard to make any sense out of it)
If you want to read xml files on the server, then that should be ok, you can get the root context of the application and look for the files in the applications directory. The same goes for any other type of file that you might want to read....
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)