I'm using GWT 2.4. In my web.xml file, I define a servlet and its
mapping ...
<servlet>
<servlet-name>getHtmlServlet</servlet-name>
<servlet-
class>com.myco.clearing.productplus.server.PPlusServiceImpl</servlet-
class>
</servlet>
<servlet-mapping>
<servlet-name>getHtmlServlet</servlet-name>
<url-pattern>/productplus_gwt/getHtml</url-pattern>
</servlet-mapping>
However, in order to get a GWT test case to work, which tests an
asynchronous call to this servlet, I have to add this to my .gwt.xml
file ...
<!-- Servlets -->
<servlet path='/getHtml'
class='com.myco.clearing.productplus.server.PPlusServiceImpl' />
It seems somewhat redundant to have the mapping defined twice. Is
there a way to put it in one place and have both my application and
unit test read it? Thanks,- Dave
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
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