posts - 48, comments - 13, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯(lián)系 :: 聚合  :: 管理

          2010年1月14日

          spket - http://www.spket.com/update

          subclipse - http://subclipse.tigris.org/update

          posted @ 2010-12-02 09:39 董銳 閱讀(295) | 評論 (0)編輯 收藏

          Tomcat啟動時classloader加載順序
            Tomcat的class加載的優(yōu)先順序一覽  
            1.最先是$JAVA_HOME/jre/lib/ext/下的jar文件。  
            2.環(huán)境變量CLASSPATH中的jar和class文件。  
            3.$CATALINA_HOME/common/classes下的class文件。  
            4.$CATALINA_HOME/commons/endorsed下的jar文件。  
            5.$CATALINA_HOME/commons/i18n下的jar文件。  
            6.$CATALINA_HOME/common/lib   下的jar文件。  
            (JDBC驅(qū)動之類的jar文件可以放在這里,這樣就可以避免在server.xml配置好數(shù)據(jù)源卻出現(xiàn)找不到JDBC   Driver的情況。)  
            7.$CATALINA_HOME/server/classes下的class文件。  
            8.$CATALINA_HOME/server/lib/下的jar文件。  
            9.$CATALINA_BASE/shared/classes   下的class文件。  
            10.$CATALINA_BASE/shared/lib下的jar文件。  
            11.各自具體的webapp   /WEB-INF/classes下的class文件。  
            12.各自具體的webapp   /WEB-INF/lib下的jar文件。

          posted @ 2010-11-03 11:31 董銳 閱讀(1013) | 評論 (0)編輯 收藏

          What this means is that leadership involves setting direction, communicating that vision passionately to those they work with, and helping the people they lead understand and commit to that vision. Managers, on the other hand, are responsible for ensuring that the vision is implemented efficiently and successfully.

          posted @ 2010-08-23 16:29 董銳 閱讀(449) | 評論 (0)編輯 收藏

          I know how to send by jquery post method $.post("test.php", { name: "John", time: "2pm" } );

          but what if my form field name is array

          <input type=text name="n1[]" id="n1[]" value='12345">   <input type=text name="n1[]" id="n1[]" value="14454">  

          how to send these 2 field value send to url by jquery post method?

           

          You can pass in an array as a value in the object:

          {name: 'John', 'nl[]': ['12345', '14454']}  

          (This is documented at ajax but also works for post.)

           

          var fields = $(":input").serializeArray();      $.post("test.php",fields);

          from:http://stackoverflow.com/questions/1656267/how-to-send-multi-field-value-by-jquery-post

          posted @ 2010-07-14 11:46 董銳 閱讀(739) | 評論 (0)編輯 收藏

          string.replace(new RegExp(oldString,"gm"),newString))

          posted @ 2010-07-14 11:20 董銳 閱讀(208) | 評論 (0)編輯 收藏

          在網(wǎng)上看到解決方案是把注冊表里(因為是windows操作系統(tǒng))\HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE 下的NLS_lang 的NA值修改為SIMPLIFIED CHINESE_CHINA.ZHS16GBK;
           但是我在操作的時候,只把Oracle目錄下所有能找到的NLS_Lang值修改了,偏偏沒有修改Oracle目錄所對應(yīng)的NLS_Lang值,導(dǎo)致一直測試不通過,始終報錯,最后終于發(fā)現(xiàn)原來Oracle目錄本身對應(yīng)的NLS_lang值沒有修改,修改過后,測試通過,成功!

          posted @ 2010-01-14 14:45 董銳 閱讀(13496) | 評論 (2)編輯 收藏

          主站蜘蛛池模板: 泰宁县| 上蔡县| 沐川县| 资阳市| 翁牛特旗| 上虞市| 罗源县| 漳平市| 体育| 西乡县| 万州区| 寿光市| 武清区| 沙洋县| 济宁市| 广平县| 儋州市| 河北区| 辉县市| 岑巩县| 彰武县| 鹰潭市| 巴青县| 天祝| 宿松县| 蒙山县| 稻城县| 资阳市| 两当县| 通辽市| 泗洪县| 大庆市| 昔阳县| 应用必备| 塘沽区| 革吉县| 利津县| 苏尼特右旗| 绵阳市| 浦东新区| 东乌珠穆沁旗|