Re: Rest-plugin with Spring

2009-10-19 Thread Antonius Ng
; >> > >> >> I have a Controller called com.x.y.z.controller.OrdersController. > >> >> > >> >> The following is my struts.xml > >> >> > >> >> > >> >> > >> >> > >> >> > >> >>

Re: Rest-plugin with Spring

2009-10-18 Thread Sayantan Sinha
g is my struts.xml >> >> >> >> >> >> >> >> >> >> >> >> > value="uniqueName"/> >> >> > value="Controller"/> >> >> > >> value="true"

Re: Rest-plugin with Spring

2009-10-18 Thread Antonius Ng
> >> > >> > >> > >> > >> value="Controller"/> > >> >> value="true"/> > >> >> value="rest-default"/> > >> >> value="controller&

Re: Rest-plugin with Spring

2009-10-18 Thread Sayantan Sinha
>> > value="true"/> >> > value="rest-default"/> >> > value="controller"/> >> > value="com.x.y.z"/> >> >> >> Is there anyway that I can initialize this Controller from Sp

Re: Rest-plugin with Spring

2009-09-21 Thread Antonius Ng
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

Rest-plugin with Spring

2009-09-19 Thread Antonius Ng
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