摘要: 原地址:http://blog.csdn.net/ezerg/archive/2004/10/14/135769.aspx OSCache是当前运用最广的缓存方案,JBoss,Hibernate,Spring等都对其有支持,下面简单介绍一下OSCache的配置和使用过程。1.安装过程从http://www.opensymphony.com/oscache/download.html下载合适的OSC... 阅读全文
posted @ 2008-09-28 20:02 魔豆 阅读(471) 评论(0) 推荐(0) 编辑
摘要: codebehind plugin是一个可以简化struts2配置的插件,虽然不能实现完全意义上的codebehind,至少已经做的不错了,期待新版本:-D 使用步骤: 1.确保你的应用已经可以使用struts2 2.添加struts2-codebehind-plugin-2.0.11.2.jar包到应用中 3.struts.xml中添加配置: 这里的value值填写jsp页面的根路径 然... 阅读全文
posted @ 2008-09-28 17:53 魔豆 阅读(3875) 评论(4) 推荐(0) 编辑
摘要: 受这篇文章(主题:Spring 事务简化配置)的启发,我对原有的Spring配置文件进行了修改,原配置文件: Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--> ... 阅读全文
posted @ 2008-09-28 15:49 魔豆 阅读(596) 评论(0) 推荐(0) 编辑
摘要: 上一篇文章,我编写了我的第一段Spring MVC代码,文章见于:JSP学习笔记(五十七):编写第一段Spring MVC代码 现在我把代码改成基于注解驱动的: web.xml文件保持不变 dispatcherServlet-servlet.xml文件的内容修改为: Code highlighting produced by Actipro CodeHighlighter (freeware)... 阅读全文
posted @ 2008-09-28 09:53 魔豆 阅读(1091) 评论(0) 推荐(0) 编辑