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

Lists in Python -

android - can not access to progress bar in an other activity -

java - Vaadin 7 Pass Data Between Views -