Re: Deploy GWT app in Tomcat as ROOT

2011-12-07 Thread Xybrek
On Thursday, 08 December, 2011 02:01 PM, Kanagaraj M wrote: GreetingServiceAsync serviceAsync= (GreetingServiceAsync)GWT.create(GreetingService.class); ServiceDefTarget endpoint= (ServiceDefTarget) serviceAsync; String moduleRelativeURL= " http://localhost:8080/

Re: Deploy GWT app in Tomcat as ROOT

2011-12-07 Thread Kanagaraj M
http://stackoverflow.com/questions/5553684/is-it-possible-to-programmatically-change-gwt-rpc-servlet-path -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-web-

Re: Deploy GWT app in Tomcat as ROOT

2011-12-07 Thread Kanagaraj M
That is what ServiceDefTarget is doing. You need to have servlet mapping as following greetServlet /greet -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To view this discussion on the web visit https://groups.google.com/d/

Re: Deploy GWT app in Tomcat as ROOT

2011-12-07 Thread Kanagaraj M
GreetingServiceAsync serviceAsync= (GreetingServiceAsync)GWT.create(GreetingService.class); ServiceDefTarget endpoint = (ServiceDefTarget) serviceAsync; String moduleRelativeURL = " http://localhost:8080/ "+ "greet"; endpoint.setServiceEntryPoint(moduleRel

Re: Deploy GWT app in Tomcat as ROOT

2011-12-07 Thread Xybrek
On Thursday, 08 December, 2011 01:45 PM, Kanagaraj M wrote: The problem is in your @RemoteServiceRelativePath("greet") The above always append(as prefix) your app name with 'greet', so it would expect a servlet mapping /mygwtapp/greet Try using ServiceDefTarget -- You received this message becau

Re: Deploy GWT app in Tomcat as ROOT

2011-12-07 Thread Xybrek
On Thursday, 08 December, 2011 01:45 PM, Kanagaraj M wrote: The problem is in your @RemoteServiceRelativePath("greet") The above always append(as prefix) your app name with 'greet', so it would expect a servlet mapping /mygwtapp/greet Try using ServiceDefTarget -- You received this message becau

Re: Deploy GWT app in Tomcat as ROOT

2011-12-07 Thread Kanagaraj M
The problem is in your @RemoteServiceRelativePath("greet") The above always append(as prefix) your app name with 'greet', so it would expect a servlet mapping /mygwtapp/greet Try using ServiceDefTarget -- You received this message because you are subscribed to the Google Groups "Google Web Too

Deploy GWT app in Tomcat as ROOT

2011-12-07 Thread Xybrek
Hi, I've been trying to deploy my gwt app in Tomcat server but I am having problem running the application rpc in the ROOT, I mean, if the app is deployed like: webapps/mygwapp I works, if the servlet defined in the web.xml is like this: greetServlet /mygwtapp/greet In this c