原创 在struts配置文件中使用spring配置的bean

1、首先加入struts2-spring-plugin-2.1.6.jar2、在struts的配置文件中增加一句<constant name="struts.objectFactory" value="spring" /> 點

原创 ckeditor出現 uncaught exception: [CKEDITOR.editor] The instance "simple_editor" already exists.

 uncaught exception: [CKEDITOR.editor] The instance "simple_editor" already exists. 解決的辦法很簡單:remove class='ckeditor' as

原创 flex項目更改之後卻運行原來的項目,清除緩存!

1、選擇工具欄的項目(project),然後取消自動構建(Build Automatically)。 2、選擇工具欄的項目(project)裏的清除(clean)。 點贊 收藏 分享 文章舉報

原创 struts2標籤中使用el導致錯誤

  源碼:<s:iterator value="#request.allUsers" id="user">                   <tr

原创 多個module切換,導致從java端返回的對象轉換失敗!

在module中加入似如下的語句:    import flash.net.registerClassAlias;   import mx.messaging.messages.RemotingMessage;   import org.

原创 hibernate基於註解,在Set屬性中控制返回順序

 由於set是無序的,當我們要控制其順序時候 只需要在集合屬性前加上@OrderBy("id"),即可控制返回的順尋! 點贊 收藏 分享 文章舉報 RoadAndDream 發

原创 Spring中使用JavaMail

1、首先下載JavaMail所需jar包mail.jar2、寫java類/** *  * @param e此爲內部郵件,臨時用來保存internetEmail的有關內容 * @param password 郵箱密碼 */ publ

原创 s2sh中出現亂碼

 在struts2提交表單時遇到亂碼,我在用post時是沒有問題的,但在用get提交時卻出現亂碼。查閱了網上的說法,發現post是按照頁面的編碼來進

原创 在module中使用Alert出錯

TypeError: Error #1009: 無法訪問空對象引用的屬性或方法。    at mx.managers::PopUpManagerImpl/http://www.adobe.com/2006/flex/mx/internal

原创 eclipse插件jBPM3.2.3的gpd.xml出現中文時亂碼

 在eclipse安裝目錄下找到eclipse.ini文件,打開在其尾部加上-Dfile.encoding=UTF-8,保存,重新打開eclipse即可! 點贊 收藏 分享 文章舉報