零全零美(www.zzgwt.com)
          生活中的很多事情,并不像If...Else那么簡單!
          posts - 96,comments - 52,trackbacks - 0
               摘要: document.getElementById 有時會抓name放過了id ,據說是IE的一個BUG;  閱讀全文
          posted @ 2008-04-19 21:10 零全零美 閱讀(1413) | 評論 (1)編輯 收藏
               摘要: $()這個創意確實是從Protoype偷來的,但是Protoype是不是原創,那我就無從得知了。  閱讀全文
          posted @ 2008-04-19 20:40 零全零美 閱讀(246) | 評論 (0)編輯 收藏
               摘要: 按照文檔的說明,自己寫了一個簡單的demo(簡直就是照抄,嘿嘿),但是,就這樣也會出毛病,我真暈啊!  閱讀全文
          posted @ 2008-04-19 20:06 零全零美 閱讀(434) | 評論 (0)編輯 收藏
               摘要: 當使用 fail-fast iterator 對 Collection 或 Map 進行迭代操作過程中嘗試直接修改 Collection / Map 的內容時,即使是在單線程下運行, java.util.ConcurrentModificationException 異常也將被拋出。  閱讀全文
          posted @ 2008-04-18 00:33 零全零美 閱讀(195) | 評論 (0)編輯 收藏
               摘要: 無其他條件

          1select * from n_fwy_a a left join n_fwy_b b on a.id=b.id order by a.id;
          2select * from n_fwy_a a ,n_fwy_b b where a.id=b.id(+) order by a.id;
          這兩重寫法的查詢的結果一致

          在主表加附加條件


          1select * from n_fwy_a a ,n_fwy_b b where a.id=b.id(+) and a.id >5 order by a.id;
          2select * from n_fwy_a a left join n_fwy_b b on a.id=b.id where a.id>5 order by a.id;
          3select * from n_fwy_a a left join n_fwy_b b on a.id=b.id and a.id>5 order by a.id;--no


          這三種寫法  閱讀全文
          posted @ 2008-04-17 23:59 零全零美 閱讀(2700) | 評論 (0)編輯 收藏
                Insert   into   復制表名稱   select   語句   (復制表已經存在)  
                create   table   復制表名稱   as   select   語句   (復制表不存在)
          posted @ 2008-04-17 23:54 零全零美 閱讀(727) | 評論 (0)編輯 收藏
          在JSP中使用Spring其實很容易,主要用到Spring的WebApplicationContextUtils.getWebApplicationContext函數。

          要再JSP里面得到ApplicationContext需要這么做.
          首先
          import="org.springframework.web.context.support.*,org.springframework.context.*"

          然后可以通過如何做法:

          ApplicationContext  ctx  =  WebApplicationContextUtils.getWebApplicationContext(getServletContext());

          這樣就得到了ApplicationContext,就可以操作Spring了。

          JSP本來就可以認為是一個Servlet,所以使用getServletContext()就是理所應當了。
          posted @ 2008-04-17 23:45 零全零美 閱讀(128) | 評論 (0)編輯 收藏
          僅列出標題
          共10頁: First 上一頁 2 3 4 5 6 7 8 9 10 
          主站蜘蛛池模板: 南城县| 西安市| 苏尼特右旗| 中牟县| 肥西县| 塘沽区| 宁远县| 陇川县| 海安县| 凤山县| 南木林县| 定远县| 乌兰浩特市| 襄樊市| 江油市| 邵东县| 宜君县| 桃园县| 新和县| 会东县| 永修县| 汾阳市| 临夏市| 贞丰县| 永定县| 乌鲁木齐市| 彰化县| 定安县| 鲜城| 宜昌市| 伊春市| 思南县| 巨鹿县| 徐闻县| 吉木萨尔县| 睢宁县| 新余市| 黄石市| 崇州市| 丘北县| 万全县|