Details
Description
The check in JspScriptletCheck does incorrectly detect JSP directives as scriptlets leading to a lot false positives in JSPs containing only directives.
The check in JspScriptletCheck does incorrectly detect JSP directives as scriptlets leading to a lot false positives in JSPs containing only directives.
My original observation was not quite correct. Instead the error message was in a line like
<%@include file="/include/global.jsp"%><%
%><body>...</body>
Very often empty scriptlets are used to prevent newlines in the output. Therefore at least one boolean property should be available to exclude empty scriptlets from that check.