如何在客户端打开服务器的文件夹 [英] how to open a folder of server in client side

查看:495
本文介绍了如何在客户端打开服务器的文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在服务器中的一个jsp中使用了此代码

I have used this code in one of the jsp in server

Process process = new ProcessBuilder("explorer.exe",folderpath).start();


现在,我正在客户端访问该应用程序.
现在的问题是,当我单击服务器中打开的按钮文件夹时,
但我想在客户端打开此文件夹..

您可以就此进行帮助吗?


Now i am accessing that application in client side.
Now the problem is when i am clicking the button folder is opening in server,
but i want to open this folder in client side..

Could you help regarding this...

推荐答案

您似乎不了解互联网的工作原理.您的服务器和客户端是两回事.在服务器上编写的代码在服务器上运行.您无法使用jsp生成的全部HTML来在客户端打开服务器或客户端文件夹.
you don''t seem to understand how the internet works. Your server and your client are two different things. Code written on your server, runs on your server. You can''t open a server or a client folder, on the client side, using HTML, which is all your jsp generates.


这篇关于如何在客户端打开服务器的文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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