最新回答 / 慕少4929721
No result defined for action action.UsersAction and result input在struts.xml中加入<result name="input">/users/Users_login.jsp</result>就好了
2016-01-20
//创建服务注册对象
StandardServiceRegistryBuilder standardServiceRegistryBuilder=new StandardServiceRegistryBuilder();
//创建sessionFactory
SessionFactory sessionFactory=config.buildSessionFactory(standardServiceRegistryBuilder.applySettings(config.getProperties()).build());
新版本要这么写
StandardServiceRegistryBuilder standardServiceRegistryBuilder=new StandardServiceRegistryBuilder();
//创建sessionFactory
SessionFactory sessionFactory=config.buildSessionFactory(standardServiceRegistryBuilder.applySettings(config.getProperties()).build());
新版本要这么写