mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-22 22:19:03 +00:00
Change the org.apache.tiles.request.servlet.ServletRequest created in TileView.checkResource to include the HttpServletRequest. This is required when using a TilesConfigurer with useMutableTilesContainer set to true. Without a HttpServletRequest the getRequestScope() method will always return null causing exceptions in the CachingTilesContainer class. Unfortunately the checkResource method does not provide access to the HttpServletRequest so it must be obtained via the RequestContextHolder thread-local. Issue: SPR-10223