Good evening,
I have a strange problem, I'm trying to display images, map CSS and JS in jsp and it's not working, I just can not find it, the strangest thing is that I'm using the cst tag: "jstl / core" $ {pageContext.request.contextPath} and did not work.
I'm using simple Servlet without any framework.
<head><metahttp-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>clientes atuantes</title>
<link rel="stylesheet" href="<c:url value="/bootstrap/css/bootstrap.min.css"/>">
<link rel="stylesheet" href="<c:url value="/css/layout.css"/>">
<script type="text/javascript" src="<c:url value="/bootstrap/js/jquery-1.12.0.js" />"></script>
<script type="text/javascript" src="<c:url value="/bootstrap/js/bootstrap.min.js" />"></script>
</head>
<body>
<main>
<div class="col-md-12">
<div class="panel panel-default espacamentoExterno5">
<div class="panel-body">
<p><img src="<c:url value="/img/ativo.gif"/>" /> ativo</p>
<p><img src="<c:url value="/img/congelado.gif"/>" /> congelado</p>
<p><img src="<c:url value="/img/cancelado.gif"/>" /> cancelado</p>
</div>
</div>
</div>
</main>
</body>
Does anyone know what may be happening?