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

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

項(xiàng)目start后,訪問頁面的時候報(bào)404錯誤

項(xiàng)目start后,訪問頁面的時候報(bào)404錯誤

洋蔥丶騎士 2016-03-28 21:18:37
求助求助我的springMVC如下:<?xml?version="1.0"?encoding="UTF-8"?> <beans?xmlns="http://www.springframework.org/schema/beans" ???????xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ???????xmlns:context="http://www.springframework.org/schema/context" ???????xmlns:mvc="http://www.springframework.org/schema/mvc" ???????xsi:schemaLocation="http://www.springframework.org/schema/beans?http://www.springframework.org/schema/beans/spring-beans.xsd?http://www.springframework.org/schema/context?http://www.springframework.org/schema/context/spring-context.xsd?http://www.springframework.org/schema/mvc?http://www.springframework.org/schema/mvc/spring-mvc.xsd"> ????<!--自動掃描控制器--> ????<context:component-scan?base-package="com.dsc.ssm.controller"/> ????<!--視圖渲染--> ????<!--控制器映射器和控制器適配器--> ????<mvc:annotation-driven></mvc:annotation-driven> ???? ????<mvc:resources?mapping="/resources/**"?location="/reources/"></mvc:resources> ????<bean?id="internalResourceViewResolver"?class="org.springframework.web.servlet.view.InternalResourceViewResolver"> ????????<property?name="prefix"?value="/WEB-INF/views/"/> ????????<property?name="suffix"?value=".jsp"/> ????</bean> </beans>Controller如下:@Controller public?class?HelloController?{ ????@RequestMapping("/hello") ????public?ModelAndView?hello(){ ????????ModelAndView?mv?=?new?ModelAndView("hello"); ????????mv.addObject("spring","spring?mvc"); ????????mv.setViewName("hello"); ????????return?mv; ????} }hello.jsp的目錄在
查看完整描述

1 回答

?
HansonQ

TA貢獻(xiàn)223條經(jīng)驗(yàn) 獲得超56個贊

這樣貼代碼 沒法看啊

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

添加回答

舉報(bào)

0/150
提交
取消
微信客服

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

幫助反饋 APP下載

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

公眾號

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