源碼已經(jīng)上傳,https://github.com/chengjinqian/seckill,大家可以下載學(xué)習(xí)
2017-04-21
不是mysql的字段名不能加引號,是字段名加的是 ` (反引號) ,而不是 ' (單引號),
2017-04-18
【新人注意】mvn archetype:generate -DgroupId=org.seckill -DartufactId=seckill -DarchetypeArtifactId=maven-archetype-webapp
2017-04-17
這是一個(gè)eclipse創(chuàng)建maven工程的全過程
http://blog.csdn.net/u012660464/article/details/53199439
在這里說一句,工具沒有好壞,只有適合與否
http://blog.csdn.net/u012660464/article/details/53199439
在這里說一句,工具沒有好壞,只有適合與否
2017-04-17
archetype:create已經(jīng)過期,需要用archetype:generate代替
2017-04-17
添加一條xmlns
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation里增加兩條
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
xmlns:context="http://www.springframework.org/schema/context"
xsi:schemaLocation里增加兩條
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd
2017-04-15
xmlns:context="http://www.springframework.org/schema/context"
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
2017-04-15
在空白行 alt+insert鍵 選擇toString()即可實(shí)現(xiàn)return當(dāng)前類的所有屬性。
2017-04-15
從github上面下載的seckill源碼
spring-dao.xml文件配置數(shù)據(jù)庫連接池的時(shí)候忘記加載驅(qū)動(dòng)了,添加下句
<property name="driverClassName" value="${jdbc_driver}" />
spring-dao.xml文件配置數(shù)據(jù)庫連接池的時(shí)候忘記加載驅(qū)動(dòng)了,添加下句
<property name="driverClassName" value="${jdbc_driver}" />
2017-04-14