Have you define a SimpleServletHandlerAdapter? It is not activated in spring
MVC by default. It is likely that the URL /gwtRequest is mapped to the
RequestFactoryServlet but no HandlerAdapter can handle it. Try add to your
webmvc-config.xml:

<bean
class="org.springframework.web.servlet.handler.SimpleServletHandlerAdapter"/>

On Thu, Dec 23, 2010 at 2:03 AM, zixzigma <[email protected]> wrote:

> Thank you for your feedback and support on this.
>
> I spent a very long time, trying many different combinations,
> including those you suggested, unfortunately none of them worked.
>
> this topic was also discussed here, you can see my comments there.
>
> http://groups.google.com/group/google-web-toolkit/browse_thread/thread/20ea2aea53aa29d3
>
> here is the log, showing whats going on ...
> http://paste.pocoo.org/show/308797/
>
> based on your suggestion, I removed references to
> RequestFactoryServlet from web.xml
> and added this mapping to my webmvc-config.xml config file:
>
> <bean
> class="org.springframework.web.servlet.handler.SimpleUrlHandlerMapping">
>        <property name="mappings">
>             <value>/gwtRequest=gwtRequestFactoryController</value>
>        </property>
> </bean>
> <bean id="gwtRequestFactoryController"
> class="com.google.gwt.requestfactory.server.RequestFactoryServlet"/>
>
> from the log file, it is clear that /gwtRequest is mapped.
> I also tried dozen of other combinations, but unfortunately no luck.
>
> still don't know why GWT RequestFactoryServlet behaves like this in
> Spring configured environment ?
>
> --
> 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]<google-web-toolkit%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
>

-- 
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