我想点击文件名,然后通过超链接直接看文件内容,应该怎么办啊?

解决方案 »

  1.   

    <a href="你的文件在服务器上的路径或者在网路上的路径">请点击</a>
      

  2.   

    这方法试过了,报HTTP Status 404 - /example/psbg/serialver.html----description The requested resource (/example/psbg/serialver.html) is not available
    顺便说下,我用的是相对路径。
      

  3.   

    不要在<a href="/...">把里边的"/“去了
      

  4.   

    这回用了绝对路径,提示这个:rmid - The Java RMI Activation System Daemon
    不知道什么意思。。