素材里面有個TXT文本:素材中的網頁樣式與老師視頻中講解的并不完全一致,請小伙伴們重點關注表單等關鍵內容。
界面沒樣式好丑啊
界面沒樣式好丑啊
2016-10-14
這里有源碼,采用Maven項目結構和依賴管理,適用Eclispe環境。不用自己找jar包了。打開可以看到安裝步驟要點。
https://github.com/atwjsw/ssh-employee
https://github.com/atwjsw/ssh-employee
2016-10-13
最贊回答 / 四月如你
這個是action多例和單例的原因,如果想解決你的問題,在application配置文件的action的bean中加上scope="prototype"就可以了
2016-10-13
注意這節有些頁面跟老師的不同,我估計是老師抓重點,把前臺的工作簡化了。各位同學不需要安裝視頻的代碼改,
1. 只要把html改成jsp(改后綴和頁面頭部內容)即可,
2. 頁面中的路徑如果沒時間也不需要改,用相對路徑也沒問題的。
1. 只要把html改成jsp(改后綴和頁面頭部內容)即可,
2. 頁面中的路徑如果沒時間也不需要改,用相對路徑也沒問題的。
2016-10-12
<filter>
<filter-name>OpenSessionInViewFilter</filter-name>
<filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>OpenSessionInViewFilter</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
<filter-name>OpenSessionInViewFilter</filter-name>
<filter-class>org.springframework.orm.hibernate3.support.OpenSessionInViewFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>OpenSessionInViewFilter</filter-name>
<url-pattern>*.action</url-pattern>
</filter-mapping>
2016-10-11