WEB.XML
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
version="2.5">
qiye
org.springframework.web.servlet.DispatcherServlet
contextConfigLocation
/WEB-INF/qiye-servlet.xml
1
qiye
/
qiye-servlet.xml
xmlns:context="http://www.springframework.org/schema/context"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc-4.0.xsd
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
http://www.springframework.org/schema/context
http://www.springframework.org/schema/context/spring-context-3.0.xsd">
我加上了
但是页面报404错误.
如果去掉 SpringMVC视图就正常.但是css文件,js文件,图片加载不出来.
http://127.0.0.1:28080/Qiye/j...
我这这样访问的 ,有错吗?
home文件夹下都是前端html