jsp页面基础模板
base.jsp
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath }" />
<!-- 页面默认样式和通用js文件 -->
<link rel="stylesheet" href="${ctx}/skin/default/css/default.css">
<script src="${ctx }/js/common.js"></script>
原文地址:https://www.cnblogs.com/zxfei/p/11569753.html
时间: 2024-10-11 03:45:26