package com.cn.wddqz.web;
import javax.servlet.http.HttpServletRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import com.cn.wddqz.manage.LoginTestInterfa;
/**
* 通过Controller调用hessian接口
* 类名称:IndexController
* 类描述:
* 创建人:wodediqizhang@163.com
* 修改时间:2016-6-20 下午4:22:02
* Modification History:
* =============================================================================
* Author Date Description
* ------------ ---------- ---------------------------------------------------
* ghb 2016-6-20 创建文档
* =============================================================================
* @version 1.0.0
*
*/
@Controller
public class IndexController {
@Autowired
private LoginTestInterfa loginTestInterfa;
@RequestMapping("/login")
public ModelAndView indexView(HttpServletRequest request) {
String name = request.getParameter("name");
String email = request.getParameter("email");
String loginInfo = loginTestInterfa.qualifyInfo(name,email);
System.out.println("loginInfo="+loginInfo);
ModelAndView mv = new ModelAndView();
mv.addObject("message", loginInfo);
return mv;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
Spring + Hessian + Spring MVC(包括Server和Client).zip
共55个文件
xml:16个
prefs:8个
mf:4个
需积分: 9 43 下载量 189 浏览量
2016-06-21
11:34:49
上传
评论
收藏 39KB ZIP 举报
温馨提示
1.名称:Spring + Hessian + Spring MVC(包括Server和Client).zip 2.来源:自己实现 3.备注:项目有两个系统,包括Server端和Client端,项目已经跑通,可以实现。 4.注意:client中pom.xml里最后的一个jar包,需要自己生成。
资源推荐
资源详情
资源评论
收起资源包目录
Spring + Hessian + Spring MVC(包括Server和Client).zip (55个子文件)
HessianCli
.project 2KB
pom.xml 3KB
target
test-classes
m2e-jee
web-resources
META-INF
maven
HessianCli
HessianCli
pom.xml 3KB
pom.properties 238B
MANIFEST.MF 104B
classes
spring-servlet.xml 1KB
com
cn
wddqz
web
IndexController.class 2KB
context.xml 1KB
hessian.properties 71B
.settings
.jsdtscope 508B
org.eclipse.core.resources.prefs 62B
org.eclipse.wst.common.component 583B
org.eclipse.jdt.core.prefs 430B
com.genuitec.eclipse.j2eedt.core.prefs 56B
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.m2e.core.prefs 90B
org.eclipse.wst.jsdt.ui.superType.name 6B
.mymetadata 311B
.myeclipse
src
main
resources
spring-servlet.xml 1KB
context.xml 1KB
hessian.properties 71B
java
com
cn
wddqz
web
IndexController.java 1KB
webapp
WEB-INF
views
login.jsp 445B
web.xml 2KB
lib
classes
index.jsp 944B
META-INF
MANIFEST.MF 36B
.classpath 618B
HessianSer
.project 2KB
pom.xml 3KB
target
test-classes
m2e-jee
web-resources
META-INF
maven
HessianSer
HessianSer
pom.xml 3KB
pom.properties 238B
MANIFEST.MF 104B
classes
spring-servlet.xml 1KB
remoting-servlet.xml 600B
com
cn
wddqz
manage
LoginTestInterfa.class 214B
impl
LoginTestImpl.class 1KB
.settings
.jsdtscope 508B
org.eclipse.core.resources.prefs 62B
org.eclipse.wst.common.component 583B
org.eclipse.jdt.core.prefs 430B
com.genuitec.eclipse.j2eedt.core.prefs 1KB
org.eclipse.wst.common.project.facet.core.xml 252B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.m2e.core.prefs 90B
org.eclipse.wst.jsdt.ui.superType.name 6B
.mymetadata 311B
.myeclipse
src
main
resources
spring-servlet.xml 1KB
remoting-servlet.xml 600B
java
com
cn
wddqz
manage
LoginTestInterfa.java 719B
impl
LoginTestImpl.java 1023B
webapp
WEB-INF
web.xml 1KB
lib
classes
index.jsp 834B
META-INF
MANIFEST.MF 36B
.classpath 549B
共 55 条
- 1
资源评论
wodediqizhang
- 粉丝: 12
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功