Wednesday, August 1, 2012

RequestFactory include context path???

I load gwt application from dynamic url such as gwt/*/index.htm and define gwt request factory 
<servlet>
   <servlet-name>requestFactoryServlet</servlet-name>
   <servlet-class>com.mbv.mca.hr.server.ErrorLoggedRequestFactoryServlet</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>

and see that error  "HTTP Status 404 - /gwt/aaa/gwtRequest".

So, can I have any config to set request factory always request from root context path???

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/FPUCfOFdINsJ.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment