This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • 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??
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic