walkerun
Roader123 · 共 76 篇文章
[置顶] TODO
Acegi + LDAP SVN+Maven+CruiseControl How do I debug my application when it's running in Jetty? http://www.mojavelinux.com/blog/archives/2007/03/remote_debugging_with_jetty/ Java 嵌套循环的性能----TODO
2009-07-17T15:17:48Z · 评论(0)
equals and hashcode
一般重写equals, 需要重写hashcode。for hash Collection usage public boolean equals(Object o){ if(o==this) return true; if(!(o instanceof CatchFinally)) return false; CatchFinally cf = (CatchFinally)o; return cf.keyfield == this.keyfield&&this.keyfield2.equals(cf.keyfield2); } public int hashCode(){ int resul…
2011-09-10T18:30:44Z · 编程语言 · 评论(0)
National Organization
银行间外汇市场概述 http://wiki.mbalib.com/wiki/中国外汇交易中心 中国外汇交易中心 http://www.chinamoney.com.cn/ 中国反洗钱监测分析中心 http://www.camlmac.gov.cn
2010-11-22T00:02:40Z · 行业应用 · 评论(0)
JQuery (2)
$()函数(JQuery 函数的别名)返回特别的JavaScript对象,它包含着与选择器相匹配的DOM元素的数组。该对象还包含大量预定义的有用的方法,能够用于该数组。 jQuery 的$()函数最常见的用途就是包装元素以便于操作。 它的另外一个功能就是作为几个通用的实用工具函数的命名空间前缀。 1.3.3文档就绪处理程序 一旦DOM树(而不是外部图像资源)加载完毕,就去激活代码的执行。 正式语法: $(document).ready(function(){ $("table tr:nth-child(even)").addClass("even"); }); 简写形式: $(functio…
2010-11-15T00:05:46Z · Web前端 · 评论(0)
JQuery (1)-----JavaScript 必知必会
1 .JavaScript 对象的基本原理 1.1 对象怎样成为对象 var aOjbect = new Object(); 1.2 对象的属性 一般用点操作符来引用对象的属性,在属性名称中有点的话就不可以了。 所以需要更通用的表示法来访问对象属性。 object[propertyNameExpression] 1.3 对象的字面量 var ride = { make : 'Yamaha', model : 'V-Star', year : 2010, purchased : new Date(2005,3,12), owner : { name:'Spike Spiegel', occup…
2010-11-14T19:59:11Z · Web前端 · 评论(0)
struts2 超链接 到另一个action
1. 需要你去看你的struts配置文件。假如action的namespace='/company';action的名字为xx则应该写为: <a href="/company/xx.action">链接<a> 如果需要传参数a,且a的值为1: <a href="/company/xx.action?a=1">链接<a> 如果传参个数大于1,则将参数之间用&连接: <a href="/company/xx.action?a=1&b=1">链接<a> 如果配置文件中的namespace没有写,那么链接写为 <a href="xx.action">链接<a> 错了哦,应该写为: <a href="…
2010-08-10T23:52:11Z · Web前端 · 评论(0)
s:checkboxlist 选中
<s:checkboxlist http://blog.csdn.net/bolink5/archive/2010/02/01/5278215.aspx <s :doubleselect http://hi.baidu.com/fuwenpan/blog/item/475200f35d5cfbce0a46e09c.html
2010-08-10T21:22:24Z · Web前端 · 评论(0)
struts2 如何获取request,session,response
import java.util.Map; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import org.apache.struts2.ServletActionContext; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.ActionSupport; publi…
2010-08-09T00:11:44Z · 企业架构 · 评论(0)
如果通过超级链接提交表单
http://akunamotata.iteye.com/blog/357593 < script LANGUAGE = " JavaScript " > function checkvalue() { if (document.welcomeform.nickname.value == "" ) { alert( " 昵称不能为空! " ); return ( false ); } if (document.welcomeform.password.value == "" ) { alert( " 密码不能为空! " ); return ( false ); } document.welc…
2010-08-08T23:56:48Z · Web前端 · 评论(0)
java中数据类型转换 Integer String Long Float Double Date
1如何将字串 String 转换成整数 int ? A. 有两个方法: 1 ). int i = Integer.parseInt([String]); 或 i = Integer.parseInt([String],[ int radix]); 2 ). int i = Integer.valueOf(my_str).intValue(); 注: 字串转成 Double, Float, Long 的方法大同小异. 2 如何将整数 int 转换成字串 String ? A. 有叁种方法: 1 .) String s = String.valueOf(i); 2 .) String s = I…
2010-07-24T00:30:36Z · 编程语言 · 评论(0)
通过POI将Excel数据导入数据库
http://chengyue2007.iteye.com/blog/455911 上一篇写了从数据库导出excel。今天继上一篇写出从excel导入数据库。数据库表有这些字段:ID,BOOK_NAME,BOOK_AUTHOR,BOOK_PUBLISH,BOOK_DATE,BOOK_ISBN,BOOK_PAGE,BOOK_PRICE。 连接数据库类: import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; public class DBConnection { priva…
2010-07-23T23:39:14Z · 编程语言 · 评论(2)
Web Services
Web Services interoperate across platforms, applications, and programming languages. The foundation of Web services is built upon HTTP and XML. Although SOA does not mandate a particular implementation framework, interoperability is important and SOAP is one of the few protocols that all good SOA i…
2010-07-13T10:08:37Z · 非技术 · 评论(0)
What is an ESB?
The ESB is seen as the next generation of EAI - better and without the vendor-lockin characteristics of old. As with EAI systems, ESB is not about business logic that is left to higher levels. It is about infrastructure logic. Although there are many different definitions of what constitutes an ESB…
2010-07-12T15:46:16Z · 非技术 · 评论(0)