Hello emdafe, Which parameters are you trying to configure in your web.xml? If you just need to define some servlets, GWT hosted mode has the option to use an embedded Tomcat server, so for early stages of development, you can define servlets in the module XML file that will automatically get picked up by the embedded Tomcat server while testing in hosted mode.
Alternatively, if your web.xml property configuration is more complex, you can use hosted mode with the -noserver option so that you can use your own server in hosted mode. You can read more about how to set that up at the link below: Hosted mode with -noserver: http://code.google.com/docreader/#p=google-web-toolkit-doc-1-5&s=google-web-toolkit-doc-1-5&t=FAQ_HostedModeNoServer Hope that helps, -Sumit Chandel On Thu, Oct 2, 2008 at 9:22 AM, obesga <[EMAIL PROTECTED]> wrote: > > Quick method: > just do a new testing servlet that has the contents on the file > staticaly defined , or read a file staticaly defined on code. > > When you have your client code tested, then move the html/js code to > the real server. > > Alternate method: > > Search documentation and forums, there's a way to alter the embeed > tomcat webapp properties.... but's a little tricky. > > Oskar > > On 1 oct, 19:14, emdafe <[EMAIL PROTECTED]> wrote: > > Hi, > > I am new with gwt; i built an application and at start up i must to > > read a configuration file. Before GWT i used to put the path of > > configuration file in a parameter inside web.xml. If i run gwt in > > hosted mode it doesnt run web.xml so i cant read configuration > > parameter and cant test application!! How i can set the configuration > > file path ?? > > > > thank you > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
