<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/> ---------------不可用加Scope="request"
<c:set var="user" value="${sessionScope.CURRENT_USER}"/>
<c:set var="fields" value="${applicationScope.fields}"/>
jsp页面获取的时候用${ctx}即是页面的根目录