David,

Thank you for replying, but your answer does not solve my problem.  To
be clear, I have some non-gwt web pages that I need to navigate to, so
in my application I am navigating between plain old html web pages and
gwt pages (unlike what you described where it appeared your entire web
application lived inside gwt).

The easiest solution to the problem I described would be to find a way
for gwt:run to add a /myproject/ in front of all the pages and gwt
code under war.  I.e. to get gwt:run to behave just like tomcat in the
way that tomcat prefixes all war urls with the name of the war.

I have seen some references to calling gwt:run in a "tomcat" mode, but
I did not see in any of these examples where a "/myproject/" prefix
could be specified.

In all the ways I can think of to resolve this, it will just result in
a /myproject/myproject/ url showing up in tomcat which is of course
not what I want.  I need a url prefix that is just constrained to
gwt:run.

Is there a solution?

Thanks,
Ken

On Dec 2, 4:03 pm, David Durham <[email protected]> wrote:
> >>http://localhost:8080/myproject/com.foo.bar.App/App.html
>
> >> When "/myproject/" appears in Tomcat but not in mvn gwt:run, it makes
> >> testing a pain because any web navigation links (like Window.open("/
> >> index.html", "_self", ""); ) will work in mvn gwt:run but break in
> >> tomcat (since tomcat would require the URL to be "/myproject/
> >> index.html).
>
> > Think your problem has to do with configuring the gwt mojo.
>
> Also, the gwt mojo has a mailing list.
>
> http://mojo.codehaus.org/gwt-maven-plugin/mail-lists.html

--

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