Java Mailing List Archive

http://www.junlu.com/

Home » FreeMarker-user »

[FreeMarker-user] freemarker and spring

S Ahmed

2012-04-09

Replies: Find Java Web Hosting

Author LoginPost Reply
When using freemarker and spring, I was looking at the source code of the freemarker viewresolver etc. and I recall seeing a place where request attribute level objects can merged into the ModelAndView that is sent to the view.

Is this true?

So if I have:

request.setAttribute("someObject", someObject);

that I set using a filter for example, when my view is rendered does this mean the someObject will be available in my freemarker view or is there is a config setting I have to switch to allow for this to happen?


------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
FreeMarker-user mailing list
FreeMarker-user@(protected)
https://lists.sourceforge.net/lists/listinfo/freemarker-user
©2008 junlu.com - Jax Systems, LLC, U.S.A.