Wednesday, August 29, 2012

GWT & Mobile App in Same WAR File

Hi All,

We are developing a GWT application for desktop browsers that is deployed to a Tomcat 7 container as a WAR file.
We are also developing a companion mobile application that is written in JavaScript and JQuery.

We would now like to embed both applications into the same WAR file so that the appropriate version is served based on the user-agent property of the browser.

For example, if a user hits '' from a desktop browser, they should be served the GWT application and if they hit it from mobile Safari on an iPhone, they should get the JavaScript/JQuery application.

Can anyone shed some light on how we might be able to accomplish this?

We're fairly new to GWT and web programming so I apologize if the question is a bit vague or non GWT specific.


You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

No comments:

Post a Comment