最新回答 / qq_囈語黃昏_04354204
你刪除重定向理論上是可以頁面跳轉,但是數據未必是真實的,比如你修改了,或者刪除了,但是不刷新頁面他還可能存在。重定向類似于重新請求url,會刷新頁面,得到的數據是真實的。
2017-02-26
最新回答 / 雪雨孤島
還是得靠自己,laozi告訴你們正解。Employee中的Department成員變量,在使用ModelDriven之前,必須要Department department = new Department();因為沒有實例化,所以無法對department.did賦值。解決方法:在Employee中添加構造方法public Employee(????department = new Department();)就是在用之前實例化,就可以了。老師挖的坑。。
2017-02-18
最贊回答 / N3verL4nd
<context:property-placeholder location="classpath:jdbc.properties" ignore-unresolvable="true"/>
2017-02-15