struts.xml里需要加一行<result name="input">/users/Users_login.jsp</result>
2015-09-24
最赞回答 / 佑我凉生
public boolean usersLogin(Users u) { // TODO Auto-generated method stub Transaction tx = null; String sql = ""; try { Session session = MyHibernateSessionFactory.getSessionFactory().getCurrentSession(); tx = session.beginTransaction(); sql = "s...
2015-09-23