On 19 mai, 07:38, Raman <rama...@gmail.com> wrote:
> I think I missed an important point in my earlier post.
> The servlets ARE hosted correctly when I run in hosted mode.
> But they do not get hosted when I run my junit tests.
[...]
> When I run the junit tests for my module, this web.xml is not
> considered at all.
> But I add a servlet tag to my module.xml as
> <servlet path="/eventd" class="MyPackage.EventServlet" />
> the servlet gets hosted and my unit tests can successfully connect to
> the servlets.
> I can even remove web.xml and still it would work fine.
>
> What I suspect is that there is some difference in the way servlet
> mapping are to be specified while running junit tests.

Actually, AFAICT, unit tests use the GWTShell, not the HostedMode;
hence this difference.
--~--~---------~--~----~------------~-------~--~----~
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