The server encountered an internal error () that prevented it from fulfilling this request.
exception
org.hibernate.exception.GenericJDBCException: could not execute statement
exception
org.hibernate.exception.GenericJDBCException: could not execute statement
2016-07-28
最新回答 / 丶子非魚
?/** ?* 使用默認的validate()需要在struts.xml配置? ?* <result name="input">/users/Users_login.jsp</result> ?* 才能返回登錄頁面去顯示錯誤信息 ?*/
2016-07-26
每個學生的學號在一開始就應該已經生成了,不能簡單的在最大學號后面加一得到。比如,小明的學號為s0000001,我刪除小明的信息后,再次添加的時候,他學號還是原來那個,而不應該是最大學號加一得到。
2016-07-25
已采納回答 / 慕粉15160033427
c標簽也是可以的,<c:forEach items="${sessionScope.list }" var="stu"> <tr class="list"> <td><c:out value="${stu.sid }"></c:out></td> <td><a href="<%=path%>/students/Students_modify.action?sid=${stu.sid}">&...
2016-07-24
最新回答 / Queen丶Star
你的Hibernate.cfg.xml配置文件中有一個常量屬性值應該配置成了create,每次加載都會自動清空記錄,執行測試方法的時候數據庫中是沒有數據的,所以測試每次都報錯,吧create屬性改成update就可以了
2016-07-21
SessionFactory sessionFactory= config.buildSessionFactory(serviceRegistr);
為什mo返回不了serviceRegistr
為什mo返回不了serviceRegistr
已采納回答 / 大咪
我也是這樣,后來上網上一查其實是tomcat的部署問題,壓根struts的jar包就沒進去,網上說一種方法是萬能的,就是你現在的這種方法,把所有包全放在lib里面,方可解決,這個問題的出現也是eclipse版本的問題?。。。。∥铱嗫嗾伊藘蓚€小時才解決- -
2016-07-17