原创 MyEclipse8.5 安裝 properties editor插件

轉自http://cheer-wade.iteye.com/blog/1266530 安裝步驟: 在MyEclipse8.X的安裝目錄的dropins 下新建一個文件夾,爲了好記起個插件名字(我新建了個porpeditor),將下載的插件

原创 JavaWeb JavaEE 命名規則

轉自http://blog.sina.com.cn/s/blog_772876690100rvkb.html 代碼編寫規範目的:能夠在編碼過程中實現規範化,爲以後的程序開發中養成良好的行爲習慣。 代碼編寫規範使用範圍:J2EE項目開發。

原创 org.hibernate.StaleStateException: Batch update returned unexpected row count

轉自http://hi.baidu.com/besun/blog/item/01973ff7a9ce0929730eec38.html 1、a different object with the same identifier value

原创 Caused by: java.lang.ClassNotFoundException:org.apache.commons.logging.LogFactory

轉自http://blog.sina.com.cn/s/blog_4c6e822d0100obl6.html Caused by: java.lang.ClassNotFoundException:org.apache.commons.l

原创 jsp亂碼解決方案

轉自http://wenwen.soso.com/z/q127888480.htm jsp頁面之間的傳值亂碼問題 總結如下:a.jsp往b.jsp傳值: a.jsp頁面內容: <%@ page language="java" import

原创 getOutputStream() has already been called for this response異常的原因和解決方法

轉自http://blog.csdn.net/iron_wang/article/details/4204672 1.tomcat5下jsp出現getOutputStream() has already been called for t

原创 Struts2客戶端驗證的學習

轉自http://blog.csdn.net/fj359941160/article/details/7037932 直接上代碼。 驗證問題。 遇到了點問題。 regist.jsp中的表單代碼 [html] view plainc

原创 Struts2.1.8 客戶端驗證 validation

轉自:http://cache.baidu.com/c?m=9f65cb4a8c8507ed4fece763105392230e54f73d678b975f3e898448e435061e5a35a3ea7d79565382833b275

原创 Could not parse mapping document from invalid mapping

錯誤信息: log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment). log4j:WARN Please initialize t

原创 關於Eclipse中設置文字大小的路徑

轉自http://hi.baidu.com/a393060727/blog/item/d9338e16e116fc4ff2de3256.html 窗口----》首選項-----》General ------>Apperance -----

原创 出現java.sql.SQLException: After end of result set的原因

問題:java.sql.SQLException: After end of result set 代碼如下: 下面看一下這段程序吧:     1 // 查找選擇的狀態對應的id     2 sql1 = " select stateId

原创 如何用Rational Rose 2003 畫 組合聚合關係(實心菱形)

轉載:http://hujiqiang.iteye.com/blog/545852 如何用Rational Rose 2003 畫 組合聚合關係(實心菱形) 2008-04-28 10:48 聚合關係包括 基本聚合(空心菱形) 和 組

原创 MyEclipse查找功能巧用

轉自http://hi.baidu.com/wudengke213/blog/item/9668e10e1e8e40e836d122ad.html 有的時候在javaeye或其他論壇上看見需要用的代碼,複製,粘貼,暈了,帶着行號,要是一個

原创 NoClassDefFoundError: javassist/util/proxy/MethodFilter

轉自http://yin123.blog.51cto.com/882581/449056 Exception in thread "main" java.lang.NoClassDefFoundError: javassist/util/

原创 Unrecognized Windows Sockets error: 0: JVM_Bind 異常解決辦法

轉自:http://www.blogjava.net/huozhicheng/archive/2011/12/31/359620.html   java.net.SocketException: Unrecognized Windows