Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
技术术语.URL路径类型:绝对、相对和_Url_Path_Terminology_Relative Path_Absolute Path - Fatal编程技术网

技术术语.URL路径类型:绝对、相对和

技术术语.URL路径类型:绝对、相对和,url,path,terminology,relative-path,absolute-path,Url,Path,Terminology,Relative Path,Absolute Path,我理解绝对路径的类型为: http://www.example.com/thisdir/4/5uy3/2/s.js 而且,相对路径的类型为: 5uy3/2/s.js (in relation to directory "4") 但是,用斜线作为前缀引用回根的路径类型的术语是什么?例如,如果有人在s.js中编写脚本,他/她可能会在包含来自不同目录的javascript时使用/thisdir/4/5uy3/2/s.js,以避免在包含它时有意识地考虑当前的工作目录。 你知道这种路径叫什么吗 来自

我理解绝对路径的类型为:

http://www.example.com/thisdir/4/5uy3/2/s.js
而且,相对路径的类型为:

5uy3/2/s.js (in relation to directory "4")
但是,用斜线作为前缀引用回根的路径类型的术语是什么?例如,如果有人在
s.js
中编写脚本,他/她可能会在包含来自不同目录的javascript时使用
/thisdir/4/5uy3/2/s.js
,以避免在包含它时有意识地考虑当前的工作目录。 你知道这种路径叫什么吗

来自

有三种类型的链接路径:

  • 绝对路径(例如)
  • 文档相对路径(如dreamweaver/contents.html)
  • 站点根–相对路径(如/support/dreamweaver/contents.html)

术语“应用程序根目录”与“站点根目录”相同,只是站点必须是应用程序。

可能存在协议相关URL的重复。e、 g.//www.adobe.com/support/dreamweaver/contents.html