Add bootstrap.min.css to local, replace cdn
parent
45e7a0a1bc
commit
f049c72012
|
@ -1,38 +1,38 @@
|
|||
<%--
|
||||
*
|
||||
* @author Shengzhao Li
|
||||
--%>
|
||||
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<c:set var="contextPath" value="${pageContext.request.contextPath}" scope="application"/>
|
||||
|
||||
<meta name="viewport" content="width=device-width,user-scalable=no"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
|
||||
<title><decorator:title default=""/> - Spring Security&Oauth2</title>
|
||||
|
||||
<link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"/>
|
||||
<decorator:head/>
|
||||
|
||||
</head>
|
||||
<body class="container">
|
||||
<div>
|
||||
<div>
|
||||
<decorator:body/>
|
||||
</div>
|
||||
<div>
|
||||
<hr/>
|
||||
<p>
|
||||
<a href="mailto:monkeyk1987@gmail.com">monkeyk1987@gmail.com</a>, from <a
|
||||
href="http://git.oschina.net/shengzhao/spring-oauth-server" target="_blank">spring-oauth-server</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
<%--
|
||||
*
|
||||
* @author Shengzhao Li
|
||||
--%>
|
||||
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<%@ taglib uri="http://www.opensymphony.com/sitemesh/decorator" prefix="decorator" %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<c:set var="contextPath" value="${pageContext.request.contextPath}" scope="application"/>
|
||||
|
||||
<meta name="viewport" content="width=device-width,user-scalable=no"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
|
||||
<title><decorator:title default=""/> - Spring Security&Oauth2</title>
|
||||
|
||||
<link href="${contextPath}/resources/bootstrap.min.css" rel="stylesheet"/>
|
||||
<decorator:head/>
|
||||
|
||||
</head>
|
||||
<body class="container">
|
||||
<div>
|
||||
<div>
|
||||
<decorator:body/>
|
||||
</div>
|
||||
<div>
|
||||
<hr/>
|
||||
<p>
|
||||
<a href="mailto:monkeyk1987@gmail.com">monkeyk1987@gmail.com</a>, from <a
|
||||
href="http://git.oschina.net/shengzhao/spring-oauth-server" target="_blank">spring-oauth-server</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -1,33 +1,34 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd">
|
||||
|
||||
|
||||
<!--<import resource="security.xml"/>-->
|
||||
|
||||
<!--annotation configuration -->
|
||||
<context:annotation-config/>
|
||||
<context:component-scan base-package="cc.wdcy.web"/>
|
||||
|
||||
<!--static resource-->
|
||||
<mvc:resources mapping="/index.jsp*" location="/index.jsp"/>
|
||||
|
||||
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
|
||||
<property name="order" value="2"/>
|
||||
</bean>
|
||||
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
|
||||
</bean>
|
||||
|
||||
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
||||
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
|
||||
<property name="prefix" value="/WEB-INF/jsp/"/>
|
||||
<property name="suffix" value=".jsp"/>
|
||||
</bean>
|
||||
|
||||
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<beans xmlns="http://www.springframework.org/schema/beans"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||
xmlns:context="http://www.springframework.org/schema/context"
|
||||
xmlns:mvc="http://www.springframework.org/schema/mvc"
|
||||
xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
|
||||
http://www.springframework.org/schema/context
|
||||
http://www.springframework.org/schema/context/spring-context.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.1.xsd">
|
||||
|
||||
|
||||
<!--<import resource="security.xml"/>-->
|
||||
|
||||
<!--annotation configuration -->
|
||||
<context:annotation-config/>
|
||||
<context:component-scan base-package="cc.wdcy.web"/>
|
||||
|
||||
<!--static resource-->
|
||||
<mvc:resources mapping="/index.jsp*" location="/index.jsp"/>
|
||||
<mvc:resources mapping="/resources/**" location="/resources/"/>
|
||||
|
||||
<bean class="org.springframework.web.servlet.mvc.annotation.DefaultAnnotationHandlerMapping">
|
||||
<property name="order" value="2"/>
|
||||
</bean>
|
||||
<bean class="org.springframework.web.servlet.mvc.annotation.AnnotationMethodHandlerAdapter">
|
||||
</bean>
|
||||
|
||||
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver">
|
||||
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView"/>
|
||||
<property name="prefix" value="/WEB-INF/jsp/"/>
|
||||
<property name="suffix" value=".jsp"/>
|
||||
</bean>
|
||||
|
||||
|
||||
</beans>
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue