Saturday, March 21, 2009

Re: How to configure web.xml to include RPC service?

> I'm assuming GwtEjbSrc is the name of your RPC service.

Yes, that's right.

> I believe that you need
> <url-pattern>/module_name/GwtEjbSrc</url-pattern>

I changed my web.xml to

<servlet>
<servlet-name>gwtejbsrc</servlet-name>
<servlet-class>de.stsch.gwtejb.server.GwtEjbSrcImpl</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>gwtejbsrc</servlet-name>
<url-pattern>/GwtEjb/GwtEjbSrc</url-pattern>
</servlet-mapping>

but I still get the error message that the requested resource couldn't
be found:

The requested resource (/gwtejb/de.stsch.gwtejb.GwtEjb/GwtEjbSrc) is
not available.

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

No comments: