Thank you! it works! I knew I missed some link between struts2 and spring.
Don Brown wrote:
>
> Have you modified your struts.properties to point Struts to the spring
> ObjectFactory? See http://cwiki.apache.org/WW/spring.html for more
> information.
>
> Don
>
> On 11/1/06, boa <[EMAIL PROTECTED]> wrote:
>>
>> Hi there,
>>
>> I am using struts2.0.1 and spring1.2.8. I follow the showcase example in
>> struts2 config file to use bean name instead of fully qualified classname
>> for action, then I get Action class [XXXAction] not found.
>>
>> My spring config file is like this:
>>
>>
>> > class="com.bofa.ecomm.snf.app.contentmanager.DisplayPageAction"
>> singleton="true" lazy-init="false">
>>
>>
>>
>>
>> struts config is like this:
>>
>>
>> Main
>>
>>
>> I can see from the console that the spring bean "displayPageAction" is
>> initilalized, when I try to access the struts action using url:
>> http:///DisplayPageAction.action
>>
>> I get "Action class [displayPageAction] not found " error.
>>
>> Does anyone has similar experience on how to resolve it? Thanks.
>>
>> Alex
>>
>> --
>> View this message in context:
>> http://www.nabble.com/struts2-action-and-spring-bean-tf2557529.html#a7127210
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> -
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
--
View this message in context:
http://www.nabble.com/struts2-action-and-spring-bean-tf2557529.html#a7144860
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]