From 7255f52f216c3fc037b6868a0f358b5eb0fd25bb Mon Sep 17 00:00:00 2001 From: monkeyk7 Date: Wed, 17 Jan 2018 23:44:06 +0800 Subject: [PATCH] Add trimDirectiveWhitespaces="true" --- src/main/webapp/WEB-INF/jsp/decorators/main.jsp | 2 +- src/main/webapp/index.jsp | 2 +- src/main/webapp/login.jsp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/webapp/WEB-INF/jsp/decorators/main.jsp b/src/main/webapp/WEB-INF/jsp/decorators/main.jsp index c4938ab..4a7543a 100644 --- a/src/main/webapp/WEB-INF/jsp/decorators/main.jsp +++ b/src/main/webapp/WEB-INF/jsp/decorators/main.jsp @@ -3,7 +3,7 @@ * @author Shengzhao Li --%> -<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" trimDirectiveWhitespaces="true" %> <%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> diff --git a/src/main/webapp/index.jsp b/src/main/webapp/index.jsp index 36b0172..0999ba0 100644 --- a/src/main/webapp/index.jsp +++ b/src/main/webapp/index.jsp @@ -3,7 +3,7 @@ * @author Shengzhao Li --%> -<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" trimDirectiveWhitespaces="true" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> diff --git a/src/main/webapp/login.jsp b/src/main/webapp/login.jsp index a10e276..cba1e0d 100644 --- a/src/main/webapp/login.jsp +++ b/src/main/webapp/login.jsp @@ -3,7 +3,7 @@ * @author Shengzhao Li --%> -<%@ page contentType="text/html;charset=UTF-8" language="java" %> +<%@ page contentType="text/html;charset=UTF-8" language="java" trimDirectiveWhitespaces="true" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>