[英]Including external JavaScript file into jsp file getting some error
Javascript file is not including into JSP file. Javascript文件不包含在JSP文件中。 when I am trying to see it firebug I am getting below error one html tab and in javascript tab no file is present.
当我尝试查看萤火虫时,出现以下错误,一个html标签,而在javascript标签中,没有文件。
Apache Tomcat/7.0.63 - Error report Apache Tomcat / 7.0.63-错误报告
type Status report
类型状态报告
message
信息
description The requested resource is not available.
描述所请求的资源不可用。
Finally i got the solution. 终于我得到了解决方案。 I was giving wrong path name during file include.
文件包含期间我给出了错误的路径名。 I put below code into jsp and finally js is including
我将以下代码放入jsp,最后js包括
<head> <script src="<c:url value="/resources/js/jquery-1.2.6.min.js" />"></script> <script src="<c:url value="/resources/js/pass_mask_v0.1.js" />"></script> </head>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.