Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
5f50c864
Commit
5f50c864
authored
Jul 09, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEV] delete some spring devpendence for web
parent
59ba591d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
68 additions
and
70 deletions
+68
-70
pom.xml
atms-web/pom.xml
+0
-0
applicationContext-mvc.xml
atms-web/src/main/resources/applicationContext-mvc.xml
+43
-43
applicationContext.xml
atms-web/src/main/resources/applicationContext.xml
+25
-27
No files found.
atms-web/pom.xml
View file @
5f50c864
This diff is collapsed.
Click to expand it.
atms-web/src/main/resources/applicationContext-mvc.xml
View file @
5f50c864
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://www.springframework.org/schema/beans"
<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:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc=
"http://www.springframework.org/schema/mvc"
xmlns:mvc=
"http://www.springframework.org/schema/mvc"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd"
>
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd"
>
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- Spring-MVC配置 -->
<!-- Spring-MVC配置 -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<mvc:resources
mapping=
"/**"
location=
"/"
/>
<mvc:resources
mapping=
"/**"
location=
"/"
/>
<mvc:annotation-driven>
<mvc:annotation-driven>
<mvc:message-converters>
<mvc:message-converters>
<!-- <ref bean="fastJsonHttpMessageConverter" /> -->
<!-- <ref bean="fastJsonHttpMessageConverter" /> -->
<ref
bean=
"mappingJackson2HttpMessageConverter"
/>
<ref
bean=
"mappingJackson2HttpMessageConverter"
/>
</mvc:message-converters>
</mvc:message-converters>
</mvc:annotation-driven>
</mvc:annotation-driven>
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<!-- 整合Thymeleaf3 -->
<!-- 整合Thymeleaf3 -->
<!-- See: http://www.thymeleaf.org/doc/tutorials/3.0/thymeleafspring.html -->
<!-- See: http://www.thymeleaf.org/doc/tutorials/3.0/thymeleafspring.html -->
<!-- **************************************************************** -->
<!-- **************************************************************** -->
<bean
id=
"templateResolver"
<bean
id=
"templateResolver"
class=
"org.thymeleaf.spring4.templateresolver.SpringResourceTemplateResolver"
>
class=
"org.thymeleaf.spring4.templateresolver.SpringResourceTemplateResolver"
>
<property
name=
"prefix"
value=
"/WEB-INF/templates/"
/>
<property
name=
"prefix"
value=
"/WEB-INF/templates/"
/>
<property
name=
"suffix"
value=
".html"
/>
<property
name=
"suffix"
value=
".html"
/>
<property
name=
"templateMode"
value=
"HTML"
/>
<property
name=
"templateMode"
value=
"HTML"
/>
<property
name=
"cacheable"
value=
"false"
/>
<property
name=
"cacheable"
value=
"false"
/>
<property
name=
"characterEncoding"
value=
"UTF-8"
/>
<property
name=
"characterEncoding"
value=
"UTF-8"
/>
</bean>
</bean>
<bean
id=
"templateEngine"
class=
"org.thymeleaf.spring4.SpringTemplateEngine"
>
<bean
id=
"templateEngine"
class=
"org.thymeleaf.spring4.SpringTemplateEngine"
>
<property
name=
"templateResolver"
ref=
"templateResolver"
/>
<property
name=
"templateResolver"
ref=
"templateResolver"
/>
<property
name=
"enableSpringELCompiler"
value=
"true"
/>
<property
name=
"enableSpringELCompiler"
value=
"true"
/>
<property
name=
"additionalDialects"
>
<property
name=
"additionalDialects"
>
<set>
<set>
<!-- Note the package would change to 'springsecurity3' if you are using
<!-- Note the package would change to 'springsecurity3' if you are using
that version -->
that version -->
<bean
<bean
class=
"org.thymeleaf.extras.springsecurity4.dialect.SpringSecurityDialect"
/>
class=
"org.thymeleaf.extras.springsecurity4.dialect.SpringSecurityDialect"
/>
</set>
</set>
</property>
</property>
</bean>
</bean>
<bean
class=
"org.thymeleaf.spring4.view.ThymeleafViewResolver"
>
<bean
class=
"org.thymeleaf.spring4.view.ThymeleafViewResolver"
>
<property
name=
"templateEngine"
ref=
"templateEngine"
/>
<property
name=
"templateEngine"
ref=
"templateEngine"
/>
<property
name=
"characterEncoding"
value=
"UTF-8"
/>
<property
name=
"characterEncoding"
value=
"UTF-8"
/>
<property
name=
"order"
value=
"100"
/>
<property
name=
"order"
value=
"100"
/>
</bean>
</bean>
</beans>
</beans>
\ No newline at end of file
atms-web/src/main/resources/applicationContext.xml
View file @
5f50c864
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns=
"http://www.springframework.org/schema/beans"
<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:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc=
"http://www.springframework.org/schema/mvc"
xmlns:context=
"http://www.springframework.org/schema/context"
xmlns:aop=
"http://www.springframework.org/schema/aop"
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
xsi:schemaLocation=
"http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd"
>
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.3.xsd
http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-4.3.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop.xsd "
>
<bean
id=
"standardPBEStringEncryptor"
class=
"org.jasypt.encryption.pbe.StandardPBEStringEncryptor"
>
<bean
id=
"standardPBEStringEncryptor"
class=
"org.jasypt.encryption.pbe.StandardPBEStringEncryptor"
>
<property
name=
"password"
<property
name=
"password"
value=
"${atms_password:9C7jLBQ62cDbVwIzP85DIlzdAm76DdMb}"
/>
value=
"${atms_password:9C7jLBQ62cDbVwIzP85DIlzdAm76DdMb}"
/>
</bean>
</bean>
<bean
id=
"encryptablePropertyPlaceholderConfigurer"
<bean
id=
"encryptablePropertyPlaceholderConfigurer"
class=
"org.jasypt.spring31.properties.EncryptablePropertyPlaceholderConfigurer"
>
class=
"org.jasypt.spring31.properties.EncryptablePropertyPlaceholderConfigurer"
>
<property
name=
"ignoreUnresolvablePlaceholders"
value=
"true"
/>
<property
name=
"ignoreUnresolvablePlaceholders"
value=
"true"
/>
<constructor-arg
ref=
"standardPBEStringEncryptor"
/>
<constructor-arg
ref=
"standardPBEStringEncryptor"
/>
<property
name=
"locations"
>
<property
name=
"locations"
>
<list>
<list>
<!-- Base settings for all environments -->
<!-- Base settings for all environments -->
<value>
classpath:conf_base.properties
</value>
<value>
classpath:conf_base.properties
</value>
<!-- Settings for selected environment -->
<!-- Settings for selected environment -->
<value>
classpath:conf.properties
<value>
classpath:conf.properties
</value>
</value>
</list>
</list>
</property>
</property>
</bean>
</bean>
<context:component-scan
base-package=
"pwc.taxtech.atms.web"
/>
<context:component-scan
base-package=
"pwc.taxtech.atms.web"
/>
<!-- <tx:annotation-driven proxy-target-class="true" /> -->
<!-- <tx:annotation-driven proxy-target-class="true" /> -->
</beans>
</beans>
\ No newline at end of file
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