Title: Message
Hi,
 
I'm using cocoon through the CocoonBean and I need to "see" some objects from my application inside a XSP. Is there a way of placing some objects inside the environment of the CocoonBean ? Something that would look like the VelocityContext in Velocity...
 
The idea is that I need to use some kind of HttpServletRequest to generate the pages, but it's not a real HttpServletRequest and I don't feel like turning my application into a servlet container. So, I can't use the CocoonServlet and I think that means I can't use the xsp-request logic sheet, or am I wrong ?
 
I'm thinking of accessing a static Map and getting the objects using a (session) key; the session key could be encoded in the URI... (I'm calling the processURI() method from the CocoonWrapper)
 
Can someone tell me if there's a better solution to this problem ?
 
Thanks,
Nicolas

Reply via email to