This seems to be required anyway as Spring integration to struts uses a per
(struts) module application context.


2006/12/18, Niall Pemberton <[EMAIL PROTECTED]>:

On 12/18/06, nicolas de loof <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm trying to create a custom "CreateAction" command to be plugged in
the
> CoR RequestProcessor of Struts 1.3
> This command will handle Spring autowiring of commands, but requires
> initiali acces to the servletContext to get the Spring
> WebApplicationContext.
>
> I can make this "init" from the first command execution based on
> ServletActionContext, but I would find better to make this init on time
for
> every commands invocation.
>
> Is there any support for such an init process ?

There isn't - but why not just look up the spring
WebApplicationContext each time?

Niall

> Nico.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to