package com.mvcdemo.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
@RequestMapping("/hello")
public class HelloController {
@RequestMapping("/say")
public String sayHello() {
// /WEB-INF/jsps/home.jsp
return "home";
}
@RequestMapping("/test")
public String testHello() {
return "test";
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
mvc_demo.zip (39个子文件)
mvc_demo
pom.xml 3KB
target
mvc_demo-1.0-SNAPSHOT.war 7.32MB
mvc_demo-1.0-SNAPSHOT
META-INF
MANIFEST.MF 91B
WEB-INF
web.xml 955B
jsps
home.jsp 181B
test.jsp 187B
classes
META-INF
mvc_demo.kotlin_module 16B
com
mvcdemo
controller
HelloController.class 729B
configs
mvc-dispatcher-servlet.xml 2KB
lib
spring-beans-4.2.3.RELEASE.jar 713KB
spring-context-4.2.3.RELEASE.jar 1.04MB
standard-1.1.2.jar 384KB
aopalliance-1.0.jar 4KB
jackson-core-2.9.7.jar 316KB
spring-web-4.2.3.RELEASE.jar 749KB
spring-aop-4.2.3.RELEASE.jar 360KB
spring-tx-4.2.3.RELEASE.jar 259KB
servlet-api-2.5.jar 103KB
jackson-databind-2.9.7.jar 1.29MB
spring-jdbc-4.2.3.RELEASE.jar 413KB
spring-webmvc-4.2.3.RELEASE.jar 854KB
spring-core-4.2.3.RELEASE.jar 1.03MB
spring-expression-4.2.3.RELEASE.jar 256KB
jstl-1.2.jar 405KB
commons-logging-1.2.jar 60KB
jackson-annotations-2.9.0.jar 65KB
index.jsp 52B
classes
META-INF
mvc_demo.kotlin_module 16B
com
mvcdemo
controller
HelloController.class 729B
generated-sources
annotations
src
test
java
main
webapp
WEB-INF
web.xml 955B
jsps
home.jsp 181B
test.jsp 187B
configs
mvc-dispatcher-servlet.xml 2KB
index.jsp 52B
com
resources
java
com
mvcdemo
controller
HelloController.java 453B
.idea
misc.xml 10KB
encodings.xml 135B
compiler.xml 529B
workspace.xml 20KB
共 39 条
- 1
资源评论
与书与你
- 粉丝: 29
- 资源: 3
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- tensorflow-gpu-2.7.4-cp37-cp37m-manylinux2010-x86-64.whl
- 多段线、 圆、弧转多段线(仅我可见)
- tensorflow-2.7.2-cp38-cp38-manylinux2010-x86-64.whl
- yeyue-p8Yi4-ve4a83792.apk
- tensorflow-gpu-2.7.3-cp38-cp38-manylinux2010-x86-64.whl
- 五相感应电机矢量控制模型MATLAB
- RGLED (1) (1).circ
- IMG_20240427_215747.jpg
- python下前端WEB学习笔记
- 田间种植行排号自动生成工具
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功