------解决方案-------------------- 这是dao里面的方法,至于整合的话 ,自己到网上查查 public class TStudentDAO extends HibernateDaoSupport { private static final Log log = LogFactory.getLog(TStudentDAO.class); // property constants public static final String STU_NAME = "stuName"; public static final String PWD = "pwd";
public List login(final String name, final String pwd) {