为何在Tomcat中配置了虚拟映射,jsp文件依然找不到图片?

为何在Tomcat中配置了虚拟映射,jsp文件依然找不到图片?

<%--
  Created by IntelliJ IDEA.
  User: zhangzq
  Date: 2019/1/5
  Time: 13:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="application/msword">

    <title>Insert title here </title>
    <script type="application/javascript" src="${pageContext.request.contextPath}/js/jquery-1.12.4.js"></script>
</head>
<body>


<img src="/imgurl/fl.jpg" alt="11">


<script type="application/javascript">
</script>
</body>
</html>

图片说明图片说明

找到答案,是因为eclipse在启动服务器的时候,重置了server文件,取消自动重置就可以了

你点开后 查看链接地址,在网址中打开看看能不能打开,如果不能打开那还是路径有问题吧。。