From 0ac87cef3add9c1c60023dfe5740a7240ccabef2 Mon Sep 17 00:00:00 2001 From: chenyao <424482253@qq.com> Date: Wed, 30 Aug 2017 23:30:56 +0800 Subject: [PATCH 1/3] "a try to commit" --- .../lysoft/business/web/aes/ui/IndexActionBean.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java b/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java index 886f990..edbe13a 100644 --- a/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java +++ b/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java @@ -1,15 +1,14 @@ package com.lysoft.business.web.aes.ui; -import java.util.Map; - +import com.lysoft.business.web.aes.common.stripes.BasicActionBean; +import com.lysoft.web.stripes.executor.ActionLogicExecutor; +import com.lysoft.web.stripes.executor.BasicActionCallBack; import net.sourceforge.stripes.action.DefaultHandler; import net.sourceforge.stripes.action.ForwardResolution; import net.sourceforge.stripes.action.Resolution; import net.sourceforge.stripes.action.UrlBinding; -import com.lysoft.business.web.aes.common.stripes.BasicActionBean; -import com.lysoft.web.stripes.executor.ActionLogicExecutor; -import com.lysoft.web.stripes.executor.BasicActionCallBack; +import java.util.Map; @UrlBinding("/index.do") public class IndexActionBean extends BasicActionBean { @@ -29,4 +28,7 @@ public Resolution postHandle(Map params, Object result) } }); } + + public void addCount(int a ,int b){ + } } \ No newline at end of file From a3e7b62dfdbc550a704cef8264d9c547950ceb0a Mon Sep 17 00:00:00 2001 From: chenyao <424482253@qq.com> Date: Wed, 30 Aug 2017 23:36:32 +0800 Subject: [PATCH 2/3] "a try " --- frame_webapp_test/frame_webapp_test.iml | 793 ++++++++++++++++++ .../business/web/aes/ui/IndexActionBean.java | 9 +- 2 files changed, 797 insertions(+), 5 deletions(-) create mode 100644 frame_webapp_test/frame_webapp_test.iml diff --git a/frame_webapp_test/frame_webapp_test.iml b/frame_webapp_test/frame_webapp_test.iml new file mode 100644 index 0000000..8214b05 --- /dev/null +++ b/frame_webapp_test/frame_webapp_test.iml @@ -0,0 +1,793 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java b/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java index 886f990..9343fd3 100644 --- a/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java +++ b/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java @@ -1,15 +1,14 @@ package com.lysoft.business.web.aes.ui; -import java.util.Map; - +import com.lysoft.business.web.aes.common.stripes.BasicActionBean; +import com.lysoft.web.stripes.executor.ActionLogicExecutor; +import com.lysoft.web.stripes.executor.BasicActionCallBack; import net.sourceforge.stripes.action.DefaultHandler; import net.sourceforge.stripes.action.ForwardResolution; import net.sourceforge.stripes.action.Resolution; import net.sourceforge.stripes.action.UrlBinding; -import com.lysoft.business.web.aes.common.stripes.BasicActionBean; -import com.lysoft.web.stripes.executor.ActionLogicExecutor; -import com.lysoft.web.stripes.executor.BasicActionCallBack; +import java.util.Map; @UrlBinding("/index.do") public class IndexActionBean extends BasicActionBean { From 9684b492a447ae2b72ab78e87e724b589d41916c Mon Sep 17 00:00:00 2001 From: chenyao <424482253@qq.com> Date: Wed, 30 Aug 2017 23:39:21 +0800 Subject: [PATCH 3/3] "a secont try " --- .../java/com/lysoft/business/web/aes/ui/IndexActionBean.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java b/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java index edbe13a..f113123 100644 --- a/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java +++ b/frame_webapp_test/src/main/java/com/lysoft/business/web/aes/ui/IndexActionBean.java @@ -29,6 +29,7 @@ public Resolution postHandle(Map params, Object result) }); } - public void addCount(int a ,int b){ + public int addCount(int a ,int b){ + return a+b; } } \ No newline at end of file