package cn.jackie.controller;
import java.util.Map;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
@Controller
public class HelloWorldController {
@RequestMapping(value="/helloWorld")
public String testFreemarkerView(Map<String,Object> map){
map.put("name", "JackieChan");
map.put("age", "23");
map.put("address", "Shanghai");
map.put("user", "진트트");
return "helloWorld";
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
SpringMVC整合Freemarker
共47个文件
jar:29个
xml:4个
properties:2个
4星 · 超过85%的资源 需积分: 12 21 下载量 112 浏览量
2016-03-26
18:43:22
上传
评论 1
收藏 9.97MB ZIP 举报
温馨提示
包括1、SpringMVC的配置 2、Freemarker的配置(freemarkerConfig和freemarkerViewResolver) 以简单的HelloWorld为例
资源推荐
资源详情
资源评论
收起资源包目录
freemark整合SpringMVC.zip (47个子文件)
freemarkMVCDemon
mvcFreemarker
WebContent
META-INF
MANIFEST.MF 39B
WEB-INF
web.xml 1KB
ftl
helloWorld.ftl 325B
lib
validation-api-1.1.0.CR1.jar 62KB
spring-beans-4.0.0.RELEASE.jar 654KB
classmate-0.8.0.jar 58KB
spring-core-4.0.0.RELEASE.jar 933KB
jackson-annotations-2.1.5.jar 34KB
com.springsource.org.aspectj.weaver-1.6.8.RELEASE.jar 1.57MB
spring-jdbc-4.0.0.RELEASE.jar 410KB
standard.jar 384KB
spring-context-4.0.0.RELEASE.jar 928KB
jackson-databind-2.1.5.jar 906KB
spring-webmvc-4.0.0.RELEASE.jar 645KB
jackson-core-2.1.5.jar 202KB
jboss-logging-3.1.1.GA.jar 59KB
spring-aop-4.0.0.RELEASE.jar 343KB
com.springsource.org.aopalliance-1.0.0.jar 5KB
jstl.jar 20KB
spring-expression-4.0.0.RELEASE.jar 202KB
commons-logging-1.1.3.jar 61KB
spring-context-support-4.0.0.RELEASE.jar 131KB
hibernate-validator-5.0.0.CR2.jar 565KB
commons-fileupload-1.2.1.jar 56KB
freemarker.jar 1.29MB
com.springsource.net.sf.cglib-2.2.0.jar 319KB
spring-orm-4.0.0.RELEASE.jar 309KB
spring-aspects-4.0.0.RELEASE.jar 50KB
spring-tx-4.0.0.RELEASE.jar 242KB
spring-web-4.0.0.RELEASE.jar 646KB
commons-io-2.0.jar 156KB
hibernate-validator-annotation-processor-5.0.0.CR2.jar 63KB
index.jsp 363B
.settings
org.eclipse.wst.jsdt.ui.superType.name 6B
org.eclipse.wst.common.project.facet.core.xml 345B
org.eclipse.wst.common.component 491B
org.eclipse.wst.jsdt.ui.superType.container 49B
.jsdtscope 503B
org.eclipse.jdt.core.prefs 364B
src
springmvc.xml 2KB
cn
jackie
controller
HelloWorldController.java 496B
freemarker.properties 191B
.project 1KB
.classpath 3KB
build
classes
springmvc.xml 2KB
cn
jackie
controller
HelloWorldController.class 1KB
freemarker.properties 191B
共 47 条
- 1
资源评论
- 华丽丽的小低调2016-11-25感谢分享,。。。
RandolphChin
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 2022年各城市PM2.5, PM10, SO2, NO2等环境空气质量数据
- Golang:通过Gin框架+Redis+责任链,实现一个简单的钉钉机器人,进行消息处理 ps:多应用版
- 2021年各城市PM2.5, PM10, SO2, NO2等环境空气质量数据
- CORRUPT.navicat150-premium-cs-x64.exe
- centos7 ssh 升级至 9.6p1
- DriverMax Pro .exe
- PHP端通过modbus协议跟第三方设备进行数据通信
- navicat安装包亲测可用
- 算法部署-使用OpenVINO部署MobileStyleGAN轻量化高保真图像合成算法-项目源码-优质项目实战.zip
- 基于java实现远程采集华为逆变器使用modbus tcp协议进行通讯的设备数据
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功