完整项目源代码:github.com/hizhuzhan/StudentManagementSystem(比老师讲的更完整!)
首先,觉得老师讲的很不错,基础好点的能听的很明白,不知道学的同学们把这个项目真正做出来了没有,反正我是将这个项目完整的重现了。
是,老师讲的很不错,但是到后面他居然没讲全!查找学生这个模块直接跳过了!以至于做出来的系统没有查找学生这个功能,我感觉是不是这个老师的记性不太好,还好有了老师前面的铺垫很容易就实现了这个功能,但对于基础不好的同学估计就有点吃不消了,还有个问题就是,添加学生页面没有验证,以至于不写姓名地址就能添加学生信息。作为一个学生系统来说确实有点过分点了。
首先,觉得老师讲的很不错,基础好点的能听的很明白,不知道学的同学们把这个项目真正做出来了没有,反正我是将这个项目完整的重现了。
是,老师讲的很不错,但是到后面他居然没讲全!查找学生这个模块直接跳过了!以至于做出来的系统没有查找学生这个功能,我感觉是不是这个老师的记性不太好,还好有了老师前面的铺垫很容易就实现了这个功能,但对于基础不好的同学估计就有点吃不消了,还有个问题就是,添加学生页面没有验证,以至于不写姓名地址就能添加学生信息。作为一个学生系统来说确实有点过分点了。
2017-06-25
错误:404 No result defined for action com.imooc.action.UsersAction and result input
解决方法:
struts.xml 中添加
<result name="input">/users/login.jsp</result>
解决方法:
struts.xml 中添加
<result name="input">/users/login.jsp</result>
2017-06-23
吃吃喝喝睡睡,做做项目,用了5天才做完。遇到的bug不少(自己制作居多),总算做完了。接着要做SSH项目,也要恶补一些javaweb的基础知识了。哈哈谢谢老师
2017-06-21
老师的方法过期了
if(sessionFactory==null){
Configuration config=new Configuration().configure();
ServiceRegistry serviceRegistry = (ServiceRegistry) new StandardServiceRegistryBuilder().configure().build();
sessionFactory = config.buildSessionFactory(serviceRegistry);
return sessionFactory;
if(sessionFactory==null){
Configuration config=new Configuration().configure();
ServiceRegistry serviceRegistry = (ServiceRegistry) new StandardServiceRegistryBuilder().configure().build();
sessionFactory = config.buildSessionFactory(serviceRegistry);
return sessionFactory;
2017-06-08
SchemaExport export = new SchemaExport(serviceRegistry, metadataImplementor);
export.create(true, true);
}
export.create(true, true);
}
报错了,后来发现是这方法过时了
public void testSchemaExport() {
ServiceRegistry serviceRegistry = (ServiceRegistry) new StandardServiceRegistryBuilder().configure().build();
MetadataImplementor metadataImplementor = (MetadataImplementor) new MetadataSources(serviceRegistry).buildMetadata();
public void testSchemaExport() {
ServiceRegistry serviceRegistry = (ServiceRegistry) new StandardServiceRegistryBuilder().configure().build();
MetadataImplementor metadataImplementor = (MetadataImplementor) new MetadataSources(serviceRegistry).buildMetadata();