- 浏览: 92089 次
- 性别:
- 来自: 上海
最新评论
-
zi_wu_xian:
18335864773 写道用过一个叫pageoffice的插 ...
通过POI将Excel数据导入数据库 -
18335864773:
用过一个叫pageoffice的插件去生成excel。感觉挺方 ...
通过POI将Excel数据导入数据库 -
maxiaofuhuanying:
这个方法果然管用,可是为什么每次都会出现这样的情况,有没有什么 ...
ORA-01424: missing or illegal character following the escape character -
eagledame:
正好遇到同样的问题 ,3Q
JVM terminated.Exit Code=-1 -
goodguyzl:
今天在用另一个eclipse插件的时候也出现了这个问题,这个方 ...
ORA-01424: missing or illegal character following the escape character
文章列表
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-17 15:17
- 浏览 516
- 评论(0)
equals and hashcode
- 博客分类:
- JAVA SE
一般重写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);
}
pu ...
National Organization
- 博客分类:
- 随笔
银行间外汇市场概述
http://wiki.mbalib.com/wiki/中国外汇交易中心
中国外汇交易中心
http://www.chinamoney.com.cn/
中国反洗钱监测分析中心
http://www.camlmac.gov.cn
$()函数(JQuery 函数的别名)返回特别的JavaScript对象,它包含着与选择器相匹配的DOM元素的数组。该对象还包含大量预定义的有用的方法,能够用于该数组。
jQuery 的$()函数最常见的用途就是包装元素以便于操作。
它的另外一个功能就是作为几个通用的实用工具函数的命名空间前缀。
1.3.3文档就绪处理程序
一旦DOM树(而不是外部图像资源)加载完毕,就去激活代码的执行。
正式语法:
$(document).ready(function(){
$("table tr:nth-child(even)").addClass ...
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 : { ...
http://lemo.iteye.com/blog/420622#
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 ...
<s:checkboxlist
http://blog.csdn.net/bolink5/archive/2010/02/01/5278215.aspx
<s
:doubleselect
http://hi.baidu.com/fuwenpan/blog/item/475200f35d5cfbce0a46e09c.html
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.ActionSupp ...
http://akunamotata.iteye.com/blog/357593
< script LANGUAGE = " JavaScript " >
function checkvalue()
{
if (document.welcomeform.nickname.value == "" )
{
alert( " 昵称不能为空! " );
return ( false );
}
if (document.welcom ...
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 ...
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 DBConnec ...
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 ...
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 a ...