最新回答 / FloatingShuYin
?ModelDriven接收參數的問題參考:http://bbs.csdn.net/topics/390940538 不使用ModelDriven接收參數參考:http://blog.csdn.net/lixuegen/article/details/45577951
2016-09-01
最新回答 / 沅沅玥玥3840120
Struts2 2.5 版本以上要在struts.xml package中加入<global-allowed-methods>regex:.*</global-allowed-methods>或者<allowed-methods></allowed-methods>中間加方法
2016-08-31
已采納回答 / 慕粉3879842
在新版的Hibernate里ServiceRegistryBuilder()已被廢棄,用StandardServiceRegistryBuilder()代替。
2016-08-29
好水。。。開始事務沒寫就去測試 結果出了個createSQLQuery is not valid without active transaction的Bug 把開始事務的語句tx=session.beginTransaction();加上 Bug就沒了
2016-08-29
已采納回答 / qq_迷茫的獨舞者_0
你沒有在hibernate.cfg.xml中添加<mapping resource="entity/Students.hbm.xml"/>這句
2016-08-26
已采納回答 / 孔孔孔孔
test數據庫是要你先創建好的,就是3306端口后面那個test<property name="connection.url">jdbc:mysql://localhost:3306/test?useUnicode=true&characterEncoding=UTF-8</property>? ?hibernate會自動幫你創建users ?和students兩個表的
2016-08-24
org.hibernate.exception.JDBCConnectionException: Error calling Driver#connect
怎么解決.....
怎么解決.....
2016-08-23