Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
2991dab8
Commit
2991dab8
authored
May 21, 2017
by
fsn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改错误注释
parent
0342473e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
src/main/java/com/stylefeng/guns/config/web/WebConfig.java
+3
-3
No files found.
src/main/java/com/stylefeng/guns/config/web/WebConfig.java
View file @
2991dab8
...
@@ -14,7 +14,7 @@ import org.springframework.core.io.ClassPathResource;
...
@@ -14,7 +14,7 @@ import org.springframework.core.io.ClassPathResource;
import
org.springframework.web.context.request.RequestContextListener
;
import
org.springframework.web.context.request.RequestContextListener
;
/**
/**
*
spring mvc
配置类
*
web
配置类
*
*
* @author fengshuonan
* @author fengshuonan
* @date 2016年11月12日 下午5:03:32
* @date 2016年11月12日 下午5:03:32
...
@@ -68,7 +68,7 @@ public class WebConfig {
...
@@ -68,7 +68,7 @@ public class WebConfig {
* RequestContextListener注册
* RequestContextListener注册
*/
*/
@Bean
@Bean
public
ServletListenerRegistrationBean
<
RequestContextListener
>
requestContextListenerRegistration
(){
public
ServletListenerRegistrationBean
<
RequestContextListener
>
requestContextListenerRegistration
()
{
return
new
ServletListenerRegistrationBean
<
RequestContextListener
>(
new
RequestContextListener
());
return
new
ServletListenerRegistrationBean
<
RequestContextListener
>(
new
RequestContextListener
());
}
}
...
@@ -76,7 +76,7 @@ public class WebConfig {
...
@@ -76,7 +76,7 @@ public class WebConfig {
* ConfigListener注册
* ConfigListener注册
*/
*/
@Bean
@Bean
public
ServletListenerRegistrationBean
<
ConfigListener
>
configListenerRegistration
(){
public
ServletListenerRegistrationBean
<
ConfigListener
>
configListenerRegistration
()
{
return
new
ServletListenerRegistrationBean
<
ConfigListener
>(
new
ConfigListener
());
return
new
ServletListenerRegistrationBean
<
ConfigListener
>(
new
ConfigListener
());
}
}
}
}
Write
Preview
Markdown
is supported
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