
spring
iteye_6075
这个作者很懒,什么都没留下…
展开
-
一个关于Spring的好消息及Spring Batch概述
3年前,即将大学毕业,遇到了spring,还以SSH框架为题做了毕业论文,没明白spring到底干嘛呢,好像就是在搭积木,没明白sping怎么干这事有这么多人表扬她,论文质量可想而知有多烂,现在自己实在都不忍心看,只是打成压缩包留着纪念。因为答辩的都不是软件方向的,没人懂这个,稀里糊涂的过了论文答辩。忙忙碌碌一晃3年过去了,一直在用它,却从来不了解她(干苦力的),很遗憾,几次下决心想摸摸sourc...2008-05-26 00:45:31 · 317 阅读 · 0 评论 -
springmvc,Servlet3异步,websocket
spring4.0以后加入了对websocket技术的支持[url]http://blog.youkuaiyun.com/gisredevelopment/article/details/38392629[/url]使用 HTML5 WebSocket 构建实时 Web 应用[url]http://www.ibm.com/developerworks/cn/web/1112_huangxa...原创 2014-10-17 22:58:50 · 140 阅读 · 0 评论 -
SpringMVC中的文件上传【转发】
[url]http://blog.youkuaiyun.com/jadyer/article/details/7575934[/url]SPRING MVC [url]http://blog.youkuaiyun.com/jadyer/article/category/1148553[/url][url=http://blog.youkuaiyun.com/zhanngle/article/details/241...原创 2014-09-19 21:54:33 · 195 阅读 · 0 评论 -
{转}spring security 3 自定义认证授权示例
转:http://www.4ucode.com/Study/Topic/2007393Spring Security 3.x 出来一段时间了,跟Acegi是大不同了,与2.x的版本也有一些小小的区别,网上有一些文档,也有人翻译Spring Security 3.x的guide,但通过阅读guide,无法马上就能很容易的实现一个完整的实例。 我花了点儿时间,根据以前的实战经验,整理了一份...原创 2011-11-10 16:46:36 · 174 阅读 · 0 评论 -
springmvc 表单 @RequestMapping 上传文件
[code="java"] @RequestMapping(method = RequestMethod.POST) public String save( @RequestParam(value = "file", required = false) MultipartFile file, @Valid Store store, BindingResult result)...原创 2010-06-04 18:08:45 · 183 阅读 · 0 评论 -
用spring resource 接口获取 web应用的ROOT目录
[code="java"]Resource r = new ClassPathResource("log4j.properties"); File f = r.getFile().getParentFile().getParentFile() .getParentFile();String path = f.getAbsolutePath() + File.separato...原创 2010-12-09 19:44:11 · 298 阅读 · 0 评论 -
ControllerClassNameHandlerMapping @Controller
这里也提到这个问题[url]http://forum.springsource.org/showthread.php?p=151750[/url]Allow ControllerClassNameHandlerMapping and @Controller to work together似乎在Spring mvc 2.5.4里面有一个 bug就是当你实现一个c...原创 2009-06-27 01:25:53 · 163 阅读 · 0 评论 -
spring MessageSource
[url]http://www.blogjava.net/xzclog/archive/2008/11/22/241974.html[/url][url=http://www.ibm.com/developerworks/cn/java/l-jpointer/index.html]JAVA中的指针,引用及对象的clone[/url]原创 2009-06-12 13:06:47 · 80 阅读 · 0 评论 -
PagedListHolder
org.springframework.beans.support.PagedListHolderpublic class PagedListHolderextends Objectimplements SerializablePagedListHolder is a simple state holder for handling lists of objects, se...原创 2009-03-26 23:32:29 · 99 阅读 · 0 评论 -
HOWTO: Use Freemarker, SiteMesh, and Spring MVC(2)
Here's an example of the Freemarker files used with the configuration above:/WEB-INF/freemarker/index.ftl (the home page content)Important to note is that we are importing a custom Freemarker macr...原创 2009-03-19 23:52:17 · 111 阅读 · 0 评论 -
HOWTO: Use Freemarker, SiteMesh, and Spring MVC(1)
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="336" height="280" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><p...原创 2009-03-19 23:50:27 · 126 阅读 · 0 评论 -
spring mvc & freemarker 版ROR
实现COC原则无配置自动映射[quote]http://localhost:8080/jpetstore/index/index.html --> IndexController.index() --> /WEB-INF/ftl/index/index.flt [/quote]今天晚上试验了一下想象中的配置 成功了。SPRING MVC + FREEMARKER 实现类似...2008-06-19 01:27:19 · 121 阅读 · 0 评论 -
spring mvc 也能实现 ror 类似的URL路由
看过ror的朋友一定知道它所体现的一个核心思想就是惯例优先原则(convention over configuration),一想到那方便,就觉得很舒服。一直用struts开发一定,一定很厌烦struts的 .xml配置文件映射的action.那个文件多么笨拙,缺乏灵性。SpringMVC在2.0后也引入了CoC,请简单描述一下SpringMVC的CoC。Welcome...2008-06-18 18:54:39 · 174 阅读 · 0 评论 -
重头开始学 Spring JPetStore 5
重头开始学 Spring JPetStore 4 里面的Controller似乎太简单了一些。让我们看一个更复杂一些的请求看看注册页面[quote]http://localhost:8080/jpetstore/shop/newAccount.do[/quote]这里有一个表单需要提交。沿着这个请求 /shop/newAccount.do 找到对应的bean...2008-06-18 18:25:36 · 105 阅读 · 0 评论 -
重头开始学 Spring JPetStore 4
跟踪一个 .do 请求吧就它了。 Enter the Store [b]http://localhost:8080/jpetstore/shop/index.do[/b]org.springframework.web.servlet.DispatcherServlet 动用了强大的handlerMapping 。当然这个接口有很多实现。[quote]...2008-06-18 15:42:31 · 111 阅读 · 0 评论 -
重头开始学 Spring JPetStore 3
按 [b]重头开始学 Spring JPetStore 2[/b] 中的提示部署启动成功。出现了以下页面。[img]http://www.iteye.com/upload/picture/pic/16245/7f64fde4-81be-33cb-9f70-e82fae24c2e0.jpg?1213769733[/img][b]现在让我们来看看它在启动过程中时到底做了什么?[/b]...2008-06-18 14:21:40 · 95 阅读 · 0 评论 -
重头开始学 Spring JPetStore 2
2. BUILD AND DEPLOYMENT编译和发布This directory contains the web app source.For deployment, it needs to be built with Apache Ant.The only requirements are JDK >=1.3 and Ant >=1.5.这个目录包含了web...2008-06-17 11:50:48 · 110 阅读 · 0 评论 -
重头开始学 Spring JPetStore 1
先看看它的[b]readme.txt[/b][quote]@author Juergen HoellerBased on Clinton Begin's JPetStore (http://www.ibatis.com).1. MOTIVATION Features a Spring-managed middle tier with iBATIS Database Laye...2008-06-17 11:35:40 · 92 阅读 · 0 评论 -
webuploader用java实现上传
[code="html"] 或将照片拖到这里,单次最多可选300张 0% 开始上传...原创 2014-10-17 23:55:33 · 446 阅读 · 0 评论