<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page trimDirectiveWhitespaces="true" %>
jstl
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
返回多个参数
classpath:所有路径下
<mvc:default-servlet-handler/>
springmvc 放在末尾
<mvc:resources location="/css/" mapping="/css/"/>
<mvc:resources location="/js/" mapping="/js/"/>
<mvc:resources location="/fonts/" mapping="/fonts/"/>
<mvc:resources location="/lib/" mapping="/lib/"/>
<mvc:resources location="/images/" mapping="/images/**"/>
<context:property-placeholder location="classpath:conf/*.properties"/>
<build>
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>/.properties</include>
<include>/.xml</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>
<mvc:interceptors>
<mvc:interceptor>
<mvc:mapping path="/**"/>
<bean class="cn.e3mall.cart.interceptor.LoginInterceptor"></bean>
</mvc:interceptor>
</mvc:interceptors>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page trimDirectiveWhitespaces="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>后台登录-X-admin1.1</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" href="{pageContext.request.contextPath}/css/font.css">
<link rel="stylesheet" href="{pageContext.request.contextPath}/lib/layui/layui.js" charset="utf-8"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/xadmin.js"></script>
</head>
<div class="swiper-slide"><img class="item" src="{pageContext.request.contextPath}/images/b.jpg" alt=""></div>
<div class="swiper-slide"><img class="item" src="{pageContext.request.contextPath}/images/d.jpg" alt=""></div>
<div class="swiper-slide"><img class="item" src="{pageContext.request.contextPath}/images/f.jpg" alt=""></div>
<div class="swiper-slide"><img class="item" src="{pageContext.request.contextPath}/images/h.jpg" alt=""></div>
<div class="swiper-slide"><img class="item" src="{pageContext.request.contextPath}/images/j.jpg" alt=""></div>
<div class="swiper-slide"><img class="item" src="${pageContext.request.contextPath}/images/k.jpg" alt=""></div>
<div class="swiper-slide"><span class="reset">初始化</span></div>