开发者

Deploying GWT in tomcat

i am n开发者_如何学编程ew to gwt and i am very much satisfied for my needs but my problem is how can i deploy and run it in my tomcat webserver and i tried googleing but cant get any success in that can any one explain how to deploy it with some samples ......


Read this article: http://code.google.com/webtoolkit/doc/latest/DevGuideDeploying.html

The webaps directory can be found directly under your tomcat home.


I figured I wanted to put something on here because I kept digging in the wrong direction. Everyone talks about how to copy this here copy that there. The solution for me was extremely simple, and not nearly as complicated as these pages try to make them out to be.

If you are using Eclipse with GWT 2.4: Right click on the project, select Google -> GWT Compile Afterwards zip the contents of the war directory (rename to .war) and deploy. Works great for Tomcat 6, no issues so far.


I use this plugin to generate JAR file: https://code.google.com/p/gwt-project-export-wizard/.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜