struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adam Ruggles <a.rugg...@gmail.com>
Subject Re: Spring Action Instantiation
Date Tue, 19 Jun 2007 21:21:19 GMT
Are you specifying the entire class name in the action mapping 
definition instead of using the spring bean id?

stanlick@gmail.com wrote:
> It appears as though I am not getting a new Action instance created 
> for each
> request!  I have placed a logging statement in the constructor of my 
> Action
> class and it is not emitting output.  The Bean inside the Action *is*
> emitting log statements from its constructor so I must have the Spring 
> beans
> wired correctly.  I am injecting both the Actions and Action Beans via
> Spring.  I have scope=prototype on them both.
>
> Any ideas?
>
> Thanks,
> Scott
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message