It will be available:
if you use static include ( <%@ include file=".." %>), then the body of the included file is placed in the method of the doGet(..)generated servlet (each JSP is converted to a servlet), so logically, the source object is available here request.
include (<jsp:include>), RequestDispatcher.include(..) ( ). , ServletRequest, , .
, Java- JSP . EL JSTL. request.getAttribute("x") ${x}.