Up vote 1 down vote favorite share g+ share fb share tw.
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?
Spring spring-mvc mapping tiles tiles2 link|improve this question asked Jun 4 '10 at 20:10Arthur Ronald F D Garcia12.4k22055 84% accept rate.
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.
Arthur: All request to Spring MVC controllers are going throgh the DispatcherServlet. – axtavt Jun 4 '10 at 20:55.
I think you're missing a critical ViewResolver. I checked the post you mentioned in SpringSource but I didn't see the following ViewResolver: org.springframework.web.servlet.view. Tiles2.
TilesViewResolver Try adding that ViewResolver and see if that would help. I use Spring and Tiles as well. I just have to declare that and the TilesConfigurer.
Check out these references: Add TilesViewResolver to enable fallback if tiles definition does not exist TilesViewResolver.
It's a common issue using Spring and it's due to the fact that the view (jsp) goes through the DispatcherServlet. Try to modify your web. Xml using dispatcher org.springframework.web.servlet.
DispatcherServlet dispatcher /app/* and then add to your urlrewrite. Xml something like: / /app/ /** /app/$1 /app/** /$1 I'm assuming you're using urlrewrite, if you're not import the jar and add the filter mapping in your web. Xml such as: urlRewriteFilter org.tuckey.web.filters.urlrewrite.
UrlRewriteFilter urlRewriteFilter.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.