After you compile your project, go into the war folder and zip up the contents of that folder. Name the zip file something.war where something will be what you want your url to be. So, if you are deploying to www.milamade.com, and named your war file dtrac.war, your app would be available at www.milamade.com/dtrac. Now, copy your war file to the webapps folder of your Tomcat server. The first time you do that, Tomcat will automatically extract it and create the necessary folder for you. When redeploying, you will still copy the new war file to the same location (overwriting the old one), but then you will need to run Tomcat manager and choose to reload the app.
HTH, Chad Bourque www.milamade.com On Nov 9, 5:52 am, "Pablo G.F" <blay...@gmail.com> wrote: > Hello: > > I want to deploy a GWT project on a Tomcat server. As I´ve read, all I > have to do is compile the GWT project (by the option in Eclipse, for > example) and then (the app name is menutemplate): > > - Create a directory on webapps (in the Tomcat path) with name, for > example, myapp. > - Copy war/menutemplate directory (output of compilation) into myapp. > - Copy menutemplate.html and menutemplate.css into my app. > > Doing this, my app works, but If i add a service with a rpc call it > doesn´t. I suppouse I have to specify the servlets in the web.xml > which is on WEB-INF, but when I copy the WEB-INF into myapp directory, > then I cannot run the application. > > Have I made any mistake during the process? or have I forgotten any > step? > > 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-tool...@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.