how can i access remote files and directories through links on JSP page. Say, i want to access a file named 'jndi.pdf' residing on a server named 'myserver' placed under directory '//admin1/pdf/tuts/jndi.pdf' through a link on a JSP page.
say
(a href="//admin1/pdf/tuts/jndi.pdf" jndi /a)
-
accessing remote files and directories (1 messages)
- Posted by: umar ali
- Posted on: October 14 2005 13:29 EDT
Threaded Messages (1)
- accessing remote files and directories by Cristiano Kliemann on October 26 2005 20:02 EDT
-
accessing remote files and directories[ Go to top ]
- Posted by: Cristiano Kliemann
- Posted on: October 26 2005 20:02 EDT
- in response to umar ali
If I understood right, you're trying to do it in an Intranet, right? You can create something like:
(a href="file://admin1/pdf/tuts/jndi.pdf")something(/a)
But I think it only works with IE.
The best way to allow people to download files of another server is running a light HTTP server.