rajesh
rajesh

Reputation: 111

Deploying GWT in tomcat

i am new 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 ......

Upvotes: 4

Views: 10516

Answers (3)

Adam
Adam

Reputation: 5599

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

Upvotes: 0

Steve
Steve

Reputation: 31

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.

Upvotes: 3

AlexR
AlexR

Reputation: 115388

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

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

Upvotes: 4

Related Questions