views:

45

answers:

0

Hi,

I am using Spring 3 with sitemesh. I would like to refer to spring context bean in decorator page defined in sitemesh.

The problem is that SiteMesh filter is working outside the Spring context, so request object on sitemesh decorator jsp page is native HttpServletRequest and not wrapper with useful functions to access context and etc.

Is there a way to somehow configure both spring and sitemesh to have access to Spring context in decorator page?