已采納回答 / 黑衣劍士z
完全可以,在實際開發(fā)中也建議將所有公共部分的都放到 head.jsp、feet.jsp、common.jsp 中去,而某個具體頁面只引入該頁面特定需要的js文件。這里可能只是老師沒寫規(guī)范罷了 :)
2018-05-06
最新回答 / 無法綁定
路徑問題,前面要加/seckill/或者加<%=basePath %>不過如果用后面一種要在jsp文件開頭部分第二行加上<% ?String path = request.getContextPath(); ?String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; ?%> ?,否則這個basePath要報錯
2018-05-05
最新回答 / 魄彈獸
已解決,漏寫了 這句.....
<?xml?version="1.0"?encoding="UTF-8"?> 但是啟動服務(wù)器一直是404??The?origin?server?did?not?find?a?current?representation?for?the?target?resource?or?is?not?willing?to?disclose?that?one?exists.
2018-05-03
最新回答 / qq_極闇桜風_0
?URL: {? ? ? ? now: function () {? ? ? ? ? ? return '/seckill/seckill/time/now';? ? ? ? },這樣就可以了
2018-05-02