Wednesday, 28 August 2013

Url Mapping in gwt

Url Mapping in gwt

My GWT project is not working when im trying to run my [project]_build.xml
as ant.
This is my web.xml file :
<servlet>
<servlet-name>gwtTest</servlet-name>
<servlet-class>es.gwt.finalTest.server.TestServiceImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>gwtTest</servlet-name>
<url-pattern>test</url-pattern>
</servlet-mapping>
This is the Remote Service Path found at My Service.java
@RemoteServiceRelativePath("test")
Plus when i remove this : private GreetingServiceAsync messageService =
GWT.create(GreetingService.class); from my EntryPoint the error doesnt
occur anymore but of course i have no access to my servlet

No comments:

Post a Comment