网络驱动器的链接在独立的Tomcat中不起作用,但在Eclipse + Tomcat中起作用 [英] Links to network drive doesn't work in standalone Tomcat, but works in Eclipse+Tomcat

查看:255
本文介绍了网络驱动器的链接在独立的Tomcat中不起作用,但在Eclipse + Tomcat中起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试创建超链接以从网络驱动器打开文件 G:(更多详情这里)。 G:被映射为网络驱动器。




  • 当我在Tomcat上部署WAR时服务器集成到Eclipse,工作

  • 当我将它部署在相同但独立的Tomcat本身时,它不起作用



我试过:




  • 将Tomcat作为域管理员运行,该帐户可以访问该位置,但没有成功

  • 将其作为本地用户运行,但选中允许服务与桌面交互的框。此外没有成功



集成Tomcat和Tomcat之间的访问权限有何不同?



解决方案:




  • Case Eclipse + Tomcat:Path G:/test_dir/test.txt 工作

  • Case Standalone Tomcat:Path \\ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ ul>

    解决方案

    解决方案:




    • 案例Eclipse + Tomcat:路径 G:/test_dir/test.txt 工作

    • Case Standalone Tomcat:Path \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\

      I'm trying to create hyperlinks to open files from network drive G: (more details here). G: is mapped as network drive.

      • When I deploy the WAR on Tomcat server integrated to Eclipse, it works.
      • When I deploy it on the same but standalone Tomcat itself, it doesn't work

      I've tried:

      • Run Tomcat as Domain Admin, which has an access to the location, but without success.
      • Run it as Local user, but check the box Allow service to interact with desktop. Also without success.

      What's the difference in access between integrated Tomcat and Tomcat itself?

      SOLUTION:

      • Case Eclipse + Tomcat: Path G:/test_dir/test.txt works
      • Case Standalone Tomcat: Path \\\\server\\g\\test_dir\\test.txt works

      解决方案

      SOLUTION:

      • Case Eclipse + Tomcat: Path G:/test_dir/test.txt works
      • Case Standalone Tomcat: Path \\\\server\\g\\test_dir\\test.txt works

      这篇关于网络驱动器的链接在独立的Tomcat中不起作用,但在Eclipse + Tomcat中起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆