Martin Gainty wrote:
Good Evening All-
The scenario is Spring 1.x framework with normal complement of IOC bells and
whistles
A colleague removes the struts-plugin from his project and noticed he lost
capability for Action to reach context info from the webapp
Replacing the struts-plugin did work... thankfully
Is/Are there any alternative strategies for a Struts Action class to acquire
the webapp context ???
Firstly, why would you want to remove the plugin that provides the
functionality you need, then look for alternatives? Is there some way in
which the plugin is causing you problems?
If you really do need to go this route, Spring provides utility classes
for obtaining a reference to the context; you might be able to leverage
that. Spring2, or course, also supports annotation-driven injection
which might be more straight-forward.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]