Tiles 2 And No mapping found for HTTP request with URI - Spring-MVC

后端 未结 3 1003
被撕碎了的回忆
被撕碎了的回忆 2020-12-04 00:07

I want to use Spring-Tiles intergration. Here you can see how my app looks like.

So my question is: why Spring-MVC dispatcher Servlet can not resolve my Target page

3条回答
  •  难免孤独
    2020-12-04 01:06

    The problem is that you use /* in servlet mapping, so all requests are processed by DispatcherServlet, including request to *.jsp tiles. The most versatile way to solve it (but to keep restful urls without prefixes) is to use a UrlRewriteFilter.

提交回复
热议问题