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
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
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
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
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