trimDirectiveWhitespaces =“true“的功能简介说明
下文笔者讲述trimDirectiveWhitespaces属性的功能简介说明,如下所示
trimDirectiveWhitespaces属性功能说明
trimDirectiveWhitespaces属性的功能: 可用于设置是否移除JSP中html中多余的空行
trimDirectiveWhitespaces属性的使用示例
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> <%@ page trimDirectiveWhitespaces="true" %> <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
版权声明
本文仅代表作者观点,不代表本站立场。
本文系作者授权发表,未经许可,不得转载。