Hi,
Ignore the "tomcat" directory that is generated by GWT. That is generated
when running in hosted mode, as it starts up an embedded instance of Tomcat
as a test server.

Deploy the application as you normally would - take your java classes and
put them under WEB-INF/classes, and take the contents of the www directory
and dump them wherever static resources should go in a Tomcat war. Ignore
the tomcat directory.

For what it's worth, GWT 1.6 is more J2EE friendly in the sense that it
dumps all of your java classes and static resources in a folder that matches
exploded-war format.


Rajeev

On Fri, Jun 5, 2009 at 3:11 AM, bhomass <[email protected]> wrote:

>
> I have worked with servlet apps on Tomcat for a long time, and I
> thought I know all about war files.
>
> But I am confused about how GWT 1.5 generates a www directory and a
> tomcat directory. so if I zip up all my java classes and put them
> under the WEB-INF/classes directory under tomcat's webapps/Root, where
> do I put all the static files from the www directory? aren't they
> suppose to go the webapps/Root also?
>
> would it be ok if I put them under some other context different from
> Root?
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to