I want to use an IoC approach
within webwork2 to provide my manager components to my
actions.
I have created the managers and
enablers, now the problem is - how do I configure my manager
components ?
I need to be able to work out a
path relative to /WEB-INF
I want to have a config file,
either a properties file, or in web.xml to allow me to spefity this
path.
Then I was going to get
the value of
request.getRealPath("/WEB-INF/" + path), and set it onto my manager
component.
Also, when are application
scoped components constructed ? when they are first needed, or on initialization
of the component manager ?
I need to know this to
determine if an ActionContext will always be availible when the component is
constructed.
Thanks.
Cam