M
M
miner21002021-03-05 04:46:57
css
miner2100, 2021-03-05 04:46:57

Why doesn't netbeans see css styles included in jsp via @include?

We have a jsp page. With the help we connect header. In the included file with
<%@include file="../include/include.jspf" %>

<link href="${pageContext.request.contextPath}/css/form.css" rel="stylesheet" type="text/css">

add css styles.
In the application, the page is displayed correctly, i.e. styles are included.
But at the same time, in the Netbeans code analyzer, errors are shown that supposedly "Class ____ not found".
Tried to connect via JSTL
<link rel="stylesheet" type="text/css" href="<c:url value='/css/table.css'/>">

He doesn't see it either. How to correctly connect a css file to jsp so that the static analyzer correctly determines the presence or absence of styles?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question