Deploy in tomcat with GWT
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi ,
I have a Wo(nder) app deployed in Tomcat.
I need to an additionnal servlet to run.
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 additionnal servlet come from GWT, the addition in web.xml 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 that goes to the woServlet.
How can I changed the servlet config in order that the gwt request goes to the correct servlet ?
Thanks in advance