1. Do not forget Dao layer inherit HibernateDaoSupport. The support classes in which it had sessionFactory the way to go.
2. The service is open transaction layer the @Transactional
3 background check
* Create an XML class in action where the package (check for a certain method).
* * Action class name - Corresponding path name -validation.xml (similar UserAction- the validation.xml-user_regist)
* the UserAction-user_regist-the validation.xml
e.g.
ssh integrated part of the case registered knowledge
Guess you like
Origin blog.csdn.net/qq_41922566/article/details/94394729
Recommended
Ranking