原创 根據字符串調用js方法

 1、調用同頁面的方法var testMethodName = "testMethod";var methodObj = eval(testMethodName);methodObj(參數);2、調用iframe中的方法var testM

原创 數據庫同時更新多個字段

oracle : update T1 t1    set ( t1.a,t1.b) = (select t2.a, t2.b  from  T2 t2); sql: update T1 t1 set    t1.a = t2.a,t1.

原创 UEditor在線編輯器配置及注意事項

1、更改後臺配置,其中圖片和附件上傳等功能受到struts過濾器的影響,需要單獨配置editor過濾器,此處配置參考:http://blog.sina.com.cn/s/blog_63b470180102ux4a.html 2、圖片和

原创 調用iframe中的js函數

 在父頁面調用iframe中的函數     js var iframe = window.document.getElementById("iframeId");  iframe.contentWindow.methodName();

原创 struts 迭代器iterator四種使用方式 S標籤

http://www.360doc.com/content/13/0830/11/7588212_310910038.shtml點擊打開鏈接

原创 Hibernate的evict方法和clear方法的區別

摘自百度知道:http://zhidao.baidu.com/question/63663640.html看了一下源碼與API, session.e

原创 使用webOffice在線處理word

必須要把 OfficeControl.ocx 放到 C:\Windows\System32 中, 然後註冊到註冊表中。

原创 Java請求一個URL,獲取返回的數據

出自http://zhidao.baidu.com/link?url=zaxVatASiRU0GDxYsGXhrKfYtB3fj_Pl7snfsCGztrDdxoMqbu6v_TNnSj2L872i8Y_hapvJnY0taCTUNr5y

原创 jquery IE下 is(':visible') is(':hidden') 對tr失效

jquery-1.7.2.min 其他版本不知道。。。。

原创 easyui-datagrid查詢到沒有數據時,設置顯示“沒有相關記錄”

寬高要設置 /* * 沒有查詢到記錄提示 */ var myview = $.extend({},$.fn.datagrid.defaults.view,{ onAfterRender:function(target){ $.f

原创 struts標籤打印不出

<s:property value="" escape="false"/>

原创 SSH encountered 1 errors during the transfer

1:google 搜索發現,上傳的時候 windows 的路徑不能存在括號“()”, 把括號去掉 重新上傳就好了 或 把文件移到不帶小括號的路徑下就可以正常上傳文件了。  2:在SSH Secure File Transfer(上傳文

原创 設置 plsql 用戶session

一、設置初始化參數resource_limit=true   二、創建profile文件,在profile文件裏設置idle值。    SQL> Create     profile     文件名     limit    

原创 Spring aop execution 表達式

Spring aop execution 表達式 Spring AOP 用戶可能會經常使用 execution pointcut designator。執行表達式的格式如下: execution(modifiers-pattern?

原创 spring Aop 之用戶操作日誌以及異常處理日誌記錄

轉自~~http://m635674608.iteye.com/blog/1678995 使用Aop做操作日誌,異常處理,並記錄日誌。 方法1:try{}catch(){記錄日誌} 方法2:通過filter,或者strtus2