How to access ApplicationContext beans from Velocity templates backed by Struts ?
I'm trying to add ApplicationContext to old Struts/Velocity application and I dont want to migrate to Struts MVC yet..
Printable View
How to access ApplicationContext beans from Velocity templates backed by Struts ?
I'm trying to add ApplicationContext to old Struts/Velocity application and I dont want to migrate to Struts MVC yet..
You could put ApplicationContext's bean into the model (the return value of handle operation in your Controller's implementation).Quote:
Originally Posted by fleegle
The beauty of Spring is that it shields the view's implementation specifics so migrating from one view (i.e. Velocity) to another is quite simple, most of the work would be in configuration.