Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何退出当前目录Dreamland?
我必须在Dreamland目录内的jsp页面中使用以下标记:
<link href="css/style.css" rel="stylesheet" type="text/css" />
目前它无法找到css目录。
您可以尝试使用/css/style.css, 或../css/style.css(如果您不使用服务器)。
/css/style.css
../css/style.css
<link href="../css/style.css" rel="stylesheet" type="text/css" />
../意味着上一级目录,一级../将您放入Web Pages文件夹
../