我要打开一个页面,该页面包含一个文件夹,当我们在地址栏中写入此文件夹地址时,应打开该页面.这怎么可能 [英] I want to open a page and that page consist in a folder and when we write this folder address in address bar then this page should open . How is this possible

查看:71
本文介绍了我要打开一个页面,该页面包含一个文件夹,当我们在地址栏中写入此文件夹地址时,应打开该页面.这怎么可能的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要打开一个页面,该页面包含一个文件夹,当我们在地址栏中写入此文件夹地址时,应打开该页面.

I want to open a page and that page consist in a folder and when we write this folder address in address bar then this page should open .
How is this possible

推荐答案

我不太确定您到底想要什么,但是为了安全起见,您的Web应用程序与文件系统交互的能力接近于零.原因.但是,如果在浏览器中键入c:\,浏览器将浏览您的文件系统.如果有帮助,请取决于您要执行的操作,但不要假设由于您在本地测试的代码可以在本地工作,因此它可以在远程服务器上托管,而不是在涉及文件系统的情况下工作.
I''m not sure what you want exactly, but your web apps ability to interact with the file system is close to zero, for security reasons. But, if you type c:\ in your browser, the browser will browse your file system. If that helps, depends on what it is you''re trying to do, but don''t assume that because code you test locally, works locally, that it will work hosted on a remote server, not if it involves the file system.


假设用户权限是可以的,那么,如果该页面名为index.html(或Default.aspx),则应自动打开Internet URL.改为使用打开文件夹视图的本地URL.
Assuming that the user permissions are ok for that, then if the page is called index.html (or Default.aspx) it should open automatically for internet URLs. Local URLs with open a folder view instead.


这篇关于我要打开一个页面,该页面包含一个文件夹,当我们在地址栏中写入此文件夹地址时,应打开该页面.这怎么可能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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