Can you post the contents of your web.xml file?

On Fri, May 15, 2009 at 6:03 AM, Raman <rama...@gmail.com> wrote:

>
> http://code.google.com/webtoolkit/doc/1.6/DevGuideOrganizingProjects.html
>
> says the following about <servlet> tag is the module.xml
>
> "NOTE: as of GWT 1.6, this tag does no longer loads servlets in hosted
> mode, instead you must configure a WEB-INF/web.xml in your war
> directory to load any servlets needed."
>
> What I understand from this is that, I no longer need to supply the
> <servlet> tag in the module XML. Instead I can provide the mappig in
> war\WEB-INF\web.xml.
>
> But this does not work for me. If I remove the servlet tag from the
> module XML, my servlets are not hosted in hosted mode.
>
> I really do not want the servlet mapping in the module XML because
> these servlets are used only for JUnit tests. They are not shipped.
> Having to specify the mapping in module XML, I have to modify the
> module XML after I run the tests and before shipping.
>
> Any idea?
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to