Re: How to configure my web.xml
I fixed the error. I was unaware that I had to compile the application
before. I can't recall any literature which tells you to compile
before running. I felt that by running it as a web app, then the
requisite compilation would have been done automatically.
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
> 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?
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home