• Post Reply Bookmark Topic Watch Topic
  • New Topic

Access a File directly

 
shweta bulbule
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have many files in one place in my web application. Now i don't want to go thru servlet but directly want to access and download files (xml files)

is there any way i can do it ?? what if i want to identify the user somehow (with the help of web.xml).

Thanks,
Shweta
 
Ramesh Shanmugam
Ranch Hand
Posts: 132
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is one way to access the XML files in the webserver. Use can make use of AJAX and can give request to the particular file from where you will get a XML collection as a response.
 
shweta bulbule
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, do you have any document related to this??
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!