File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Can I get local drives of server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Can I get local drives of server" Watch "Can I get local drives of server" New topic

Can I get local drives of server

Amit Angarkar

Joined: Jan 12, 2001
Posts: 5
Can any body help in resolving this problem:
I want to get the local drives of the web server using JSP.
And when i pass the particular file(server drive d:\amit\a.html) name from the server to the client in the form of anchor tag
(<a href="d:\amit\a.html">a.html</a> )when client clicks this link it should be able to show the particular document residing on the physical drive of the server
Thanks in advance, send code if possible
Bob Moranski
Ranch Hand

Joined: Nov 22, 2000
Posts: 177
I am also confused. So when a remote client right click to "see" the link, it will appear as "d://some.html" inseatd of
I agree. Here's the link:
subject: Can I get local drives of server
It's not a secret anymore!