Selaa lähdekoodia

删除zheng-qa系统,整合到zheng-cms系统

shuzheng 9 vuotta sitten
vanhempi
sitoutus
4df5e9db49

+ 0 - 4
README.md

@@ -11,10 +11,6 @@ zheng
 |    ├── zheng-cms-job -- 消息队列、任务调度等
 |    ├── zheng-cms-admin -- 后台管理
 |    └── zheng-cms-web -- 网站前台
-├── zheng-qa -- 问答系统
-|    ├── zheng-qa-dao -- 数据库MyBatisGenerator操作
-|    ├── zheng-qa-service -- 业务逻辑
-|    └── zheng-qa-web -- 网站前台
 ├── zheng-upms -- 通用用户权限系统
 |    ├── zheng-upms-dao -- 数据库MyBatisGenerator操作
 |    ├── zheng-upms-service -- 业务逻辑

+ 0 - 26
zheng-qa/pom.xml

@@ -1,26 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <groupId>com.zheng</groupId>
-    <artifactId>zheng-qa</artifactId>
-    <version>1.0.0</version>
-    <packaging>pom</packaging>
-
-    <name>zheng-qa</name>
-    <url>http://www.zhangshuzheng.cn</url>
-
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-
-        <maven.compiler.source>1.7</maven.compiler.source>
-        <maven.compiler.target>1.7</maven.compiler.target>
-        <maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
-    </properties>
-
-    <modules>
-        <module>zheng-qa-dao</module>
-        <module>zheng-qa-service</module>
-        <module>zheng-qa-web</module>
-    </modules>
-</project>

+ 0 - 74
zheng-qa/zheng-qa-dao/pom.xml

@@ -1,74 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>com.zheng</groupId>
-        <artifactId>zheng-qa</artifactId>
-        <version>1.0.0</version>
-    </parent>
-
-    <artifactId>zheng-qa-dao</artifactId>
-    <packaging>jar</packaging>
-
-    <name>zheng-qa-dao</name>
-    <url>http://www.zhangshuzheng.cn</url>
-
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>com.zheng</groupId>
-            <artifactId>zheng-common</artifactId>
-            <version>1.0.0</version>
-            <type>jar</type>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <finalName>zheng-qa-dao</finalName>
-        <resources>
-            <resource>
-                <directory>src/main/java</directory>
-                <includes>
-                    <include>**/*.xml</include>
-                </includes>
-                <filtering>true</filtering>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-            </resource>
-        </resources>
-        <plugins>
-            <plugin>
-                <groupId>org.mybatis.generator</groupId>
-                <artifactId>mybatis-generator-maven-plugin</artifactId>
-                <version>1.3.2</version>
-                <dependencies>
-                    <dependency>
-                        <groupId>com.zheng</groupId>
-                        <artifactId>zheng-common</artifactId>
-                        <version>1.0.0</version>
-                    </dependency>
-                </dependencies>
-                <configuration>
-                    <verbose>true</verbose>
-                    <overwrite>true</overwrite>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <version>2.18.1</version>
-                <configuration>
-                    <!--是否跳过单元测试-->
-                    <skipTests>true</skipTests>
-                    <!--是否忽略单元测试错误-->
-                    <testFailureIgnore>true</testFailureIgnore>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>

+ 0 - 13
zheng-qa/zheng-qa-dao/src/main/java/com/zheng/qa/dao/App.java

@@ -1,13 +0,0 @@
-package com.zheng.qa.dao;
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-    }
-}

+ 0 - 74
zheng-qa/zheng-qa-dao/src/resources/generatorConfig.xml

@@ -1,74 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!DOCTYPE generatorConfiguration PUBLIC "-//mybatis.org//DTD MyBatis Generator Configuration 1.0//EN" "http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd" >
-<generatorConfiguration>
-
-	<!-- 配置文件 -->
-	<properties resource="jdbc.properties"></properties>
-
-	<!-- mysql驱动包 -->
-	<classPathEntry location="${classPathEntry}" />
-
-	<context id="context" targetRuntime="MyBatis3">
-
-		<property name="javaFileEncoding" value="UTF-8"/>
-
-		<!-- 由于beginningDelimiter和endingDelimiter的默认值为双引号("),在Mysql中不能这么写,所以还要将这两个默认值改为**反单引号(`)**,配置如下:  -->
-		<property name="beginningDelimiter" value=""/>
-		<property name="endingDelimiter" value=""/>
-
-		<!-- 为生成的Java模型创建一个toString方法 -->
-        <plugin type="org.mybatis.generator.plugins.ToStringPlugin"></plugin>
-
-		<!-- 为生成的Java模型类添加序列化接口,并生成serialVersionUID字段 -->
-		<plugin type="org.mybatis.generator.plugins.SerializablePlugin">
-			<property name="suppressJavaInterface" value="false"/>
-		</plugin>
-
-		<!-- 生成一个新的selectByExample方法,这个方法可以接受一个RowBounds参数,主要用来实现分页 -->
-        <plugin type="com.zheng.common.plugin.PaginationPlugin"></plugin>
-
-		<!-- 生成在XML中的<cache>元素 -->
-		<plugin type="org.mybatis.generator.plugins.CachePlugin">
-			<!-- 使用ehcache -->
-			<property name="cache_type" value="org.mybatis.caches.ehcache.LoggingEhcache" />
-			<!-- 内置cache配置 -->
-			<!--
-			<property name="cache_eviction" value="LRU" />
-			<property name="cache_flushInterval" value="60000" />
-			<property name="cache_readOnly" value="true" />
-			<property name="cache_size" value="1024" />
-			-->
-		</plugin>
-
-		<!-- Java模型生成equals和hashcode方法 -->
-		<plugin type="org.mybatis.generator.plugins.EqualsHashCodePlugin"></plugin>
-
-		<!-- 生成的代码去掉注释 -->
-		<commentGenerator>
-			<property name="suppressAllComments" value="true" />
-		</commentGenerator>
-
-		<!-- 数据库连接 -->
-		<jdbcConnection driverClass="${jdbc.driver}"
-			connectionURL="${jdbc.url}"
-			userId="${jdbc.username}"
-			password="${jdbc.password}" />
-
-		<!-- model生成 -->
-		<javaModelGenerator targetPackage="${generator.javaModelGenerator.targetPackage}" targetProject="src/main/java" />
-
-		<!-- MapperXML生成 -->
-		<sqlMapGenerator targetPackage="${generator.sqlMapGenerator.targetPackage}" targetProject="src/main/java" />
-
-		<!-- Mapper接口生成 -->
-		<javaClientGenerator targetPackage="${generator.javaClientGenerator.targetPackage}" targetProject="src/main/java" type="XMLMAPPER" />
-
-		<!-- 需要映射的表 -->
-		<table tableName="user" domainObjectName="User">
-			<generatedKey column="id" sqlStatement="MySql" identity="true" />
-		</table>
-		<table tableName="book" domainObjectName="Book">
-			<generatedKey column="id" sqlStatement="MySql" identity="true" />
-		</table>
-	</context>
-</generatorConfiguration>

+ 0 - 9
zheng-qa/zheng-qa-dao/src/resources/jdbc.properties

@@ -1,9 +0,0 @@
-jdbc.driver=com.mysql.jdbc.Driver
-jdbc.url=jdbc\:mysql\://127.0.0.1\:3306/zheng?useUnicode\=true&characterEncoding\=utf-8&autoReconnect\=true
-jdbc.username=root
-jdbc.password=123456
-
-classPathEntry=D:/mysql-connector-java-5.1.34.jar
-generator.javaModelGenerator.targetPackage=com.zheng.qa.dao.model
-generator.sqlMapGenerator.targetPackage=com.zheng.qa.dao.mapper
-generator.javaClientGenerator.targetPackage=com.zheng.qa.dao.mapper

+ 0 - 71
zheng-qa/zheng-qa-service/pom.xml

@@ -1,71 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>com.zheng</groupId>
-        <artifactId>zheng-qa</artifactId>
-        <version>1.0.0</version>
-    </parent>
-
-    <artifactId>zheng-qa-service</artifactId>
-    <packaging>jar</packaging>
-
-    <name>zheng-qa-service</name>
-    <url>http://www.zhangshuzheng.cn</url>
-
-    <properties>
-        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
-    </properties>
-
-    <dependencies>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.12</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>com.zheng</groupId>
-            <artifactId>zheng-qa-dao</artifactId>
-            <version>1.0.0</version>
-            <type>jar</type>
-        </dependency>
-        <!-- servlet -->
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <version>2.5</version>
-            <scope>provided</scope>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <finalName>zheng-qa-service</finalName>
-        <resources>
-            <resource>
-                <directory>src/main/java</directory>
-                <includes>
-                    <include>**/*.xml</include>
-                </includes>
-                <filtering>true</filtering>
-            </resource>
-            <resource>
-                <directory>src/main/resources</directory>
-            </resource>
-        </resources>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <version>2.18.1</version>
-                <configuration>
-                    <!--是否跳过单元测试-->
-                    <skipTests>true</skipTests>
-                    <!--是否忽略单元测试错误-->
-                    <testFailureIgnore>true</testFailureIgnore>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>

+ 0 - 13
zheng-qa/zheng-qa-service/src/main/java/com/zheng/qa/service/App.java

@@ -1,13 +0,0 @@
-package com.zheng.qa.service;
-
-/**
- * Hello world!
- *
- */
-public class App 
-{
-    public static void main( String[] args )
-    {
-        System.out.println( "Hello World!" );
-    }
-}

+ 0 - 38
zheng-qa/zheng-qa-service/src/test/java/com/zheng/qa/service/AppTest.java

@@ -1,38 +0,0 @@
-package com.zheng.qa.service;
-
-import junit.framework.Test;
-import junit.framework.TestCase;
-import junit.framework.TestSuite;
-
-/**
- * Unit test for simple App.
- */
-public class AppTest 
-    extends TestCase
-{
-    /**
-     * Create the test case
-     *
-     * @param testName name of the test case
-     */
-    public AppTest( String testName )
-    {
-        super( testName );
-    }
-
-    /**
-     * @return the suite of tests being tested
-     */
-    public static Test suite()
-    {
-        return new TestSuite( AppTest.class );
-    }
-
-    /**
-     * Rigourous Test :-)
-     */
-    public void testApp()
-    {
-        assertTrue( true );
-    }
-}

+ 0 - 108
zheng-qa/zheng-qa-web/pom.xml

@@ -1,108 +0,0 @@
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
-    <modelVersion>4.0.0</modelVersion>
-
-    <parent>
-        <groupId>com.zheng</groupId>
-        <artifactId>zheng-qa</artifactId>
-        <version>1.0.0</version>
-    </parent>
-
-    <artifactId>zheng-qa-web</artifactId>
-    <packaging>war</packaging>
-
-    <name>zheng-qa-web Maven Webapp</name>
-    <url>http://www.zhangshuzheng.cn</url>
-
-    <dependencies>
-        <dependency>
-            <groupId>com.zheng</groupId>
-            <artifactId>zheng-qa-service</artifactId>
-            <version>1.0.0</version>
-            <type>jar</type>
-        </dependency>
-        <dependency>
-            <groupId>junit</groupId>
-            <artifactId>junit</artifactId>
-            <version>4.12</version>
-            <scope>test</scope>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>servlet-api</artifactId>
-            <version>2.5</version>
-            <scope>provided</scope>
-        </dependency>
-        <dependency>
-            <groupId>javax.servlet</groupId>
-            <artifactId>jstl</artifactId>
-            <version>1.2</version>
-        </dependency>
-    </dependencies>
-
-    <profiles>
-        <profile>
-            <id>dev</id>
-            <properties>
-                <env>dev</env>
-            </properties>
-            <activation>
-                <activeByDefault>true</activeByDefault>
-            </activation>
-        </profile>
-        <profile>
-            <id>test</id>
-            <properties>
-                <env>test</env>
-            </properties>
-        </profile>
-        <profile>
-            <id>prod</id>
-            <properties>
-                <env>prod</env>
-            </properties>
-        </profile>
-    </profiles>
-
-    <build>
-        <finalName>zheng-qa-web</finalName>
-        <filters>
-            <filter>src/main/resources/profiles/${env}.properties</filter>
-        </filters>
-        <resources>
-            <resource>
-                <directory>src/main/resources</directory>
-                <filtering>true</filtering>
-            </resource>
-        </resources>
-        <plugins>
-            <!-- jetty插件 -->
-            <plugin>
-                <groupId>org.eclipse.jetty</groupId>
-                <artifactId>jetty-maven-plugin</artifactId>
-                <version>9.0.0.v20130308</version>
-                <configuration>
-                    <scanIntervalSeconds>3</scanIntervalSeconds>
-                    <webApp>
-                        <contextPath>/zheng-qa-web</contextPath>
-                    </webApp>
-                    <httpConnector>
-                        <port>8080</port>
-                    </httpConnector>
-                    <reload>automatic</reload>
-                </configuration>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-surefire-plugin</artifactId>
-                <version>2.18.1</version>
-                <configuration>
-                    <!--是否跳过单元测试-->
-                    <skipTests>true</skipTests>
-                    <!--是否忽略单元测试错误-->
-                    <testFailureIgnore>true</testFailureIgnore>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>

+ 0 - 15
zheng-qa/zheng-qa-web/src/main/java/com/zheng/qa/web/controller/BaseController.java

@@ -1,15 +0,0 @@
-package com.zheng.qa.web.controller;
-
-/**
- * 控制器基类
- * @author shuzheng
- * @date 2016年7月7日 上午10:08:47
- */
-public class BaseController {
-	
-	public static final String RESULT = "result";
-	public static final String DATA = "data";
-	public static final String SUCCESS = "success";
-	public static final String FAILED = "failed";
-
-}

+ 0 - 26
zheng-qa/zheng-qa-web/src/main/resources/applicationContext-threadpool.xml

@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns="http://www.springframework.org/schema/beans"
-	   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
-	   xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd">
-
-	<!-- 线程池配置 -->
-	<bean id="threadPoolTaskExecutor" class="org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor">
-		<!-- 线程池维护线程的最少数量 -->
-		<property name="corePoolSize" value="50" />
-		<!--  线程池维护线程的最大数量,默认为Integer.MAX_VALUE -->
-		<property name="maxPoolSize" value="1000" />
-		<!-- 线程池所使用的缓冲队列,一般需要设置值>=notifyScheduledMainExecutor.maxNum;默认为Integer.MAX_VALUE -->
-		<property name="queueCapacity" value="20000" />
-		<!-- 线程池维护线程所允许的空闲时间,默认为60s -->
-		<property name="keepAliveSeconds" value="300" />
-		<!-- 线程池对拒绝任务(无线程可用)的处理策略,目前只支持AbortPolicy、CallerRunsPolicy;默认为后者 -->
-		<property name="rejectedExecutionHandler">
-			<!-- AbortPolicy:直接抛出java.util.concurrent.RejectedExecutionException异常 -->
-			<!-- CallerRunsPolicy:主线程直接执行该任务,执行完之后尝试添加下一个任务到线程池中,可以有效降低向线程池内添加任务的速度 -->
-			<!-- DiscardOldestPolicy:抛弃旧的任务、暂不支持;会导致被丢弃的任务无法再次被执行 -->
-			<!-- DiscardPolicy:抛弃当前任务、暂不支持;会导致被丢弃的任务无法再次被执行 -->
-			<bean class="java.util.concurrent.ThreadPoolExecutor$CallerRunsPolicy" />
-		</property>
-	</bean>
-
-</beans>

+ 0 - 1
zheng-qa/zheng-qa-web/src/main/resources/config.properties

@@ -1 +0,0 @@
-env=${profile.env}

+ 0 - 23
zheng-qa/zheng-qa-web/src/main/resources/log4j.properties

@@ -1,23 +0,0 @@
-#off/fatal/error/warn/info/debug/all
-log4j.debug=false
-log4j.rootLogger=info, stdout
-
-# Console output
-log4j.appender.stdout=org.apache.log4j.ConsoleAppender
-log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
-log4j.appender.stdout.layout.ConversionPattern=%d [%t] %-5p [%c] - %m%n
-
-#Spring logging configuration
-log4j.category.org.springframework = warn
-
-#Druid logging configuration
-log4j.logger.druid.sql=warn,stdout
-log4j.logger.druid.sql.DataSource=warn,stdout
-log4j.logger.druid.sql.Connection=warn,stdout
-log4j.logger.druid.sql.Statement=warn,stdout
-log4j.logger.druid.sql.ResultSet=warn,stdout
-
-# MyBatis logging configuration
-log4j.logger.com.zheng.qa.dao.mapper=debug
-#log4j.logger.com.zheng.qa.dao.mapper.UserMapper=debug
-#log4j.logger.com.zheng.qa.dao.mapper.UserMapper.selectUser=debug

+ 0 - 1
zheng-qa/zheng-qa-web/src/main/resources/profiles/dev.properties

@@ -1 +0,0 @@
-profile.env=dev

+ 0 - 1
zheng-qa/zheng-qa-web/src/main/resources/profiles/prod.properties

@@ -1 +0,0 @@
-profile.env=prod

+ 0 - 1
zheng-qa/zheng-qa-web/src/main/resources/profiles/test.properties

@@ -1 +0,0 @@
-profile.env=test

+ 0 - 13
zheng-qa/zheng-qa-web/src/main/resources/springMVC-servlet.xml

@@ -1,13 +0,0 @@
-<?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:mvc="http://www.springframework.org/schema/mvc"
-	xsi:schemaLocation="
-        http://www.springframework.org/schema/beans
-        http://www.springframework.org/schema/beans/spring-beans.xsd
-        http://www.springframework.org/schema/mvc
-        http://www.springframework.org/schema/mvc/spring-mvc.xsd">
-
-	
-
-</beans>

+ 0 - 17
zheng-qa/zheng-qa-web/src/main/webapp/WEB-INF/jsp/404.jsp

@@ -1,17 +0,0 @@
-<%@ page contentType="text/html; charset=utf-8"%>
-<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
-<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
-<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
-<c:set var="basePath" value="${pageContext.request.contextPath}"/>
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8"/>
-<title><spring:message code="404"/></title>
-</head>
-<body>
-404
-</body>
-</html>

+ 0 - 43
zheng-qa/zheng-qa-web/src/main/webapp/WEB-INF/jsp/500.jsp

@@ -1,43 +0,0 @@
-<%@ page contentType="text/html; charset=utf-8"%>
-<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
-<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
-<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
-<c:set var="basePath" value="${pageContext.request.contextPath}"/>
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8"/>
-<title>500</title>
-</head>
-<body>
-<center style="margin:50px auto">
-	<p>错误代码:500<%//=request.getAttribute("javax.servlet.error.status_code")%></p>
-	<p>您访问的页面有错误!</p>
-	<p>错误原因:${error.message}</p>
-	<p>错误内容:${error}</p>
-	<p><!--页面将在<span id="stime">5</span>秒后-->跳转到<a href="${pageContext.request.contextPath}/">首页</a>!</p>
-</center>
-<%
-/**
-监控出错人的IP
-String ip = request.getHeader(" x-forwarded-for");
-if (ip == null || ip.length() == 0 || " unknown".equalsIgnoreCase(ip)) {
-	ip = request.getHeader(" Proxy-Client-IP"); // 获取代理ip
-}
-if (ip == null || ip.length() == 0 || " unknown".equalsIgnoreCase(ip)) {
-	ip = request.getHeader(" WL-Proxy-Client-IP"); // 获取代理ip
-}
-if (ip == null || ip.length() == 0 || " unknown".equalsIgnoreCase(ip)) {
-	ip = request.getRemoteAddr(); // 获取真实ip
-}
-//out.println(ip+"<br/><br/>你的地址是:<br/><br/>");
-
-Document doc = Jsoup.connect("http://ip.chinaz.com/?IP="+ip).timeout(9000).get();
-Element e = doc.select("#status").first();
-//out.println(e);
-*/
-%>
-</body>
-</html>

+ 0 - 17
zheng-qa/zheng-qa-web/src/main/webapp/WEB-INF/jsp/index.jsp

@@ -1,17 +0,0 @@
-<%@ page contentType="text/html; charset=utf-8"%>
-<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
-<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
-<%@ taglib uri="http://www.springframework.org/tags" prefix="spring"%>
-<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
-<c:set var="basePath" value="${pageContext.request.contextPath}"/>
-<!DOCTYPE html>
-<html>
-<head>
-    <meta charset="utf-8"/>
-    <title>首页</title>
-</head>
-<body>
-
-</body>
-</html>

+ 0 - 97
zheng-qa/zheng-qa-web/src/main/webapp/WEB-INF/web.xml

@@ -1,97 +0,0 @@
-<?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_2_5.xsd"
-         version="2.5">
-
-  <!-- 强制进行转码 -->
-  <filter>
-    <filter-name>CharacterEncodingFilter</filter-name>
-    <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
-    <init-param>
-      <param-name>encoding</param-name>
-      <param-value>UTF-8</param-value>
-    </init-param>
-  </filter>
-  <filter-mapping>
-    <filter-name>CharacterEncodingFilter</filter-name>
-    <url-pattern>/*</url-pattern>
-    <dispatcher>REQUEST</dispatcher>
-    <dispatcher>FORWARD</dispatcher>
-  </filter-mapping>
-
-  <!-- 默认的spring配置文件是在WEB-INF下的applicationContext.xml -->
-  <listener>
-    <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
-  </listener>
-  <context-param>
-    <param-name>contextConfigLocation</param-name>
-    <param-value>
-      classpath*:applicationContext*.xml
-    </param-value>
-  </context-param>
-
-  <!-- 日志配置文件 -->
-  <context-param>
-    <param-name>log4jConfigLocation</param-name>
-    <param-value>classpath:log4j.properties</param-value>
-  </context-param>
-
-  <!-- springMVC的核心控制器 -->
-  <servlet>
-    <servlet-name>springMVC</servlet-name>
-    <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
-    <init-param>
-      <param-name>contextConfigLocation</param-name>
-      <param-value>classpath*:springMVC-servlet.xml</param-value>
-    </init-param>
-    <load-on-startup>1</load-on-startup>
-  </servlet>
-  <servlet-mapping>
-    <servlet-name>springMVC</servlet-name>
-    <url-pattern>/</url-pattern>
-  </servlet-mapping>
-
-  <!-- Spring Security -->
-  <!--
-  <filter>
-      <filter-name>springSecurityFilterChain</filter-name>
-      <filter-class>org.springframework.web.filter.DelegatingFilterProxy</filter-class>
-  </filter>
-  <filter-mapping>
-      <filter-name>springSecurityFilterChain</filter-name>
-      <url-pattern>/*</url-pattern>
-  </filter-mapping>
-  -->
-
-  <!-- Druid连接池监控页面 -->
-  <servlet>
-    <servlet-name>DruidStatView</servlet-name>
-    <servlet-class>com.alibaba.druid.support.http.StatViewServlet</servlet-class>
-  </servlet>
-  <servlet-mapping>
-    <servlet-name>DruidStatView</servlet-name>
-    <url-pattern>/druid/*</url-pattern>
-  </servlet-mapping>
-
-  <!-- session配置 -->
-  <session-config>
-    <session-timeout>120</session-timeout>
-  </session-config>
-
-  <!-- 欢迎页面 -->
-  <welcome-file-list>
-    <welcome-file>index.html</welcome-file>
-    <welcome-file>index.jsp</welcome-file>
-  </welcome-file-list>
-
-  <!-- 错误页面 -->
-  <error-page>
-    <error-code>404</error-code>
-    <location>/WEB-INF/jsp/404.jsp</location>
-  </error-page>
-  <error-page>
-    <error-code>500</error-code>
-    <location>/WEB-INF/jsp/500.jsp</location>
-  </error-page>
-</web-app>