package Controller;
import java.util.HashMap;
import java.util.Map;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
/**
* ces
* @author zh
*
*/
@Controller
@RequestMapping(value = "/text")
public class TextController {
/**
* @return
*/
@ResponseBody
@RequestMapping(value = "/textC")
public Map<String,Object> textC(Model model) {
Map<String,Object> map = new HashMap<String, Object>();
map.put("success", true);
map.put("code",0000);
return map;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
springmvc+webservice(cxf)+maven 完整实例
共31个文件
xml:10个
prefs:4个
java:4个
需积分: 50 17 下载量 10 浏览量
2020-07-16
16:40:15
上传
评论
收藏 19KB ZIP 举报
温馨提示
springmvc+webservice(cxf)+maven 完整实例,下载直接可以运行,非常实用
资源推荐
资源详情
资源评论
收起资源包目录
springmvc+webservice(cxf)+maven 完整实例.zip (31个子文件)
ces2
.project 1KB
src
main
webapp
WEB-INF
views
web.xml 2KB
index.jsp 57B
resources
applicationContext.xml 1KB
mvc.xml 1KB
cxf-server.xml 702B
java
text
Text.java 238B
hello
WebServiceTestsImpl.java 381B
DrugInterfaceService.java 173B
Controller
TextController.java 697B
target
m2e-wtp
web-resources
META-INF
MANIFEST.MF 115B
maven
ces1
ces2
pom.properties 225B
pom.xml 3KB
classes
text
Text.class 755B
applicationContext.xml 1KB
hello
DrugInterfaceService.class 274B
WebServiceTestsImpl.class 698B
Controller
TextController.class 1KB
mvc.xml 1KB
cxf-server.xml 702B
test-classes
.settings
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.common.project.facet.core.xml 292B
org.eclipse.m2e.core.prefs 90B
org.eclipse.wst.ws.service.policy.prefs 87B
org.eclipse.jdt.core.prefs 736B
org.eclipse.wst.validation.prefs 50B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.component 653B
.jsdtscope 639B
pom.xml 3KB
.classpath 1KB
共 31 条
- 1
资源评论
文艳阳
- 粉丝: 4
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功