Hi ,

I have a Wo(nder) app deployed in Tomcat.

I need to add an additionnal servlet for gwt.

So my standard config in web.xml  is :
<servlet>
<servlet-name>woServlet</servlet-name>
<servlet-class>er.extensions.jspservlet.ERXServletAdaptor</servlet-class>
</servlet>

<servlet-mapping>
<servlet-name>woServlet</servlet-name>
<url-pattern>/TestWORF/WebObjects/*</url-pattern>
</servlet-mapping>

The addition in web.xml for the  GWT servlet is :
<servlet>
    <servlet-name>requestFactoryServlet</servlet-name>
    
<servlet-class>com.google.web.bindery.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>

With a config like this, the url used for accessing requestFactoryServlet is : /TestWORF/WebObjects/gwtRequest . This request goes directly to the woServlet.

How can I changed the servlet config in order that the gwt request goes to the 
correct servlet ?


Thanks in advance

Pierre
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to