servlet-mapping causing http 404 error# Java - 爪哇娇娃
z*e
1 楼
我在看这个tutorial
http://docs.spring.io/docs/Spring-MVC-step-by-step/part1.html
但是发现在web.xml里面加入了这一段dispatcher的话,这个app就在tomcat里面不能运
行,如果不用这一段dispatcher倒是可以,怎么解决这个问题?
springapp
org.springframework.web.servlet.DispatcherServletservlet-class>
1
springapp
*.htm
http://docs.spring.io/docs/Spring-MVC-step-by-step/part1.html
但是发现在web.xml里面加入了这一段dispatcher的话,这个app就在tomcat里面不能运
行,如果不用这一段dispatcher倒是可以,怎么解决这个问题?