Thanks a lot! Somehow that had not worked some days ago, but now it does. ;-)
On 4 Mai, 19:08, Sumit Chandel <[email protected]> wrote: > Hi Ole, > > In GWT 1.5.3, you don't need to define the servlets a second time in the > web.xml file generated and used by the embedded Tomcat server in hosted > mode. You should instead define your servlet targets in your GWT module XML > file. There are <servlet> tags defined in the module XML that you can use to > define your servlets and have them automatically copied over into the > generated web.xml file for hosted mode. > > For more details, check out the documentation linked below: > > http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=goog... > > Hope that helps, > -Sumit Chandel > > On Wed, Apr 29, 2009 at 12:18 AM, olel <[email protected]> wrote: > > > Hi, > > > I have a question concerning the web.xml files in a GWT 1.5.3 > > application. As we are using some none-RPC servlets we need to define > > them in the web.xml. > > > As far as I understand it there are two web.xml files. One in "src\main > > \webapp\WEB-INF\" and one in "tomcat\webapps\ROOT\WEB-INF". The first > > one is used when the WAR is created by maven 2 and the second one is > > used for the hosted mode. > > Unfortunately we therefore have to define the servlets in both files > > which is obviously error-prone. Is there a way to simplify that or am > > I doing something wrong? > > > Thanks in advance, > > Ole --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
