I use Tiles 2 with Spring 3.05. I want to map jsp files to controller, e.g.
<servlet-mapping>
<servlet-name>dispatcher</servlet-name>
<url-pattern>*.html</url-pattern>
<url-pattern>*.jsp</url-pattern>
</servlet-mapping>
When I do so, I get "[WARN] org.springframework.web.servlet.PageNotFound [No mapping found for HTTP request with URI [/WEB-INF/*.jsp]" for all tiles.
How can I exclude the tiles (from within WEB-INF) from servlet-mapping? or maybe I can explicitly map those files to tiles servlet?
May this sippet of my spring-context.xml helps you to build your configuration. It is based on the fact that there are two kind of tiles configuration files:
/WEB-INF/jsp/controllers/**/views.xml are several files that bind the view and jsp
One of the /WEB-INF/jsp/controllers/**/views.xml files: