Browse Source

Change to wdcy

0.2
lishengzhao 11 years ago
parent
commit
21c2ae44c3
  1. 75
      pom.xml
  2. 11
      src/main/webapp/WEB-INF/logback.xml
  3. 5
      src/main/webapp/WEB-INF/wdcy-servlet.xml
  4. 4
      src/main/webapp/WEB-INF/web.xml

75
pom.xml

@ -193,12 +193,7 @@
<artifactId>ehcache-web</artifactId>
<version>2.0.4</version>
</dependency>
<dependency>
<groupId>javax.mail</groupId>
<artifactId>mail</artifactId>
<version>1.4</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>opensymphony</groupId>
<artifactId>sitemesh</artifactId>
@ -221,11 +216,7 @@
<artifactId>commons-dbcp</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>commons-fileupload</groupId>
<artifactId>commons-fileupload</artifactId>
<version>1.2.2</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
@ -252,11 +243,11 @@
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-orm</artifactId>
<version>${spring.version}</version>
</dependency>
<!--<dependency>-->
<!--<groupId>org.springframework</groupId>-->
<!--<artifactId>spring-orm</artifactId>-->
<!--<version>${spring.version}</version>-->
<!--</dependency>-->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-tx</artifactId>
@ -327,24 +318,6 @@
<scope>compile</scope>
</dependency>
<!--<dependency>-->
<!--<groupId>cglib</groupId>-->
<!--<artifactId>cglib</artifactId>-->
<!--<version>2.2.2</version>-->
<!--</dependency>-->
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr-runtime</artifactId>
<version>3.3</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>stringtemplate</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
@ -361,12 +334,6 @@
<version>1.7.5</version>
</dependency>
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>javase</artifactId>
<version>2.2</version>
</dependency>
<!--mybatis-->
<dependency>
<groupId>org.mybatis</groupId>
@ -390,28 +357,6 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>net.sf.json-lib</groupId>
<artifactId>json-lib</artifactId>
<version>2.4</version>
<classifier>jdk15</classifier>
</dependency>
<dependency>
<groupId>displaytag</groupId>
<artifactId>displaytag</artifactId>
<version>1.2</version>
<exclusions>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-log4j12</artifactId>
</exclusion>
<exclusion>
<groupId>org.slf4j</groupId>
<artifactId>jcl104-over-slf4j</artifactId>
</exclusion>
</exclusions>
</dependency>
<!--public test dependencies-->
<dependency>
<groupId>org.springframework</groupId>
@ -419,12 +364,6 @@
<version>${spring.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easymock</groupId>
<artifactId>easymock</artifactId>
<version>3.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>

11
src/main/webapp/WEB-INF/logback.xml

@ -8,17 +8,6 @@
</encoder>
</appender>
<!--<appender name="AccessLogin" class="ch.qos.logback.core.FileAppender">-->
<!--<file>../logs/access_login.log</file>-->
<!--<append>true</append>-->
<!--<encoder>-->
<!--<pattern>%d{yyyy-MM-dd HH:mm:ss} %level %class:%line - %msg%n</pattern>-->
<!--</encoder>-->
<!--</appender>-->
<!--<logger name="com.honyee.jiuzhai.web.context.JiuzhaiAuthenticationSuccessHandler" level="DEBUG" additivity="false">-->
<!--<appender-ref ref="AccessLogin"/>-->
<!--</logger>-->
<!--springframework package level: WARN-->
<logger name="org.springframework" level="WARN"/>

5
src/main/webapp/WEB-INF/hy-servlet.xml → src/main/webapp/WEB-INF/wdcy-servlet.xml

@ -29,10 +29,5 @@
<property name="suffix" value=".jsp"/>
</bean>
<!-- fileUpload Support -->
<bean id="webMultipartResolver" class="org.springframework.web.multipart.commons.CommonsMultipartResolver">
<property name="defaultEncoding" value="UTF-8"/>
<property name="maxUploadSize" value="-1"/>
</bean>
</beans>

4
src/main/webapp/WEB-INF/web.xml

@ -113,12 +113,12 @@
<!--hy mvc-->
<servlet>
<servlet-name>hy</servlet-name>
<servlet-name>wdcy</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<load-on-startup>2</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>hy</servlet-name>
<servlet-name>wdcy</servlet-name>
<url-pattern>/</url-pattern>
</servlet-mapping>

Loading…
Cancel
Save