Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to get server-side's directory structure?  RSS feed

 
alex han
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
url is http://xxx.xx.xx:8080/mycontext,
i want to get the file/directory's name under /mycontext,if not use request,are there other method to get it?because i want to get it use normal java app,not web app?
 
Joe Ess
Bartender
Posts: 9428
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ask for http://xxx.xx.xx:8080/mycontext/index.html
Of course, directory indexing is often disabled for security reasons.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!