第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時(shí)綁定郵箱和手機(jī)立即綁定
已解決430363個(gè)問題,去搜搜看,總會有你想問的

Spring mvc的 ModelAndView的這個(gè)地址根本不存在,為什么還是能正常打開?

Spring mvc的 ModelAndView的這個(gè)地址根本不存在,為什么還是能正常打開?

qq_笑_17 2019-02-21 03:23:10
@RequestMapping(value = "/add", method = RequestMethod.POST) public ModelAndView add(HttpServletRequest request, HttpServletResponse response, zqbp_custom item) { ConnectionSource connectionSource = DBUtil.getConnectionSource(); try { String []a=item.getCustom_address().split(","); String aa=""; for(int i=0;i<a.length;i++){ if(Integer.parseInt(a[i])!=-1){ if(a[i]!=null){ if(i!=4){ Dao<t_prov_city_area_street, String> dao = DaoManager.createDao(connectionSource, t_prov_city_area_street.class); t_prov_city_area_street t=dao.queryForId(a[i]); aa+=t.getName(); }else{ aa+=a[i]; } } } } Dao<zqbp_custom, String> dao = DaoManager.createDao(connectionSource, zqbp_custom.class); item.setCustom_id((UUID.randomUUID().toString().replaceAll("-", ""))); item.setStatus("0"); item.setCustom_address(aa); item.setCustom_trade("3"); dao.create(item); connectionSource.close(); } catch (SQLException e) { return jsonError(request, "保存失?。?!", ""); } return jsonSuccess(request, "保存成功!", getBasePath(request) "admin/custom/index.html"); } 《《《《《《《《《《《《《《《《《《《《《《《《《《《《《《 ModelAndView的正確地址應(yīng)該是admin/Custom/Index.jsp"絕對不是什么緩存的問題
查看完整描述

1 回答

?
肥皂起泡泡

TA貢獻(xiàn)1829條經(jīng)驗(yàn) 獲得超6個(gè)贊

最后的.html 跟jsp一樣的

查看完整回答
反對 回復(fù) 2019-03-01
  • 1 回答
  • 0 關(guān)注
  • 396 瀏覽

添加回答

舉報(bào)

0/150
提交
取消
微信客服

購課補(bǔ)貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學(xué)習(xí)伙伴

公眾號

掃描二維碼
關(guān)注慕課網(wǎng)微信公眾號