When I made the the following changes and I navigate to
http://localhost:8888/my_App.html?gwt.codesvr=127.0.1.1:9997#page1. I
am getting "HTTP ERROR: 404 NOT_FOUND RequestURI=/my_app/service1".
Changes:
web.xml.
<servlet>
<servlet-name>service1</servlet-name>
<servlet-class>com.server.ServiceImpl1</servlet-class>
</servlet>
<servlet>
<servlet-name>service2</servlet-name>
<servlet-class>com.server.ServiceImpl2</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>service1</servlet-name>
<url-pattern>/my_app/service1</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>service2</servlet-name>
<url-pattern>/my_app/service2</url-pattern>
</servlet-mapping>
My client side service interface is as follows
@RemoteServiceRelativePath("service1")
public interface MyService extends RemoteService
{
//some function prototype
//some function prototype
}
I am following instruction found at:
http://code.google.com/webtoolkit/doc/1.6/tutorial/appengine.html#test.
What am I doing wrong?
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.