• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Deploy in tomcat with GWT
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deploy in tomcat with GWT


  • Subject: Deploy in tomcat with GWT
  • From: GILQUIN Pierre <email@hidden>
  • Date: Tue, 01 Nov 2016 13:46:38 +0100

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      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Development setup for Mac OS X Sierra
  • Next by Date: Re: Development setup for Mac OS X Sierra
  • Previous by thread: Re: Development setup for Mac OS X Sierra
  • Next by thread: apache adaptor on AIX 7.1
  • Index(es):
    • Date
    • Thread