Wednesday, May 12, 2010

Re: Running gwt app with custom context root

The problem was solved and solution is very simple, since gwt plugin
uses jetty as web container just put jetty-web.xml in the WEB-INF
folder.
This file specifies the context root of application.

Content of jetty-web.xml:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN"
"http://jetty.mortbay.org/configure.dtd">
<Configure class="org.mortbay.jetty.webapp.WebAppContext">

<Set name="contextPath">/myapp</Set>

</Configure>

thx 4 all :)
Antonio.

--
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-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate