You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Will Gomes <wg...@umd.edu> on 2008/09/11 21:30:08 UTC
Using ServletController with Spring MVC
I want to replace the use of CXFServlet with a spring mvc controller. My plan
is to make use of or extend the ServletController. The problem I'm having is
that the ServletController requires a handle to the CXFServlet. Any
suggestions on how to get around this?
--
View this message in context: http://www.nabble.com/Using-ServletController-with-Spring-MVC-tp19442643p19442643.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Using ServletController with Spring MVC
Posted by Daniel Kulp <dk...@apache.org>.
On Friday 12 September 2008 9:39:13 am Will Gomes wrote:
> dkulp wrote:
> > The only things the ServletController need from the CXFServlet are the
> > Bus and
> > the ServletContext. I would definitely accept a patch that would change
> > the
> > constructor from passing the CXFServlet to passing the Bus and
> > ServletContext
> > explicitly if that would help.
>
> Thanks, I've submitted a patch:
> https://issues.apache.org/jira/browse/CXF-1782 CXF-1782
Patch applied. Thanks!
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog
Re: Using ServletController with Spring MVC
Posted by Will Gomes <wg...@umd.edu>.
dkulp wrote:
>
>
> The only things the ServletController need from the CXFServlet are the Bus
> and
> the ServletContext. I would definitely accept a patch that would change
> the
> constructor from passing the CXFServlet to passing the Bus and
> ServletContext
> explicitly if that would help.
>
>
Thanks, I've submitted a patch:
https://issues.apache.org/jira/browse/CXF-1782 CXF-1782
--
View this message in context: http://www.nabble.com/Using-ServletController-with-Spring-MVC-tp19442643p19456001.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Using ServletController with Spring MVC
Posted by Daniel Kulp <dk...@apache.org>.
On Thursday 11 September 2008 3:30:08 pm Will Gomes wrote:
> I want to replace the use of CXFServlet with a spring mvc controller. My
> plan is to make use of or extend the ServletController. The problem I'm
> having is that the ServletController requires a handle to the CXFServlet.
> Any suggestions on how to get around this?
The only things the ServletController need from the CXFServlet are the Bus and
the ServletContext. I would definitely accept a patch that would change the
constructor from passing the CXFServlet to passing the Bus and ServletContext
explicitly if that would help.
--
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog