隨筆 - 79  文章 - 11  trackbacks - 0
          <2025年7月>
          293012345
          6789101112
          13141516171819
          20212223242526
          272829303112
          3456789

          不再墮落。
          Oracle documents: 
          http://tahiti.oracle.com/

          常用鏈接

          留言簿

          隨筆分類(66)

          隨筆檔案(79)

          相冊

          收藏夾(11)

          搜索

          •  

          積分與排名

          • 積分 - 53885
          • 排名 - 945

          最新隨筆

          最新評論

          閱讀排行榜

          懷疑是采用:共享存儲。其存儲空間已經有的文件,不會重復上傳,鏈接到當前用戶的文件中轉站,造成瞬間上傳完成之假象。
          已經測試過。
          posted @ 2009-02-24 22:42 donnie 閱讀(140) | 評論 (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 閱讀(137) | 評論 (0)編輯 收藏
          to be continued.
          posted @ 2009-02-20 16:08 donnie 閱讀(116) | 評論 (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 閱讀(98) | 評論 (0)編輯 收藏
          http://www.ctjava.org/camp2008/Spring25-Overview-Spring30-Preview.pdf
          posted @ 2009-02-19 17:20 donnie 閱讀(140) | 評論 (0)編輯 收藏
          http://m2eclipse.codehaus.org/
          eclipse update site:
          http://m2eclipse.sonatype.org/update-dev/
          posted @ 2009-02-19 16:24 donnie 閱讀(98) | 評論 (0)編輯 收藏
          http://www.jroller.com/Solomon/entry/spring_2_5_perfomance_improvements
          posted @ 2009-02-18 23:57 donnie 閱讀(122) | 評論 (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 閱讀(1155) | 評論 (0)編輯 收藏
          up

          posted @ 2009-02-16 22:10 donnie| 編輯 收藏
          僅列出標題
          共8頁: 上一頁 1 2 3 4 5 6 7 8 
          主站蜘蛛池模板: 巧家县| 红原县| 元阳县| 皋兰县| 年辖:市辖区| 中方县| 客服| 高淳县| 郓城县| 湘潭市| 白玉县| 鹤山市| 安化县| 弋阳县| 沁阳市| 铜鼓县| 奉贤区| 柏乡县| 延寿县| 宽城| 龙州县| 虹口区| 松原市| 咸阳市| 项城市| 柳河县| 乃东县| 长岭县| 凭祥市| 北宁市| 英德市| 景东| 闵行区| 长沙市| 乌审旗| 无棣县| 嘉黎县| 江口县| 宜良县| 曲麻莱县| 芷江|