package qust.thb.usermanage.controller;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;
@Controller
@RequestMapping("/user")
public class UserController {
@RequestMapping(value = "/getUser.do", method = RequestMethod.GET)
public ModelAndView getUser() {
ModelAndView mv = new ModelAndView();
mv.addObject("message", "Hello World!!!");
mv.setViewName("/view/hello");
return mv;
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
spring mvc sitemesh velocity整合
共46个文件
jar:29个
xml:4个
vm:2个
5星 · 超过95%的资源 需积分: 14 244 下载量 22 浏览量
2013-07-30
13:26:46
上传
评论 3
收藏 7.02MB ZIP 举报
温馨提示
Spring MVC框架,整合了velocity,这个没有用到Hibernate,下一版本会把集成Hibernate
资源推荐
资源详情
资源评论
收起资源包目录
SpringMVC.zip (46个子文件)
SpringMVC
.project 1KB
WebContent
WEB-INF
springMvc-servlet.xml 2KB
view
hello.vm 24B
decorators.xml 370B
lib
spring-instrument-3.2.2.RELEASE.jar 7KB
spring-instrument-tomcat-3.2.2.RELEASE.jar 10KB
spring-orm-3.2.2.RELEASE.jar 378KB
spring-aop-3.2.2.RELEASE.jar 328KB
commons-lang-2.2.jar 237KB
spring-webmvc-3.2.2.RELEASE.jar 621KB
velocity-tools-view-2.0.jar 311KB
spring-jdbc-3.2.2.RELEASE.jar 396KB
spring-jms-3.2.2.RELEASE.jar 200KB
spring-context-3.2.2.RELEASE.jar 842KB
spring-tx-3.2.2.RELEASE.jar 236KB
commons-logging-1.1.1.jar 59KB
velocity-tools-generic-2.0.jar 188KB
commons-beanutils-1.7.0.jar 184KB
spring-core-3.2.2.RELEASE.jar 846KB
spring-expression-3.2.2.RELEASE.jar 191KB
sitemesh-2.4.2.jar 177KB
commons-digester-1.8.jar 140KB
spring-webmvc-portlet-3.2.2.RELEASE.jar 184KB
spring-aspects-3.2.2.RELEASE-sources.jar 30KB
spring-context-support-3.2.2.RELEASE.jar 125KB
spring-oxm-3.2.2.RELEASE.jar 72KB
velocity-1.6.2.jar 411KB
spring-aspects-3.2.2.RELEASE.jar 50KB
spring-beans-3.2.2.RELEASE.jar 593KB
spring-build-src-3.2.2.RELEASE.jar 71KB
commons-collections-3.2.1.jar 562KB
spring-web-3.2.2.RELEASE.jar 612KB
jstl-1.1.2.jar 20KB
velocity.properties 297B
web.xml 1KB
decorators
template.vm 155B
META-INF
MANIFEST.MF 39B
src
qust
thb
common
usermanage
controller
UserController.java 594B
.settings
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.common.project.facet.core.xml 345B
org.eclipse.jdt.core.prefs 364B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.component 481B
.jsdtscope 503B
build
classes
qust
thb
common
usermanage
controller
UserController.class 1KB
.classpath 841B
共 46 条
- 1
qust008
- 粉丝: 11
- 资源: 7
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
前往页