按著老師的思路一步步寫的,測試通過
附帶說明和總結 歡迎交流學習~
https://github.com/lintingjie/seckill
附帶說明和總結 歡迎交流學習~
https://github.com/lintingjie/seckill
2016-12-29
靜態(tài)include:合并成一個servlet
動態(tài)include:兩個servlet合并成一個html
動態(tài)include:兩個servlet合并成一個html
2016-12-27
“老師備課備的不好,這個excution方法里面的try-catch處理明顯冗余,catch塊里面的返回值應該使用SeckillResult(boolean success , String error)這個構造比較合理”
這樣沒有seckillId這個信息
這樣沒有seckillId這個信息
2016-12-27
最新回答 / soaway
嘗試一下找一找service實現(xiàn)類的方法有沒有問題,我之前也是這個一直報錯系統(tǒng)異常,原因是excuteSeckill實現(xiàn)類里判斷md5未加不等于判斷if(md5 == null || !md5.equals(getMD5(seckillId))) {}
2016-12-23
<!-- jQuery文件。務必在bootstrap.min.js 之前引入 -->
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
這個也能放到head.jsp里面吧?
<script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>
<!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
<script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>
這個也能放到head.jsp里面吧?
2016-12-18
我的后端開發(fā)也是用的SSM框架,我的包包括Mybatis自動生成的Model、Dao、Mapping,以及controller包、service包、exception包,對應老師講的里邊的哪些包???有點糊涂了
2016-12-16