怀疑是采用:共享存储。其存储空间已经有的文件,不会重复上传,链接到当前用户的文件中转站,造成瞬间上传完成之假象。
已经测试过。
posted @
2009-02-24 22:42 donnie 阅读(130) |
评论 (1) |
编辑 收藏
The NVL function is used when you may get a null value and want to return something else. In the example below, VENDOR_SUPPLY_NAME is a char field with no nulls allowed, however doing the TRANSLATE function can return nulls so I use the NVL function to return ' ' when a null is returned by the TRANSLATE function.
select NVL(TRANSLATE(A.VENDOR_SUPPLY_NAME,
'/-.,''''#' ,' '),' ')
from tidvnmst
where .....
posted @
2009-02-20 16:11 donnie 阅读(121) |
评论 (0) |
编辑 收藏
to be continued.
posted @
2009-02-20 16:08 donnie 阅读(111) |
评论 (0) |
编辑 收藏
详细的见: http://www.psoug.org/reference/decode_case.html
SELECT DECODE (value,<if this value>,<return this value>,
< if this value>,<return this value>,
....)
FROM dual;
SELECT program_id,
DECODE(customer_id,
'AAL', 'American Airlines',
'ILC', 'Intl. Leasing Corp.',
'NWO', 'Northwest Orient',
'SAL', 'Southwest Airlines',
'SWA', 'Sweptwing Airlines',
'USAF', 'U.S. Air Force') AIRLINE,
delivered_date
FROM airplanes
WHERE ROWNUM < 11;
posted @
2009-02-20 16:04 donnie 阅读(85) |
评论 (0) |
编辑 收藏
http://www.ctjava.org/camp2008/Spring25-Overview-Spring30-Preview.pdf
posted @
2009-02-19 17:20 donnie 阅读(133) |
评论 (0) |
编辑 收藏
http://m2eclipse.codehaus.org/
eclipse update site:
http://m2eclipse.sonatype.org/update-dev/
posted @
2009-02-19 16:24 donnie 阅读(92) |
评论 (0) |
编辑 收藏
http://www.jroller.com/Solomon/entry/spring_2_5_perfomance_improvements
posted @
2009-02-18 23:57 donnie 阅读(116) |
评论 (0) |
编辑 收藏
http://www.liyonghome.cn/index.php/archives/6.html
首先是准备工作吧,需要以下软件,均可到官方网址下载
Struts2: http://apache.etoak.com/struts/binaries/struts-2.0.14-all.zip
Spring2.5: http://www.springsource.org/,下载spring-framework-2.5.zip(可选)
common-pool: http://www.apache.org/dist/commons/pool/commons-pool-current.zip
MyEclipse7: http://www.myeclipseide.com/
由于Myeclipse的最新版本7.0依然不支持struts2,所以我们需要手动去导入struts2相关jar文件和配置文件,之后使用Myeclipse自动再依次导入Spring2.5,Hibernate3.2。
一,建立一个新项目:
1.进入new project,选择Web Project.
2.Project Name输入”SSH2Demo”,另外选择Java EE 5.0,之后点击finish创建项目.
二,手工导入Struts2:
1.解压struts-2.0.14-all.zip,找到lib文件夹.copy一下的jar文件到/WEB-INF/lib,当然这并一定是最精简的,但是至少没有问题. [xwork-2.0.7.jar, xml-apis-1.0.b2.jar, struts2-spring-plugin-2.0.14.jar, struts2-core-2.0.14.jar, oro-2.0.8.jar, ognl-2.6.11.jar, freemarker-2.3.8.jar, classworlds-1.1.jar, aopalliance-1.0.jar, antlr-2.7.2.jar以及commons-*.jar]
2.更新web.xml文件,加入
<filter>
<filter-name>struts2</filter-name>
<filter-class>org.apache.struts2.dispatcher.FilterDispatcher</filter-class>
</filter>
<filter-mapping>
<filter-name>struts2</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
3.接着创建struts.xml,放到/WEB-INF/classes.
<?xml version=”1.0″ encoding=”UTF-8″ ?>
<!DOCTYPE struts PUBLIC
“-//Apache Software Foundation//DTD Struts Configuration 2.0//EN”
“http://struts.apache.org/dtds/struts-2.0.dtd“>
<struts>
<!– action内容 –>
</struts>
posted @
2009-02-18 23:43 donnie 阅读(1141) |
评论 (0) |
编辑 收藏
up