package com.wenjiehe.hello;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
* Created by Administrator on 2017/4/28.
*/
@Controller
@RequestMapping("/hello")
public class hello {
@RequestMapping(method = RequestMethod.GET )
public String helloWorld(Model model){
model.addAttribute("message", "StringMvc大爷你好啊!");
return "hello";
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
untitled.zip (76个子文件)
untitled
untitled.iml 1KB
src
com
wenjiehe
hello
hello.java 611B
.idea
misc.xml 273B
modules.xml 256B
encodings.xml 159B
compiler.xml 170B
kotlinc.xml 232B
workspace.xml 59KB
libraries
lib__2_.xml 294B
lib.xml 2KB
artifacts
untitled_Web_exploded.xml 507B
out
production
untitled
com
wenjiehe
hello
hello.class 925B
artifacts
untitled_Web_exploded
WEB-INF
web.xml 940B
dispatcher-servlet.xml 1010B
classes
com
wenjiehe
hello
hello.class 925B
jsp
hello.jsp 320B
lib
spring-instrument-tomcat-4.3.8.RELEASE.jar 10KB
spring-instrument-4.3.8.RELEASE.jar 7KB
spring-jms-4.3.8.RELEASE.jar 282KB
spring-context-support-4.3.8.RELEASE.jar 183KB
aopalliance-1.0.jar 4KB
spring-aop-4.3.8.RELEASE.jar 372KB
spring-webmvc-4.3.8.RELEASE.jar 894KB
spring-tx-4.3.8.RELEASE.jar 261KB
spring-test-4.3.8.RELEASE.jar 585KB
spring-expression-4.3.8.RELEASE.jar 257KB
spring-oxm-4.3.8.RELEASE.jar 83KB
spring-beans-4.3.8.RELEASE.jar 745KB
spring-orm-4.3.8.RELEASE.jar 466KB
spring-core-4.3.8.RELEASE.jar 1.07MB
spring-jdbc-4.3.8.RELEASE.jar 418KB
spring-webmvc-portlet-4.3.8.RELEASE.jar 173KB
spring-web-4.3.8.RELEASE.jar 799KB
commons-logging-1.2.jar 60KB
spring-context-4.3.8.RELEASE.jar 1.09MB
spring-messaging-4.3.8.RELEASE.jar 374KB
spring-aspects-4.3.8.RELEASE.jar 57KB
spring-websocket-4.3.8.RELEASE.jar 446KB
applicationContext.xml 307B
index.html 164B
index.jsp 310B
untitled_war_exploded
WEB-INF
web.xml 649B
dispatcher-servlet.xml 861B
classes
com
wenjiehe
hello
hello.class 838B
jsp
hello.jsp 309B
applicationContext.xml 307B
index.html 173B
index.jsp 310B
web
WEB-INF
web.xml 940B
dispatcher-servlet.xml 1010B
jsp
hello.jsp 320B
lib
spring-instrument-tomcat-4.3.8.RELEASE.jar 10KB
spring-instrument-4.3.8.RELEASE.jar 7KB
spring-jms-4.3.8.RELEASE.jar 282KB
spring-context-support-4.3.8.RELEASE.jar 183KB
aopalliance-1.0.jar 4KB
spring-aop-4.3.8.RELEASE.jar 372KB
spring-webmvc-4.3.8.RELEASE.jar 894KB
spring-tx-4.3.8.RELEASE.jar 261KB
spring-test-4.3.8.RELEASE.jar 585KB
spring-expression-4.3.8.RELEASE.jar 257KB
spring-oxm-4.3.8.RELEASE.jar 83KB
spring-beans-4.3.8.RELEASE.jar 745KB
spring-orm-4.3.8.RELEASE.jar 466KB
spring-core-4.3.8.RELEASE.jar 1.07MB
spring-jdbc-4.3.8.RELEASE.jar 418KB
spring-webmvc-portlet-4.3.8.RELEASE.jar 173KB
spring-web-4.3.8.RELEASE.jar 799KB
commons-logging-1.2.jar 60KB
spring-context-4.3.8.RELEASE.jar 1.09MB
spring-messaging-4.3.8.RELEASE.jar 374KB
spring-aspects-4.3.8.RELEASE.jar 57KB
spring-websocket-4.3.8.RELEASE.jar 446KB
applicationContext.xml 307B
index.html 164B
index.jsp 310B
共 76 条
- 1
资源评论
擦肩的阳光
- 粉丝: 34
- 资源: 24
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功