According to Thomas Broyer
-----------------------------------------------------------------------
The first thing to do is to declare a servlet mapping for the
RequestFactoryServlet at path /gwtRequest (this is the default, it can be
changed). That's all you have to do on the server side.
---------------------------------------------------------------------
but every code example I've seen is mapping differently
so what the hell has to be done with that ?
Patrick
dynatablerf sample id going (I don't know if the filter is related to the
Request Factory )
===============================================
<servlet>
<servlet-name>requestFactoryServlet</servlet-name>
<servlet-class>com.google.gwt.requestfactory.server.RequestFactoryServlet</servlet-class>
<init-param>
<param-name>symbolMapsDirectory</param-name>
<!-- You'll need to compile with -extras and move the symbolMaps
directory
to this location if you want stack trace deobfuscation to work -->
<param-value>WEB-INF/classes/symbolMaps/</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>requestFactoryServlet</servlet-name>
<url-pattern>/gwtRequest</url-pattern>
</servlet-mapping>
<filter>
<filter-name>TransactionContext</filter-name>
<filter-class>com.google.gwt.sample.dynatablerf.server.SchoolCalendarService</filter-class>
</filter>
<filter-mapping>
<filter-name>TransactionContext</filter-name>
<url-pattern>/gwtRequest</url-pattern>
</filter-mapping>
==================================================
expense GOES
==================================================
<servlet>
<servlet-name>requestFactoryServlet</servlet-name>
<servlet-class>com.google.gwt.requestfactory.server.RequestFactoryServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>requestFactoryServlet</servlet-name>
<url-pattern>/gwtRequest</url-pattern>
</servlet-mapping>
<filter>
<description>
This filter demonstrates making GAE authentication
services visible to a RequestFactory client.
</description>
<filter-name>GaeAuthFilter</filter-name>
<filter-class>com.google.gwt.sample.gaerequest.server.GaeAuthFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>GaeAuthFilter</filter-name>
<url-pattern>/gwtRequest/*</url-pattern>
</filter-mapping>
===================================================
HelloMVP with activities-places-testing
===================================================
<servlet>
<servlet-name>requestFactoryServlet</servlet-name>
<servlet-class>com.google.gwt.requestfactory.server.RequestFactoryServlet</servlet-class>
<init-param>
<param-name>userInfoClass</param-name>
<param-value>com.hellomvp.server.UserSessionInfo</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>requestFactoryServlet</servlet-name>
<url-pattern>/helloMVP/gwtRequest</url-pattern>
</servlet-mapping>
===================================================
My own mapping : generating HTTP 503 error
<servlet>
<servlet-name>appRf</servlet-name>
<servlet-class>metro.test.arch232.client.AppRF</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>appRf</servlet-name>
<url-pattern>/gwtRequest</url-pattern>
</servlet-mapping>
-----
Aucun virus trouve dans ce message.
Analyse effectuee par AVG - www.avg.fr
Version: 10.0.1191 / Base de donnees virale: 1435/3380 - Date: 14/01/2011
--
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.