On 14 août, 01:43, Dobes <[email protected]> wrote:
> We're trying to get our app to run in Jetty instead of using -noserver
> all the time and we've managed to eliminate most of the dependencies
> on glassfish (our production environment) when running in Jetty.
> However, one requirement of the application currently is that the WAR
> file be deployed at the path /app - whereas GWT seems to be deploying
> the application at the root. Is there any way to tell GWT to expose
> the WAR file at the path localhost:8888/app/ ?
Can't you use GWT.getHostPageBaseURL() (client-side) /
ServletContext#getContextPath() (server-side) instead of hard-coding "/
app"?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---