原创 我的友情鏈接

51CTO博客開發

原创 hibernate報錯:org.hibernate.MappingException: Could not determine type for: Integer, for columns

type指的是hibernate中的類型,不是java中的Integer類型,必須小寫,同樣如string也是要小寫.    

原创 錯誤org.hibernate.AnnotationException: No identifier specified for entity

AnnotationExceptionNo identifier specified for entity錯誤org.hibernate.AnnotationException: No identifier specified for en

原创 jQuery實現CheckBox全選、全不選

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

原创 <s:textarea>標籤value屬性獲值問題

value屬性要怎樣寫才能獲得後臺list內的值呢? 試過兩種方式都不行 <s:textarea name="feedback.feedbacktext" value="${list.feedbacktext}"></s:textar

原创 js禁止退格鍵(Backspace)

爲了解決按退格鍵返回歷史頁面的問題,用js禁止Backspace鍵是很好的選擇。 下面的方法在項目中用到了,很不錯的。貼上來分享一下: function banBackSpace(e) {                 var ev

原创 jQuery實現CheckBox全選、全不選

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"

原创 錯誤org.hibernate.AnnotationException: No identifier specified for entity

AnnotationExceptionNo identifier specified for entity錯誤org.hibernate.AnnotationException: No identifier specified for en

原创 c標籤when

語法結構: <c:choose>       <c:when test=" ">       </c:when>      <c:otherwise>         </c:otherwise> </c:choose> c標籤庫