- 博客(35)
- 资源 (8)
- 收藏
- 关注
转载 (转)从JavaScript函数重名看其初始化方式
在项目中不小心写了两个同名函数,但参数不同,以为没有问题,其实总是执行最后个javascript函数。具体原因见下:(下面内容转载) 今天有个哥们问我要是JavaScript函数重名了会有什么后果?开始我没有细想,就说可能会出错吧,可是等我实验完了发现页面没有任何脚本错误提示,而且程序也运行了,只是对同名函数的调用执行了位置靠后的一个。 回头仔细一
2007-09-29 10:44:00 697
原创 分页 eXtremeTable 使用
http://code.google.com/p/extremetable/wiki/Setuphttp://www.cnblogs.com/sharewind/archive/2007/04/18/717764.html本人认为eXtremeTable 比displayTag功能更强大。The eXtremeTable is a JSP custom tag library used to di
2007-09-28 16:16:00 1427
分页 eXtremeTable 使用
http://code.google.com/p/extremetable/wiki/Setuphttp://www.cnblogs.com/sharewind/archive/2007/04/18/717764.html本人认为eXtremeTable 比displayTag功能更强大。The eXtremeTable is a JSP custom tag library used to di...
2007-09-28 16:15:32 92
原创 displaytag分页 使用
1.下载displaytag的几个库文件,和辅助包apache的commons-lang-2.1,其中要求是2.1版本的。2.修改web.xml,加上: DisplaySource DisplaySource display source of sample jsp pages org.displaytag.sample.DisplaySo
2007-09-28 12:58:00 1878
displaytag分页 使用
1.下载displaytag的几个库文件,和辅助包apache的commons-lang-2.1,其中要求是2.1版本的。2.修改web.xml,加上: <servlet> <servlet-name>DisplaySource</servlet-name> <display-name>DisplaySource</...
2007-09-28 12:58:00 95
CSS学习
http://tool.cndw.com/CssDesigner/ css在线编辑器1.在定义CSS时(Embed)要加上:<style type="text/css"><!--<style type="text/css"><!--h2 { font-family: "宋体"; font-size: 12pt; font-style: italic; colo..
2007-09-27 14:56:18 57
原创 CSS学习
http://tool.cndw.com/CssDesigner/ css在线编辑器1.在定义CSS时(Embed)要加上:h2 { font-family: "宋体"; font-size: 12pt; font-style: italic; color: #FF0033; background-color: #FFCCCC}h1 { font-family: "Arial"; font-si
2007-09-27 14:56:00 622
新发现_查询代码好网站
<search terms> Search for <search terms> within files. sort - md5 - "smtp server" ...
2007-09-24 16:08:00 67
原创 小议:Test Driven Develop
TDD意味着您不仅需要为每一段代码编写测试用例,而且意味着测试优先。测试用例用来定义代码需要做什么。在完成相应的代码之后,运行测试用例来保证代码确实符合测试用例的规定。Steps of Test Driven Develop:1.编写一个小的测试,来断言某些功能正确与否.2.运行测试,如果结果是失败.3.编写代码,使用测试通过.4.重构测试和代码,清除重复的概念,确保代码富于表现力.
2007-09-21 14:39:00 663
小议:Test Driven Develop
TDD意味着您不仅需要为每一段代码编写测试用例,而且意味着测试优先。测试用例用来定义代码需要做什么。在完成相应的代码之后,运行测试用例来保证代码确实符合测试用例的规定。Steps of Test Driven Develop:1.编写一个小的测试,来断言某些功能正确与否.2.运行测试,如果结果是失败.3.编写代码,使用测试通过.4.重构测试和代码,清除重复的概念,确保代码富于表现力. ...
2007-09-21 14:38:46 217
敏捷开发的几大技巧:
敏捷开发的几大技巧:1、移动重复代码;2、将注解转换为代码:将注释转换为代码,让代码足够清楚到可以表示注释,如将一部分代码重构成方法,用方法名来表达注释的意思。3:除去代码异味: 第一种异味:代码用了类别代码(type code)如final int TYPERECTANGLE = 1; 第二种异味:Shape 这个类有很多属性有时候是不用的; 第三种异味:我们想给p1,p2 取个好一...
2007-09-21 14:36:11 193
原创 敏捷开发的几大技巧:
敏捷开发的几大技巧:1、移动重复代码;2、将注解转换为代码:将注释转换为代码,让代码足够清楚到可以表示注释,如将一部分代码重构成方法,用方法名来表达注释的意思。3:除去代码异味: 第一种异味:代码用了类别代码(type code)如final int TYPERECTANGLE = 1; 第二种异味:Shape 这个类有很多属性有时候是不用的; 第三种异味:我们想给p1,p2 取个好一
2007-09-21 14:36:00 897
原创 HDIV:HTTP Data Integrity Validator
http://www.hdiv.org/HDIV:HTTP Data Integrity ValidatorWe can briefly define HDIV as a Java Web Application Security Framework. HDIV extends web applications’ behaviour by adding Security functionaliti
2007-09-20 16:14:00 1837
HDIV:HTTP Data Integrity Validator
http://www.hdiv.org/HDIV:HTTP Data Integrity ValidatorWe can briefly define HDIV as a Java Web Application Security Framework. HDIV extends web applications’ behaviour by adding Security functionaliti...
2007-09-20 16:13:36 284
(转)提高软件开发生产力的秘方
中文:http://www.infoq.com/cn/articles/learning_is_the_bottleneck 英文:http://www.infoq.com/articles/learning_is_the_bottleneck
2007-09-20 15:27:17 46
转载 (转)提高软件开发生产力的秘方
中文:http://www.infoq.com/cn/articles/learning_is_the_bottleneck 英文:http://www.infoq.com/articles/learning_is_the_bottleneck
2007-09-20 15:27:00 683
原创 读《Domain-Driven Design Quickly》笔记
Domain-Driven Design Quickly 这书很好,下载地址:http://www.infoq.com/minibooks/domain-driven-design-quickly判断是否是领域逻辑的原则:就是这个逻辑动作是否有明确的业务上的含义,或者说是否是业务相关的,而不仅仅是技术相关的。只有将技术实现手段从领域问题中剥离才能保证领域本身的精炼,保证程序员可以把精力集中到领域问
2007-09-18 16:20:00 1634 1
读《Domain-Driven Design Quickly》笔记
Domain-Driven Design Quickly 这书很好,下载地址:http://www.infoq.com/minibooks/domain-driven-design-quickly判断是否是领域逻辑的原则:就是这个逻辑动作是否有明确的业务上的含义,或者说是否是业务相关的,而不仅仅是技术相关的。只有将技术实现手段从领域问题中剥离才能保证领域本身的精炼,保证程序员可以把精力集中到领域问...
2007-09-18 16:20:00 106
原创 Spring2.0中声明式事务管理(读spring2.0技术手册,林信良)
Spring2.0中声明式事务管理(读技术手册>,林信良)1. 在mysql中创建表userCREATE TABLE user ( id INT(11) NOT NULL auto_increment PRIMARY KEY, name VARCHAR(100) NOT NULL default , age INT) Type = InnoDB;
2007-09-18 09:21:00 2028
Spring2.0中声明式事务管理(读spring2.0技术手册,林信良)
Spring2.0中声明式事务管理(读<spring2.0技术手册>,林信良)<o:p></o:p>1. 在mysql中创建表user<o:p></o:p>CREATE TABLE user (<o:p></o:p> id INT(11) NOT NULL auto_increment PRIMARY
2007-09-18 09:21:00 136
原创 Maven安装配置
http://maven.apache.org/http://m2eclipse.codehaus.org/Maven_2.0_Plugin_for_Eclipse.html Maven is a software project management and comprehension tool. Based on the concept of a project object mo
2007-09-17 15:00:00 3719
Maven安装配置
http://maven.apache.org/<o:p> </o:p>Maven安装配置:1.在PATH后加上就XXXX\maven-2.0\bin;%PATH%,输入mvn –version验证。2.如果是代理服务器上网就,setting.xml<proxies><o:p> </o:p> <proxy> &...
2007-09-17 14:59:38 52
根据数据库模块生成sql,pojo等
1. 连接数据库取得表中字段名和类型。参考:http://blog.csdn.net/pengchua/archive/2007/09/13/1783887.aspx2. 生成POJO,sql的模块:Pojo.vm//注意$attr.getColumnType()中getColumnType()是定义好的类中方法。public class $clas...
2007-09-14 14:21:06 144
原创 根据数据库模块生成sql,pojo等
1. 连接数据库取得表中字段名和类型。参考:http://blog.csdn.net/pengchua/archive/2007/09/13/1783887.aspx2. 生成POJO,sql的模块:Pojo.vm//注意$attr.getColumnType()中getColumnType()是定义好的类中方法。public cla
2007-09-14 14:21:00 956
原创 通过java查询数据库表结构
//获取数据表结构 public static void getConnAndTableStruct(){ Connection connection = null; PreparedStatement pstmt = null; ResultSetMetaData rsmd = null; try { //mysql连
2007-09-13 16:38:00 4003
通过java查询数据库表结构
//获取数据表结构 public static void getConnAndTableStruct(){ Connection connection = null; PreparedStatement pstmt = null; ResultSetMetaData rsmd = null; try { //mysql连...
2007-09-13 16:38:00 784
Struts 1.x Vs Struts 2.x
In the following section, we are going to compare the various features between the two frameworks. Struts 2.x is very simple in comparison to the struts 1.x , few of its excelling features are:1. ...
2007-09-13 13:40:22 42
原创 Struts 1.x Vs Struts 2.x
In the following section, we are going to compare the various features between the two frameworks. Struts 2.x is very simple in comparison to the struts 1.x , few of its excelling features are:
2007-09-13 13:40:00 1064
原创 学习struts2.0,更新知识
http://struts.apache.org/2.x/http://www.blogjava.net/max/ Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to st
2007-09-12 15:17:00 1064
学习struts2.0,更新知识
http://struts.apache.org/2.x/http://www.blogjava.net/max/<o:p> </o:p>Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework ...
2007-09-12 15:17:00 98
原创 Spring 2.0中 AOP的编程
Spring 2.0中 AOP的编程:方式一:publicclass User { publicvoid method() { System.out.println("in method1"); }}publicclass LogBean { public Object aroundLogCalls(ProceedingJoin
2007-09-04 15:03:00 4658 3
Spring 2.0中 AOP的编程
Spring 2.0中 AOP的编程:方式一:publicclass User { publicvoid method() { System.out.println("in method1"); }}publicclass LogBean { public Object aroundLogCalls(ProceedingJoinPoint joinPoint) t...
2007-09-04 15:03:00 157
转载 (转)Spring 2.0的新特性和应用实践
作者 Rod Johnson 译者 张凯峰 发布于 2007年7月11日 上午5时22http://www.infoq.com/cn/articles/spring-2-intro 写得太好了
2007-09-04 09:06:00 603
(转)Spring 2.0的新特性和应用实践
作者 Rod Johnson 译者 张凯峰 发布于 2007年7月11日 上午5时22http://www.infoq.com/cn/articles/spring-2-intro 写得太好了
2007-09-04 09:06:00 50
《通信监听》Android应用
2012-05-11
SVN manual guide.pdf
2011-08-18
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人