I have one JSP that uses
<%@ include file="_include.jspf"%>
to include another JSP fragment file.
The included file contains a Struts tag that maps a request parameter onto the page:
<%@ taglib uri="/tags/bean" prefix="bean"%>
<%@ taglib uri="/tags/logic" prefix="logic"%>
<logic:present parameter="h2">
<bean:parameter id="header" name="h2"/>
<h2><%=header%></h2>
</logic:present>
If this included JSP code is pasted into the surrounding JSP file, it works OK.
– It also works OK if included, but when included, the ME JSP editor marks the filename to be included in red, and complains:
h2 cannot be resolved (in file: _include.jspf)