Results 1 to 2 of 2

Thread: httpClient

  1. #1
    Join Date
    Nov 2008


    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.

  2. #2
    Join Date
    Dec 2002
    Calgary, Canada
    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....


    Message Posting Guidelines In These Forums, Please read these before posting any question.
    Web site: webapplikations.com
    Web Resources Page:Web Resources

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center