Hello,

I have scratched my head and googled this for hours to no avail, so maybe
you folks can give me a hand.

I am trying to migrate a Struts1 site to Struts2 (from maven, struts-core
2.0.6).  So far everything is fine, except for Velocity (verison 1.4). The
Action is being called and returning successfully, the correct Velocity
template is being loaded and parsed, but the Action is no where to be found
for the Velocity template. In http://cwiki.apache.org/WW/velocity.html it
states that the Action's properties will be present for the template
context, along with other help variables (i.e. $stack, $action, etc ). My
Velocity template has nothing, just $struts.valueStack in the request
attributes.

Seems like there is a final step missing that processes the Action into the
Velocity context?

The entire site is already using Velocity, so migrating to Freemaker is not
really an option at this time.


thanks,
Michael

Reply via email to