使用Acegi实现多种用户登录 http://java.csdn.net/page/cb87cf27-8fa8-4dbf-83af-39cf9e1ca8a1 使用 Acegi 保护 Java 应用程序,第 1 部分: 架构概览和安全过滤器 http://www.ibm.com/developerworks/cn/java/j-acegi1/#section6.2 Acegi Gossip: Acegi 学习笔记 http://caterpillar.onlyfun.net/GossipCN/AcegiGossip/AcegiGossip.html Struts2.0+spring2.0+hib ...
  • 22:15
  • 浏览 (25)
  • 评论 (0)
前不久用ROR做了一个小型的网站,部署在Instant Rails上(Apache+Mongrel)。 当访问量大的时候总会出现 引用 Error sending file D:/zsbnew/INSTAN~1.7-W/INSTAN~1/rails_apps/zsb/public/javasc ripts/application.js: 远程主机强迫关闭了一个现有的连接。 Error sending file D:/zsbnew/INSTAN~1.7-W/INSTAN~1/rails_apps/zsb/public/images /daohang/tuwenxinxi.jpg: 您的主机中的 ...
2008-06-25

JSP页面静态化参考文献

关键字: 静态化
http://hi.baidu.com/myj2ee/blog/item/298aa68746053f2fc65cc3b0.html
  • 14:17
  • 浏览 (43)
  • 评论 (0)
2008-06-22

hibernate cache参考文献

关键字: hibernate ehcache
http://blog.csdn.net/sunlen/articles/446168.aspx http://blog.csdn.net/qililhjcn/archive/2008/03/18/2194965.aspx http://macrochen.blogdriver.com/macrochen/1226466.html
  • 13:51
  • 浏览 (44)
  • 评论 (0)
2008-06-22

urlrewrite参考文献

关键字: urlrewrite
http://tangshuo.javaeye.com/blog/184821 http://topic.csdn.net/u/20080429/08/f2a6843f-d6dd-4b3d-99c1-bd1d5c5bf598.html http://hi.baidu.com/2311/blog/item/781ea00118ac65031c958355.html
  • 13:49
  • 浏览 (36)
  • 评论 (0)
2008-06-13

s:property 格式化输出代码

关键字: 富文本
当属性中有标签代码时,如果你想不显示这些标签代码(格式化输出),可以使用struts2标签的escape属性 <s:property value="name" escape="false"/>
  • 10:22
  • 浏览 (96)
  • 评论 (0)
2008-06-09

遍历Map<Integer, Map<String, List>>

关键字: 双重遍历map
public class Main { public static void main(String[] args) { Map <Integer, Map <String, List>> classAmount = new HashMap <Integer, Map <String, List>>(); Map<String,List> m = new HashMap<String,List>(); List l = new ArrayList(); l.ad ...
像页面转跳失效问题肯定是路径的问题。建议改相对路径为绝对路径。 String path = request.getContextPath(); String basePase = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; 引用css: <link rel="stylesheet" type="text/css" href="<%=basePath%>main.css">
学习struts2的好资料。
2008-05-25

Struts2.0+Spring+Hibernate使用记录

关键字: struts2.0, spring, hibernate
1 通过使用Struts2.0的类型转换,值得程序员从setter中彻底的解放出来。 2 Struts2.0使用的spring插件,使得它和spring可以无缝的集成。 3 由于实例化操作交给了spring容器进行管理,IDE的方法自动提示不再闪现光辉。 4 不能上传png和jpg类型的图片,及决方法<param name="allowedTypes">image/bmp,image/x-png,image/gif,image/pjpeg</param> 5 struts2的iterator内部循环如何访问外层变量 bigAndSmallMap是一个HashMap <Bi ...
jiyanliang
搜索本博客
我的相册
存档
最新评论