Thanks again for replying, I am really stuck on this one at the moment.

I am currently using struts-2.0.11.1 and spring-2.5.4.

Another thing I have noticed on the struts plugin guide page at:

http://struts.apache.org/2.x/docs/spring-plugin.html
http://struts.apache.org/2.x/docs/spring-plugin.html 

is that in their struts.xml example at the bottom of the page they have a
bean called 'secure' but it extends="default" and not "struts-default". I
have opened up the struts2-spring-plugin.jar file and see that the
struts-plugin.xml file package name attribute is called "spring-default" and
extends "struts-default". Would you expect that to mean that my package
should be extending the "spring-default" rather than "struts-default"? I
have tried it and it made no difference; it was just an oddity I noticed.




Brad A Cupit wrote:
> 
>> I have tried setting the scope="prototype" but it
>> didn't change the error I am seeing.
> 
> right, that makes sense. This setting will stop you from having big
> problems later on though.
> 
>> I am unsure what could be causing this but maybe someone could
>> clarify that the:
>> 
>> com.opensymphony.xwork2.spring.SpringObjectFactory  - Setting
>> autowire strategy to name 
>>
>> is correct, I though it should be setting it to 'type' but I could
>> be wrong.
> 
> The default is to autowire by name, so if you don't have it set, then
> that makes sense. In your original post, it was set though, so it's very
> odd. Remember, you're not really going to care about this value, since
> your Action is fully Spring managed, but if you telling it to autowire
> by 'type' and it's picking 'name', that may be the symptom of something
> else.
> 
> which version of struts and spring are you using?
> 
> Brad Cupit
> Louisiana State University - UIS
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Struts2-and-spring-plugin---Action-class--springManagedProsocActionUpdateEmail--not-found-tp18814302p18817604.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to