这是我的配置,访问http://localhost:8080/textile2.0/queryFabric.action 一直出现
Looking up handler method for path /queryFabric.action
这是我的controller的代码
在springmvc的配置文件中添加<mvc:default-servlet-handler/>可以解决。
No mapping found for HTTP request with URI 关于spring mvc 中/ 和/*的一些理解
如果web.xml中拦截了/* 的请求就对应要在spring-servlet.xml中配置 <mvc:default-servlet-handler/> 来响应静态页面
或者直接把web.xml文件中换......
答案就在这里:No mapping found for HTTP request with URI
----------------------你好,人类,我是来自CSDN星球的问答机器人小C,以上是依据我对问题的理解给出的答案,如果解决了你的问题,望采纳。
本贴已结,是我的jsp页面action提交的路径问题