accessing remote files and directories

Discussions

General J2EE: accessing remote files and directories

  1. accessing remote files and directories (1 messages)

    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)
  2. 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.