spring - Can I declare <%@page~ contentType~ pageEncoding~%> or taglib like JSTL only once by using <jsp:include/>? -


i had declare

<%@ page language="java" contenttype="text/html; charset=utf-8" pageencoding="utf-8" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ page session="true" %> 

these 3 lines each page of jsp file in spring mvc project. made header.jsp 3 lines and, , used other jsp pages.

but won't work. other jsp pages still needed declare 3 lines.

any way not declare 3 lines every page, , declared once?


Comments

Popular posts from this blog

magento2 - Magento 2 admin grid add filter to collection -

Android volley - avoid multiple requests of the same kind to the server? -

Combining PHP Registration and Login into one class with multiple functions in one PHP file -