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>