Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
MCMS
Commits
cd4672a3
"eladmin-common/src/main/vscode:/vscode.git/clone" did not exist on "84a65048f09a0c5d8eea1c5ab66b1bf78bd7dfe3"
Commit
cd4672a3
authored
Jan 15, 2019
by
killfen
Browse files
配置优化
parent
da21280b
Changes
24
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/WEB-INF/manager/login.ftl
View file @
cd4672a3
<!
DOCTYPE
html>
<!
DOCTYPE
html>
<
html
lang="en">
<
html
lang="en">
<
head
>
<
head
>
<#
include
"
$
{
managerViewPath
}
/include/meta.ftl"/>
<#
include
"/include/meta.ftl"/>
<
title
><#
if
app?has_content>$
{
app
.appName
}
<#else>MS</#if>管理系统$
{
managerViewPath
}
</title>
<
title
><#
if
app?has_content>$
{
app
.appName
}
<#else>MS</#if>管理系统$
{
managerViewPath
}
</title>
<
link
rel="shortcut icon" href="$
{
static
}
/global/images/ms.ico"/>
<
link
rel="shortcut icon" href="$
{
static
}
/global/images/ms.ico"/>
<
link
rel="bookmark" href="$
{
static
}
/global/images/ms.icoo"/>
<
link
rel="bookmark" href="$
{
static
}
/global/images/ms.icoo"/>
...
...
src/main/webapp/WEB-INF/manager/manager/manager.ftl
View file @
cd4672a3
<!
DOCTYPE
html>
<!
DOCTYPE
html>
<
html
lang="en">
<
html
lang="en">
<
head
>
<
head
>
<#include "
$
{
managerViewPath
}
/include/macro.ftl"/>
<#include "/include/macro.ftl"/>
<#include "
$
{
managerViewPath
}
/include/meta.ftl"/>
<#include "/include/meta.ftl"/>
</
head
>
</
head
>
<
body
>
<
body
>
<@
ms
.content
>
<@
ms
.content
>
...
...
src/main/webapp/WEB-INF/manager/role/role_list.ftl
View file @
cd4672a3
<!
DOCTYPE
html>
<!
DOCTYPE
html>
<
html
lang="en">
<
html
lang="en">
<
head
>
<
head
>
<#include "
$
{
managerViewPath
}
/include/meta.ftl"/>
<#include "/include/meta.ftl"/>
<#include "
$
{
managerViewPath
}
/include/macro.ftl"/>
<#include "/include/macro.ftl"/>
<
style
>
<
style
>
</
style
>
</
style
>
...
...
src/main/webapp/WEB-INF/web.xml
deleted
100644 → 0
View file @
da21280b
<?xml version="1.0" encoding="UTF-8"?>
<web-app
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns=
"http://java.sun.com/xml/ns/javaee"
xmlns:web=
"http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation=
"http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
id=
"WebApp_ID"
version=
"3.0"
>
<display-name>
mybatis
</display-name>
<context-param>
<param-name>
contextConfigLocation
</param-name>
<param-value>
classpath:spring-mvc.xml,classpath:spring-mybatis.xml,classpath:spring-shiro.xml
</param-value>
</context-param>
<filter>
<description>
字符集过滤器
</description>
<filter-name>
encodingFilter
</filter-name>
<filter-class>
org.springframework.web.filter.CharacterEncodingFilter
</filter-class>
<init-param>
<description>
字符集编码
</description>
<param-name>
encoding
</param-name>
<param-value>
UTF-8
</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>
encodingFilter
</filter-name>
<url-pattern>
/*
</url-pattern>
</filter-mapping>
<listener>
<description>
spring监听器
</description>
<listener-class>
org.springframework.web.context.ContextLoaderListener
</listener-class>
</listener>
<!-- 防止spring内存溢出监听器 -->
<listener>
<listener-class>
org.springframework.web.util.IntrospectorCleanupListener
</listener-class>
</listener>
<!-- spring mvc servlet -->
<servlet>
<description>
spring mvc servlet
</description>
<servlet-name>
springMvc
</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<init-param>
<description>
spring mvc 配置文件
</description>
<param-name>
contextConfigLocation
</param-name>
<param-value>
classpath:spring-mvc.xml
</param-value>
</init-param>
<load-on-startup>
1
</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>
springMvc
</servlet-name>
<url-pattern>
*.do
</url-pattern>
</servlet-mapping>
<!-- Apache Shiro -->
<filter>
<filter-name>
shiroFilter
</filter-name>
<filter-class>
org.springframework.web.filter.DelegatingFilterProxy
</filter-class>
<init-param>
<param-name>
targetFilterLifecycle
</param-name>
<param-value>
true
</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>
shiroFilter
</filter-name>
<url-pattern>
/*
</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>
index
</welcome-file>
<welcome-file>
default.html
</welcome-file>
<welcome-file>
default.htm
</welcome-file>
<welcome-file>
index.htm
</welcome-file>
<welcome-file>
index.html
</welcome-file>
<welcome-file>
login.do
</welcome-file>
</welcome-file-list>
<!-- 配置session超时时间,单位分钟 -->
<error-page>
<error-code>
404
</error-code>
<location>
/error/404.do
</location>
</error-page>
<error-page>
<error-code>
500
</error-code>
<location>
/error/500.do
</location>
</error-page>
<error-page>
<error-code>
405
</error-code>
<location>
/error/405.do
</location>
</error-page>
<error-page>
<error-code>
504
</error-code>
<location>
/error/504.do
</location>
</error-page>
<session-config>
<session-timeout>
15
</session-timeout>
</session-config>
</web-app>
\ No newline at end of file
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment