package net.liuweifeng.spring;
import org.slf4j.Logger;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
/**
* Handles requests for the application welcome page.
*/
@Controller
@RequestMapping("/welcome")
public class WelcomeController {
private Logger logger = org.slf4j.LoggerFactory.getLogger(WelcomeController.class);
/**
* Simply selects the welcome view to render by returning void and relying
* on the default request-to-view-translator.
*/
@RequestMapping(method = RequestMethod.GET)
public void welcome() {
logger.info("Welcome!");
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
demo_SpringMVC.rar_+SpringMVC demo_DEMO_spring mvc_spring mvc de
共26个文件
xml:11个
prefs:6个
class:2个
1.该资源内容由用户上传,如若侵权请联系客服进行举报
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
2.虚拟产品一经售出概不退款(资源遇到问题,请及时私信上传者)
版权申诉
0 下载量 186 浏览量
2022-09-21
07:56:55
上传
评论
收藏 6KB RAR 举报
温馨提示
spring mvc例子,大家可以看一看
资源推荐
资源详情
资源评论
收起资源包目录
demo_SpringMVC.rar (26个子文件)
demo
pom.xml 4KB
.springBeans 370B
target
test-classes
log4j.xml 1KB
net
liuweifeng
spring
WelcomeControllerTests.class 626B
classes
log4j.xml 1024B
net
liuweifeng
spring
WelcomeController.class 906B
.settings
org.eclipse.wst.common.project.facet.core.xml 222B
com.springsource.server.ide.jdt.core.xml 25B
org.springframework.ide.eclipse.beans.core.prefs 139B
org.eclipse.wst.common.component 505B
org.springframework.ide.eclipse.core.prefs 11KB
org.eclipse.wst.validation.prefs 2KB
org.eclipse.jst.common.project.facet.core.prefs 229B
org.maven.ide.eclipse.prefs 262B
org.eclipse.jdt.core.prefs 617B
src
test
resources
log4j.xml 1KB
java
net
liuweifeng
spring
WelcomeControllerTests.java 226B
main
webapp
images
WEB-INF
urlrewrite.xml 399B
layouts
messages
web.xml 1KB
views
welcome.jsp 214B
classes
spring
app-config.xml 643B
mvc-config.xml 810B
styles
scripts
resources
log4j.xml 1024B
java
net
liuweifeng
spring
WelcomeController.java 690B
.project 1KB
.classpath 700B
共 26 条
- 1
资源评论
御道御小黑
- 粉丝: 58
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功