I use Jetty as a web server. The project uses the springmvc framework.
启动jetty 访问项目http://127.0.0.1:4444/mobile/
出现404异常
但用tomcat作为web服务器启动项目访问:http://127.0.0.1: 4444/mobile/
can be accessed normally. .
困扰了好久 难道是jetty的原因吗? ? ? ?
This is my xml configuration:
default *.jpg *.gif *.js *.png *.bmp *.swf *.css *.ico *.html *.htm *.xml CharactEncoding org.springframework.web.filter.CharacterEncodingFilter encoding UTF-8 CharactEncoding /* BFLYMOBILE org.springframework.web.servlet.DispatcherServlet contextConfigLocation classpath:applicationContext-mvc.xml 1 52428800 52428800 0 BFLYMOBILE / contextConfigLocation classpath:applicationContext.xml org.springframework.web.context.ContextLoaderListener org.springframework.web.util.IntrospectorCleanupListener org.springframework.web.context.request.RequestContextListener 30 index.jsp index.html