; >>
> >> >> I have a Controller called com.x.y.z.controller.OrdersController.
> >> >>
> >> >> The following is my struts.xml
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
> >> >>
g is my struts.xml
>> >>
>> >>
>> >>
>> >>
>> >>
>> >> > value="uniqueName"/>
>> >> > value="Controller"/>
>> >> > >> value="true"
> >>
> >>
> >>
> >>
> >> value="Controller"/>
> >> >> value="true"/>
> >> >> value="rest-default"/>
> >> >> value="controller&
>> > value="true"/>
>> > value="rest-default"/>
>> > value="controller"/>
>> > value="com.x.y.z"/>
>>
>>
>> Is there anyway that I can initialize this Controller from Sp
Hi again,
I solve this problem by writing a new class: RestSpringObjectFactory which
extends StrutsSpringObjectFactory. In that class, i override the method
buildBean(Class clazz, Map extraContext) to get bean from
appContext whenever the class is my controller class.
Cheers,
Anton
On Sat, Sep
Hi all,
I am currently developing an application using Struts 2.1.6 + rest-plugin +
spring-plugin + Spring 2.5.6.
The problem that I am facing is that I have not found any way to initialize
the Controller Actions from Spring, because the rest-plugin is built on the
Convention Plugin for automatic
6 matches
Mail list logo