Re: error 404: could not find the greetServlet when putting the war file not in the tomcat's webapps folder

2010-05-13 Thread Mike J
Thanks. I kept the servlet mapping in web.xml like this, servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/myproject/greet/url-pattern /servlet-mapping this one is for the URI of the servlet and is to be appended to the moduleBaseURL. In principle, if the moduleBaseURL

Re: error 404: could not find the greetServlet when putting the war file not in the tomcat's webapps folder

2010-05-13 Thread Mike Jiang
Sorry for a typo. the line, http://localhost:8080/f1/f2/project/greet http://localhost:8080/f1/f2/project/greetshould be http://localhost:8080/f1/f2/myproject/greethttp://localhost:8080/f1/f2/project/greet http://localhost:8080/f1/f2/project/greetand the line, http://localhost: 8080/f1/greet

Re: error 404: could not find the greetServlet when putting the war file not in the tomcat's webapps folder

2010-05-08 Thread Tiago A. Silva
Correct is servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/myproject/greet/url-pattern /servlet-mapping to servlet-mapping servlet-namegreetServlet/servlet-name url-pattern/myproject/greet/url-pattern /servlet-mapping 2010/5/6 Mike Jiang

error 404: could not find the greetServlet when putting the war file not in the tomcat's webapps folder

2010-05-06 Thread Mike J
Hi, I am new for the GWT project. I have run a simple GWT app with the default setting. I deployed it on a Tomcat by simply dropping the wrapped war file into the webapps folder. The war file will be expanded to a folder automatically. No problem for everything. It worked as expected. Now

Re: error 404: could not find the greetServlet when putting the war file not in the tomcat's webapps folder

2010-05-06 Thread Sripathi Krishnan
Change the annotation @RemoteServiceRelativePath in the interface GreetingService.java --Sri On 5 May 2010 21:51, Mike J mikej1...@gmail.com wrote: Hi, I am new for the GWT project. I have run a simple GWT app with the default setting. I deployed it on a Tomcat by simply dropping the