I think the problem is in web.xml.
The URI's are implemented as follows: http://localhost:8888/my_App.html?gwt.codesvr=127.0.1.1:9997#page1
calls com.server.ServiceImpl1 and http://localhost:8888/my_App.html?gwt.codesvr=127.0.1.1:9997#page2
calls com.server.ServiceImpl2. These are some additional info of my
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>/page1</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>service2</servlet-name>
<url-pattern>/page2</url-pattern>
</servlet-mapping>
Could someone tell me what the problem is?
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?
On Jan 10, 1:28 pm, Dave <ladjo...@gmail.com> wrote:
> When I made the the following changes and I navigate tohttp://localhost:8888/my_App.html?gwt.codesvr=127.0.1.1:9997#page1. I
Change server source file = restart web server
Change client source file (hosted mode) = reload page
Change any source file (compiled mode) = recompile
Is this not the case?