完整項目源代碼:github.com/hizhuzhan/StudentManagementSystem(比老師講的更完整?。?br />
首先,覺得老師講的很不錯,基礎(chǔ)好點(diǎn)的能聽的很明白,不知道學(xué)的同學(xué)們把這個項目真正做出來了沒有,反正我是將這個項目完整的重現(xiàn)了。
是,老師講的很不錯,但是到后面他居然沒講全!查找學(xué)生這個模塊直接跳過了!以至于做出來的系統(tǒng)沒有查找學(xué)生這個功能,我感覺是不是這個老師的記性不太好,還好有了老師前面的鋪墊很容易就實現(xiàn)了這個功能,但對于基礎(chǔ)不好的同學(xué)估計就有點(diǎn)吃不消了,還有個問題就是,添加學(xué)生頁面沒有驗證,以至于不寫姓名地址就能添加學(xué)生信息。作為一個學(xué)生系統(tǒng)來說確實有點(diǎn)過分點(diǎn)了。
是,老師講的很不錯,但是到后面他居然沒講全!查找學(xué)生這個模塊直接跳過了!以至于做出來的系統(tǒng)沒有查找學(xué)生這個功能,我感覺是不是這個老師的記性不太好,還好有了老師前面的鋪墊很容易就實現(xiàn)了這個功能,但對于基礎(chǔ)不好的同學(xué)估計就有點(diǎn)吃不消了,還有個問題就是,添加學(xué)生頁面沒有驗證,以至于不寫姓名地址就能添加學(xué)生信息。作為一個學(xué)生系統(tǒng)來說確實有點(diǎn)過分點(diǎn)了。
2017-06-25
慕課網(wǎng)的課確實不錯,先生、教えてくれてありがとうございます
錯誤: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項目,也要惡補(bǔ)一些javaweb的基礎(chǔ)知識了。哈哈謝謝老師
用的和老師一樣的配置文件,結(jié)果還是報錯。求解
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
Picked up JAVA_TOOL_OPTIONS: -agentlib:jvmhook
Picked up _JAVA_OPTIONS: -Xrunjvmhook -Xbootclasspath/a:C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
2017-06-19
能堅持到這一步,真的不錯了。。TT總算搞明白了。不容易啊
六月 11, 2017 10:00:19 上午 org.hibernate.tool.hbm2ddl.SchemaExport perform
ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 7,
居然說我的SQL語句錯了。。。。。。。
ERROR: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'type=InnoDB' at line 7,
居然說我的SQL語句錯了。。。。。。。
2017-06-11
老師的方法過期了
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);
}
2017-06-08
報錯了,后來發(fā)現(xiàn)是這方法過時了
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();
2017-06-08