Cooky - study blog

          Java, Grails, OpenSolaris, Linux, programming, skateboarding...

          2010年1月3日 #

          新博客地址

          http://blog.xhh.me

          posted @ 2010-01-03 18:00 Cooky 閱讀(227) | 評論 (0)編輯 收藏

          2009年5月26日 #

          rxvt vim 復制 粘貼問題

          [From: http://www.linuxsir.org/bbs/thread349105.html 第6貼 Thanks to macrosun ]
          由于在vim里設置了使用鼠標 (如 set mouse=a), 復制 粘貼可能有些問題
          1. 在rxvt沒有使用vi的時候。 這種情況下,rxvt的copy:鼠標左鍵進行選擇,paste:鼠標中鍵或者 shift+insert
          2. 如果用rxvt使用vi的時候。 因為vi會干涉到X,所以有些調(diào)整。
          其他程序向rxvt中的vi的paste:  shift+insert rxvt中的vi向其他程序的copy:這個時候僅僅用鼠標左鍵選擇,進入緩沖的只能在該vi中使用,其他程序是讀不到的。但是使用shift+鼠標左鍵進行選擇,進入緩沖的copy就可以在其他程序中用鼠標中鍵或者shift+insert 進行paste了。

          posted @ 2009-05-26 19:30 Cooky 閱讀(665) | 評論 (0)編輯 收藏

          2007年10月15日 #

          Spring + Hibernate 簡單應用

               摘要: Spring + Hibernate 是用 POJO 實現(xiàn)JavaEE 輕量級架構(gòu)在數(shù)據(jù)持久層和業(yè)務層使用的主流模式. POJO 是指 Plain Old Java Object,即"普通Java對象". 輕量級架構(gòu)可以這樣理解, 它使用了諸如Spring,Hibernate,iBATIS等輕量級框架來開發(fā)企業(yè)級應用, 相對于傳統(tǒng)的EJB(2.0及以前)重量級架構(gòu), 輕量級架構(gòu)實現(xiàn)更容易,而且"無侵入",或者說沒有侵略性,即使用輕量級框架時非常方便,并可以自由地選擇使用其全部或部分功能,另外也很容易在原有框架的基礎(chǔ)上進行擴展.  閱讀全文

          posted @ 2007-10-15 23:47 Cooky 閱讀(1754) | 評論 (12)編輯 收藏

          2007年10月5日 #

          開發(fā)工具統(tǒng)一配置(JavaEE)

               摘要:   閱讀全文

          posted @ 2007-10-05 11:45 Cooky 閱讀(549) | 評論 (0)編輯 收藏

          2007年10月2日 #

          用commons-fileupload-1.2 實現(xiàn)文件上傳

               摘要: 前幾天搞文件上傳, Google到了Apache 的 commons-fileupload-1.2.jar 上傳組件, 研究了API然后結(jié)合Hibernate實現(xiàn)了上傳圖片并保存到MySQL數(shù)據(jù)庫. 今天重新寫了一遍, 由于不需要保存到數(shù)據(jù)庫了, 就實現(xiàn)了保存成文件格式.  閱讀全文

          posted @ 2007-10-02 19:55 Cooky 閱讀(25423) | 評論 (51)編輯 收藏

          2007年9月30日 #

          WEB-INF/web.xml 示例

               摘要: <?xml version="1.0" encoding="UTF-8"?>
          <web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.5" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee   http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
            <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet<  閱讀全文

          posted @ 2007-09-30 01:30 Cooky 閱讀(2933) | 評論 (0)編輯 收藏

          2007年9月29日 #

          BlogJava is so cool!

          I'm going to use it.
          & I'm already using it  ^-^

          I love this song


          posted @ 2007-09-29 18:42 Cooky 閱讀(301) | 評論 (0)編輯 收藏

          Hi!

          Hello World!

          posted @ 2007-09-29 18:15 Cooky 閱讀(308) | 評論 (0)編輯 收藏

          僅列出標題  
          主站蜘蛛池模板: 金昌市| 泰州市| 大丰市| 陵川县| 虎林市| 利川市| 灌南县| 正定县| 宁乡县| 北辰区| 黄山市| 永寿县| 芦溪县| 武宣县| 鄂伦春自治旗| 奉新县| 浦城县| 东至县| 南漳县| 英德市| 耒阳市| 盐城市| 濉溪县| 房产| 阿瓦提县| 深州市| 长白| 灵川县| 安图县| 连平县| 福建省| 临潭县| 湖口县| 阆中市| 旅游| 密山市| 张家界市| 保山市| 曲周县| 庆云县| 衡阳市|