Simple GWT example... 

web.xml 
        *<!-- Servlets -->*
* <servlet>*
* <servlet-name>PrintProviderMockServlet</servlet-name>*
* 
<servlet-class>com.farheap.jsi.ppmock.server.PrintProviderMockServiceImpl</servlet-class>
*
* </servlet>*
*
*
* <servlet-mapping>*
* <servlet-name>PrintProviderMockServlet</servlet-name>*
* <url-pattern>/ppmock</url-pattern>*
* </servlet-mapping>*
*
*
RPC on server : 
/**
 * The server side implementation of the RPC service.
 */
public class PrintProviderMockServiceImpl extends RemoteServiceServlet 
implements PrintProviderMockService {
....
}

I have a simple button on a page that does a RPC call.. 
But when clicking the button the url is not correct... 

>From the chrome debugger
POST http://localhost:8080/ppmock/ppmock/ppmock 404 (Not Found) 

Where does all these ppmock come from ?? 






-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to