I built an extension
to the Freemarker servlet to provide transparent value stack
access.
The reason that I
have taken this approach instead of creating a custom result type is that I
wanted to keep all of the features of the freemarker servlet (JSP tag support
etc..) without reproducing too much code, and with minimal effort (KISS)
Plus, I didn't see the problem with single request dispatcher
forward.
I want to contribute
this code back to the community.
The guys from the
Freemarker project would prefer that this integration code be kept under the
webwork hood.
The only change
would be a compile time dependancy on a single jar .. though it is
750k.
Another posibility
would be a new java.net project webwork-extensions. To contain this, and
any other extensions that anyone else wants to contribute.
What are your
thoughts ?
Cameron.