Okay, well it looks like you have your RequestFactory configured
directly in your web.xml which is bypassing Spring. Forgiving me if I
am off or telling you something you already know as I am new to
Spring. But in the web.xml below, You configure both Request Factory
and Application(Dispatcher). You will have to remove the
RequestFactory mapping and have the Application/Dispatcher catch the
requests right?

In one of my public repos I have a Spring configuration that forwards
all GWT-RPC request through Spring. I would imagine you set up the
RequestFactory servlet the same way: https://github.com/ashtonthomas/beans

https://github.com/ashtonthomas/beans/tree/master/war/WEB-INF

where in the: 
https://github.com/ashtonthomas/beans/blob/master/war/WEB-INF/spring-servlet.xml
You just have the below where it filters all gwtRequest to a
requestFactory bean set up in the Appconfig

Again, sorry if this is not what you are looking for or what you
already know

        <bean id="urlMapping"
class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
                <property name="mappings">
                        <value>
                                /**/gwtRequest=gwtRequestDispatcher

                                /**/register.rpc=registerDispatcher
                                /**/beans.rpc=beansDispatcher

                        </value>
                </property>
        </bean>


        <bean id="gwtRequestDispatcher"
class="com.billy.bob.server.request.GwtRpcDispatcher">
                <property name="remoteService">
                        <ref bean="requestFactory"/>
                </property>
        </bean>


-------------------------------------

   <servlet>
        <servlet-name>Application</servlet-name>
        <servlet-
class>org.springframework.web.servlet.DispatcherServlet</servlet-
class>
        <init-param>
            <param-name>contextConfigLocation</param-name>
            <param-value>/WEB-INF/spring/webmvc-config.xml</param-
value>
        </init-param>
        <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet>
        <servlet-name>requestFactory</servlet-name>
        <servlet-
class>com.google.gwt.requestfactory.server.RequestFactoryServlet</
servlet-class>
    </servlet>


    <servlet-mapping>
        <servlet-name>Application</servlet-name>
        <url-pattern>/</url-pattern>
    </servlet-mapping>

    <servlet-mapping>
        <servlet-name>requestFactory</servlet-name>
        <url-pattern>/gwtRequest</url-pattern>
    </servlet-mapping>



On Dec 22, 6:08 pm, zixzigma <[email protected]> wrote:
> GWT's RequestFactoryServlet source code:
>
> http://code.google.com/p/google-web-toolkit/source/browse/trunk/user/...

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to