Tuesday, April 8, 2014

Error 404 in the RPC GWT

hi all,
when there is a RPC i have an error 404,
in the tutorial GWT  there is written :
"If invoking your RPC call fails with a 404 StatusCodeException, your web.xml may be misconfigured."

my web.xml is
---
  <servlet>
    <servlet-name>greetServlet</servlet-name>
    <servlet-class>its.server.GreetingServiceImpl</servlet-class>
  </servlet>
  <servlet-mapping>
    <servlet-name>greetServlet</servlet-name>
    <url-pattern>/myopengov/greet</url-pattern>
  </servlet-mapping>
---
my GreetingService.java  is :
@RemoteServiceRelativePath("greet")
public interface GreetingService extends RemoteService {
.....to do something

Where I wrong??
I'm waiting for an help please
thank you in advance
ciao
Paola Montorio

--
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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment