Deploy GWT app in Tomcat as ROOT
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:
<servlet-mapping>
<servlet-name>greetServlet</servlet-name>
<url-pattern>/mygwtapp/greet</url-pattern>
</servlet-mapping>
In this case: http://localhost:8080/mygwtapp/greet works just fine.
However if I move the app inside the ROOT, that is renamed the folder
mygwtapp to ROOT
The applications RPC fails. If I change the the url mapping to just
<url-pattern>/greet</url-pattern>
It still wont work. Any ideas?
Thanks.
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home