/**
* 文件说明
* @Description:扩展说明
* @Copyright: 2015 dreamtech.com.cn Inc. All right reserved
* @Version: V6.0
*/
package com.feizi.controller;
import java.util.HashMap;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;
/**
* @Author: feizi
* @Date: 2015年5月7日 上午9:10:24
* @ModifyUser: feizi
* @ModifyDate: 2015年5月7日 上午9:10:24
* @Version:V6.0
*/
public class HelloController implements Controller {
/**
* 方法说明
* @Discription:扩展说明
* @Author: feizi
* @Date: 2015年5月7日 上午9:10:24
* @ModifyUser:feizi
* @ModifyDate: 2015年5月7日 上午9:10:24
* @see org.springframework.web.servlet.mvc.Controller#handleRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
*/
@Override
public ModelAndView handleRequest(
HttpServletRequest request,
HttpServletResponse response) throws Exception {
System.out.println("=========================Hello World!This is the second demo...==============================");
/*String firstParam = "第一个字符串参数";
return new ModelAndView("/hello", "prm", firstParam);//字符串用
*/
Map<String, Object> map = new HashMap<String, Object>();
map.put("prm1", "map中的第一个");
map.put("prm2", "map中的第二个");
map.put("prm3", "map中的第三个");
return new ModelAndView("/hello", "prm", map);
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
SpringMVC入门示例demo 程序源码
共113个文件
jar:66个
xml:11个
jsp:6个
5星 · 超过95%的资源 需积分: 47 4.7k 下载量 61 浏览量
2015-05-07
18:06:35
上传
评论 16
收藏 15.27MB ZIP 举报
温馨提示
springmvc_demo_02是非注解模式,springmvc_demo_03是手动指定springmvc的核心配置文件的位置的,springmvc_demo_04是使用springMVC的注解模式 csdn原文博客:http://blog.csdn.net/hu1991die/article/details/45564465
资源推荐
资源详情
资源评论
收起资源包目录
SpringMVC入门示例demo 程序源码 (113个子文件)
HelloController.class 2KB
HelloController.class 1KB
HelloController.class 681B
.classpath 3KB
.classpath 3KB
.classpath 3KB
org.eclipse.wst.common.component 505B
org.eclipse.wst.common.component 505B
org.eclipse.wst.common.component 505B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.jsdt.ui.superType.container 49B
org.eclipse.wst.jsdt.ui.superType.container 49B
spring-context-3.2.0.M1.jar 832KB
spring-context-3.2.0.M1.jar 832KB
spring-context-3.2.0.M1.jar 832KB
spring-beans-3.2.0.M1.jar 587KB
spring-beans-3.2.0.M1.jar 587KB
spring-beans-3.2.0.M1.jar 587KB
spring-webmvc-3.2.0.M1.jar 585KB
spring-webmvc-3.2.0.M1.jar 585KB
spring-webmvc-3.2.0.M1.jar 585KB
spring-web-3.2.0.M1.jar 561KB
spring-web-3.2.0.M1.jar 561KB
spring-web-3.2.0.M1.jar 561KB
spring-core-3.2.0.M1.jar 440KB
spring-core-3.2.0.M1.jar 440KB
spring-core-3.2.0.M1.jar 440KB
spring-jdbc-3.2.0.M1.jar 394KB
spring-jdbc-3.2.0.M1.jar 394KB
spring-jdbc-3.2.0.M1.jar 394KB
standard.jar 384KB
standard.jar 384KB
standard.jar 384KB
spring-orm-3.2.0.M1.jar 374KB
spring-orm-3.2.0.M1.jar 374KB
spring-orm-3.2.0.M1.jar 374KB
spring-aop-3.2.0.M1.jar 326KB
spring-aop-3.2.0.M1.jar 326KB
spring-aop-3.2.0.M1.jar 326KB
spring-tx-3.2.0.M1.jar 241KB
spring-tx-3.2.0.M1.jar 241KB
spring-tx-3.2.0.M1.jar 241KB
spring-test-3.2.0.M1.jar 221KB
spring-test-3.2.0.M1.jar 221KB
spring-test-3.2.0.M1.jar 221KB
spring-jms-3.2.0.M1.jar 199KB
spring-jms-3.2.0.M1.jar 199KB
spring-jms-3.2.0.M1.jar 199KB
spring-webmvc-portlet-3.2.0.M1.jar 186KB
spring-webmvc-portlet-3.2.0.M1.jar 186KB
spring-webmvc-portlet-3.2.0.M1.jar 186KB
spring-expression-3.2.0.M1.jar 169KB
spring-expression-3.2.0.M1.jar 169KB
spring-expression-3.2.0.M1.jar 169KB
spring-context-support-3.2.0.M1.jar 108KB
spring-context-support-3.2.0.M1.jar 108KB
spring-context-support-3.2.0.M1.jar 108KB
spring-oxm-3.2.0.M1.jar 73KB
spring-oxm-3.2.0.M1.jar 73KB
spring-oxm-3.2.0.M1.jar 73KB
spring-aspects-3.2.0.M1.jar 71KB
spring-aspects-3.2.0.M1.jar 71KB
spring-aspects-3.2.0.M1.jar 71KB
spring-asm-3.2.0.M1.jar 57KB
spring-asm-3.2.0.M1.jar 57KB
spring-asm-3.2.0.M1.jar 57KB
commons-logging.jar 52KB
commons-logging.jar 52KB
commons-logging.jar 52KB
jstl.jar 20KB
jstl.jar 20KB
jstl.jar 20KB
spring-instrument-tomcat-3.2.0.M1.jar 10KB
spring-instrument-tomcat-3.2.0.M1.jar 10KB
spring-instrument-tomcat-3.2.0.M1.jar 10KB
spring-instrument-3.2.0.M1.jar 7KB
spring-instrument-3.2.0.M1.jar 7KB
spring-instrument-3.2.0.M1.jar 7KB
HelloController.java 2KB
HelloController.java 1KB
HelloController.java 833B
.jsdtscope 503B
.jsdtscope 503B
.jsdtscope 503B
hello.jsp 1KB
hello.jsp 1KB
index.jsp 876B
index.jsp 876B
hello.jsp 865B
index.jsp 834B
MANIFEST.MF 39B
MANIFEST.MF 39B
MANIFEST.MF 39B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.jdt.core.prefs 364B
org.eclipse.jdt.core.prefs 364B
org.eclipse.jdt.core.prefs 364B
.project 1KB
共 113 条
- 1
- 2
鬼脚飞
- 粉丝: 149
- 资源: 21
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 基于JSP水产品销售系统源码.zip
- 基于JSP手机商城管理系统源码.zip
- 5.3.1_1二叉树的先中后序遍历.mp420240404-134540.png
- 基于JSP实现一个C语言教学网站平台源码.zip
- 抖音快手-课程网盘链接提取码下载 .txt
- 934742083249391XGOBOTV1.2.4.apk
- 课程设计基于OpenCV的材料缺陷检测程序python源码(含超详细注释).zip
- 基于python和百度EsayDL实现自动驾驶算法+基于ESP32开发板作为智能车主控芯片的自动驾驶智能车项目+源码(高分项目)
- Centos7-离线安装-MySQL5-7-31-tar包安装
- 蓝海平台带货-课程网盘链接提取码下载 .txt
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
- 1
- 2
- 3
- 4
- 5
- 6
前往页