我无法解决我的链接问题.你能帮我链接一下CSS和JS文件吗?

CSS:

<link  href="../Jquery/jquery.multiselect.css" rel="stylesheet"/>
<link  href="../Jquery/style.css" rel="stylesheet" />
<link  href="../Jquery/prettify.css" rel="stylesheet" />

JS:

<script  src="../Jquery/jquery.multiselect.js"></script>
<script  src="../Jquery/prettify.js"></script>

错误:

Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/RetailSmart/jsp/Jquery/jquery.multiselect.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/RetailSmart/jsp/Jquery/style.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/RetailSmart/jsp/Jquery/prettify.css
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/RetailSmart/jsp/Jquery/jquery.multiselect.js
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8080/RetailSmart/jsp/Jquery/prettify.js

请参阅此链接目录 struct .

enter image description here

推荐答案

你的文件不在jsp folder以下,所以找不到.

<script src="../../Jquery/prettify.js"></script>

Css相关问答推荐

相对于现有的转换3D应用关键帧动画

在COLOR-MIX()中使用var()似乎会使其对于不支持COLOR-MIX()的浏览器具有可读性,从而阻止了回退的工作

如何防止css边框缩小div?

React MUI 从 CSS 伪元素中删除内容

同时实现渐变文本和闪光文本效果是否可行?

重用 CSS 类更改一些属性

CSS Select 器在 rvest 中找到,在 RSelenium 中找不到

将框架放入 bootstrap 模式的正确方法是什么?

未知规则 @propertycss(unknownAtRules)

仅对父容器应用模糊效果

如何将 .btn-group 从 twitter-bootstrap 居中?

如何倾斜元素但保持文本正常(未倾斜)

内联块在 Internet Explorer 7、6 中不起作用

如何在连字符 (-) 等特殊字符后分词

为什么无论我做什么都不能改变复选框的 colored颜色 ?

Chrome 呈现 colored颜色 的方式与 Safari 和 Firefox 不同

为什么浏览器会为 CSS 属性创建供应商前缀?

如何让 flexbox 在计算中包含填充?

为什么对 HTML 表单而不是表格使用定义列表(DL、DD、DT)标签?

CSS垂直对齐不适用于浮动