Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

完成 #3

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions .classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="melibrary.com.genuitec.eclipse.j2eedt.core.MYECLIPSE_JAVAEE_6_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
<classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
<classpathentry kind="lib" path="lib/asm-3.1.jar"/>
<classpathentry kind="lib" path="lib/commons-io-2.0.1.jar"/>
<classpathentry kind="lib" path="lib/jackson-core-asl-1.9.2.jar"/>
<classpathentry kind="lib" path="lib/jackson-jaxrs-1.9.2.jar"/>
<classpathentry kind="lib" path="lib/jackson-mapper-asl-1.9.2.jar"/>
<classpathentry kind="lib" path="lib/jackson-xc-1.9.2.jar"/>
<classpathentry kind="lib" path="lib/jersey-client-1.18.jar"/>
<classpathentry kind="lib" path="lib/jersey-core-1.18.jar"/>
<classpathentry kind="lib" path="lib/jersey-json-1.18.jar"/>
<classpathentry kind="lib" path="lib/jersey-server-1.18.jar"/>
<classpathentry kind="lib" path="lib/jersey-servlet-1.18.jar"/>
<classpathentry kind="lib" path="lib/jettison-1.1.jar"/>
<classpathentry kind="lib" path="lib/jsr311-api-1.1.1.jar"/>
<classpathentry kind="lib" path="lib/poi-3.12-20150511.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="lib/org.springframework.aop-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.asm-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.aspects-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.beans-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.context-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.context.support-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.core-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.expression-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.jdbc-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.orm-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.transaction-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.web-3.1.1.RELEASE.jar"/>
<classpathentry kind="lib" path="lib/org.springframework.web.servlet-3.1.1.RELEASE.jar"/>
<classpathentry kind="output" path="WebRoot/WEB-INF/classes"/>
</classpath>
13 changes: 13 additions & 0 deletions .mymetadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-module
type="WEB"
name="exam-jvm"
id="myeclipse.1436401743722"
context-root="/web_rest"
j2ee-spec="6.0"
archive="exam-jvm.war">
<attributes>
<attribute name="webrootdir" value="WebRoot" />
</attributes>
</project-module>

58 changes: 58 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>exam-jvm</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.wst.common.project.facet.core.builder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.WebClasspathBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.J2EEProjectValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.j2eedt.core.DeploymentDescriptorValidator</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.wst.validation.validationbuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>com.genuitec.eclipse.ast.deploy.core.deploymentnature</nature>
<nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
<nature>com.genuitec.eclipse.j2eedt.core.webnature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.wst.jsdt.core.jsNature</nature>
<nature>org.eclipse.wst.common.project.facet.core.nature</nature>
<nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
</natures>
</projectDescription>
16 changes: 16 additions & 0 deletions .settings/.jsdtscope
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="">
<attributes>
<attribute name="provider" value="org.eclipse.wst.jsdt.web.core.internal.project.ModuleSourcePathProvider"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
<attributes>
<attribute name="hide" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
<classpathentry kind="output" path=""/>
</classpath>
8 changes: 8 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#Thu Jul 09 08:29:06 CST 2015
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
org.eclipse.jdt.core.compiler.compliance=1.6
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.6
9 changes: 9 additions & 0 deletions .settings/org.eclipse.wst.common.component
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-modules id="moduleCoreId" project-version="1.5.0">
<wb-module deploy-name="exam-jvm">
<wb-resource deploy-path="/" source-path="/WebRoot"/>
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/>
<property name="context-root" value="/web_rest"/>
<property name="java-output-path" value="/exam-jvm/WebRoot/WEB-INF/classes"/>
</wb-module>
</project-modules>
7 changes: 7 additions & 0 deletions .settings/org.eclipse.wst.common.project.facet.core.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<faceted-project>
<fixed facet="wst.jsdt.web"/>
<installed facet="java" version="1.6"/>
<installed facet="jst.web" version="3.0"/>
<installed facet="wst.jsdt.web" version="1.0"/>
</faceted-project>
1 change: 1 addition & 0 deletions .settings/org.eclipse.wst.jsdt.ui.superType.container
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
org.eclipse.wst.jsdt.launching.baseBrowserLibrary
1 change: 1 addition & 0 deletions .settings/org.eclipse.wst.jsdt.ui.superType.name
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Window
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,10 @@
2. 给我们发送一个 Pull request,我们会 Review 您的代码。

## 其他
* 如果您的构建和运行过程比较难以理解的话,建议您修改 Readme 的这个地方添加一些说明文字。
* 如果您的构建和运行过程比较难以理解的话,建议您修改 Readme 的这个地方添加一些说明文字。

## 另:数据保存在Excel中
交易状态: Completed:已完成 Pending:待付款 Reversed:已撤销 Refunded:已退款
交易类型: Pay:支付 Refund:付款
交易币种: CNY:人民币 USD:美元

3 changes: 3 additions & 0 deletions WebRoot/META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
31 changes: 31 additions & 0 deletions WebRoot/WEB-INF/web.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

<servlet>
<servlet-name>garyhj</servlet-name>
<servlet-class>com.sun.jersey.spi.container.servlet.ServletContainer</servlet-class>
<init-param>
<param-name>com.sun.jersey.config.property.packages</param-name>
<param-value>com.garyhj</param-value>
</init-param>
<init-param>
<param-name>com.sun.jersey.api.json.POJOMappingFeature</param-name>
<param-value>true</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>garyhj</servlet-name>
<url-pattern>/rest/*</url-pattern>
</servlet-mapping>



<display-name></display-name>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
26 changes: 26 additions & 0 deletions WebRoot/index.jsp
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<%@ page language="java" import="java.util.*" pageEncoding="ISO-8859-1"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My JSP 'index.jsp' starting page</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
<link rel="stylesheet" type="text/css" href="styles.css">
-->
</head>

<body>
This is my JSP page. <br>
</body>
</html>
Binary file added bin/com/garyhj/entity/CustInfo.class
Binary file not shown.
Binary file added bin/com/garyhj/entity/TransRecord.class
Binary file not shown.
Binary file added lib/asm-3.1.jar
Binary file not shown.
Binary file added lib/commons-io-2.0.1.jar
Binary file not shown.
Binary file added lib/jackson-core-asl-1.9.2.jar
Binary file not shown.
Binary file added lib/jackson-jaxrs-1.9.2.jar
Binary file not shown.
Binary file added lib/jackson-mapper-asl-1.9.2.jar
Binary file not shown.
Binary file added lib/jackson-xc-1.9.2.jar
Binary file not shown.
Binary file added lib/jersey-client-1.18.jar
Binary file not shown.
Binary file added lib/jersey-core-1.18.jar
Binary file not shown.
Binary file added lib/jersey-json-1.18.jar
Binary file not shown.
Binary file added lib/jersey-server-1.18.jar
Binary file not shown.
Binary file added lib/jersey-servlet-1.18.jar
Binary file not shown.
Binary file added lib/jettison-1.1.jar
Binary file not shown.
Binary file added lib/jsr311-api-1.1.1.jar
Binary file not shown.
Binary file added lib/org.springframework.aop-3.1.1.RELEASE.jar
Binary file not shown.
Binary file added lib/org.springframework.asm-3.1.1.RELEASE.jar
Binary file not shown.
Binary file added lib/org.springframework.aspects-3.1.1.RELEASE.jar
Binary file not shown.
Binary file added lib/org.springframework.beans-3.1.1.RELEASE.jar
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added lib/org.springframework.core-3.1.1.RELEASE.jar
Binary file not shown.
Binary file not shown.
Binary file added lib/org.springframework.jdbc-3.1.1.RELEASE.jar
Binary file not shown.
Binary file added lib/org.springframework.orm-3.1.1.RELEASE.jar
Binary file not shown.
Binary file not shown.
Binary file added lib/org.springframework.web-3.1.1.RELEASE.jar
Binary file not shown.
Binary file not shown.
Binary file added lib/poi-3.12-20150511.jar
Binary file not shown.
Loading