I have a strange problem with GWT-RPC. I am setting up an Async RPC handler that works fine. But when I start my server (using ant devmode ), I get the following warning:
[WARN] Module declares a servlet class 'xyserver.LoginServiceImpl' with a mapping to '/login/login', but the web.xml has no corresponding mapping
To be clear, nowhere in my code do I specify "/ login / login". I want to use only / login . Why does he add it twice? It almost looks like a GWT bug. Here is the rest of the configuration:
My web.xml servlet-mapping looks like this:
<servlet-mapping> <servlet-name>LoginServiceImpl</servlet-name> <url-pattern>/login</url-pattern> </servlet-mapping>
My module file has the following:
<servlet path="/login" class="xyserver.LoginServiceImpl" />
So why do I get a warning about / login / login when it is not defined anywhere? Any help is appreciated, thanks.
-tjw
source share