struts2 Action中获取request, response对象的方法   ActionContext ctx = ActionContext.getContext();                 HttpServletRequest request = (HttpServletRequest)ctx.ge ...
2007-10-12

Spring使用p6spy监控sql

关键字: p6spy
1.下载附件的p6psy.jar以及spy.properties文件 2.将p6spy.jar放到应用的lib目录下,将spy.properties放到WEB-INF\classes目录下 3.修改spy.properties样本的第41行,使用ORACLE驱动,封闭缺省的MYSQL驱动: # oracle driver realdriver=oracle.jdbc.driver.OracleDriver 修改spy.properties样本的第54行,封闭缺省的MYSQL驱动: # the mysql open source driver # realdriver=o ...
2007-10-10

很靓的一个日期控件

关键字: My97日期控件
一个很漂亮的js实现的日期控件,有很多很好的功能,可以到作者的blog去看看,地址是:http://blog.csdn.net/My97/archive/2007/06/29/1671264.aspx
DWR2.0默认支持webwork,在网上找了些资料有兄弟已经走在了我前面了,呵呵。不过我已经将其打包成了dwr4struts2.jar,见附件。 dwr.xml文件: xml 代码 <?xml version="1.0" encoding="UTF-8"?>      <!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct&n ...