I want to make include jspf into index jsp page , these statements
<%-- any content can be specified here e.g.: --%>
<%@ page pageEncoding=\"UTF-8\" %&
JSPF files are intented to be statically included by @include
. Its source code becomes then literally part of the parent JSP file. This happens only once, during compiletime.
<%@include file="/WEB-INF/jspf/Header.jspf" %>
If you want a compiletime include with
then just rename .jspf
to .jsp
. The source code will then be compiled once separately and its output will be generated and included during runtime. This happens then on every request.