That's the current URL for one of my servlets. My question is, how do I change it?

In my web.xml file, altering




Makes absolutely NO difference to the URL it requests when I make an RPC-call to the servlet.

Accepted Answer

Once you have done the above you need to change where you invoke (Which is described in the Annotation below) as in...

// The RemoteServiceRelativePath annotation automatically calls setServiceEntryPoint()
public interface MyEmailService extends RemoteService {
  void emptyMyInbox(String username, String password);


Written by Romain Hippeau
This page was build to provide you fast access to the question and the direct accepted answer.
The content is written by members of the community.
It is licensed under cc-wiki