Well, it doesn't still work, and the following message appears now:

[TRACE] The development shell servlet received a request for
'srvITPImpl' in module 'com.sp.gwt.EVITAWeb.gwt.xml'
[WARN] Resource not found: srvITPImpl; (could a file be missing from
the public path or a <servlet> tag misconfigured in module
com.sp.gwt.EVITAWeb.gwt.xml ?)


 I have written in my module:

 <servlet path="/SrvImpl"  class="com.sp.gwt.server.SrvITPImpl"/>

and in the event onClick of the button:

SrvITPAsync service = (SrvITPAsync) GWT.create(SrvITP.class);
String url = GWT.getModuleBaseURL();
ServiceDefTarget endpoint = (ServiceDefTarget) service;
endpoint.setServiceEntryPoint(url + "/srvITPImpl");
AsyncCallback callback = new AsyncCallback() {
                         .......
}

service.getID(callback);


Thanks again.



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to