I haven't written a web app with servlets in about a year and that was JSF on GlassFish :-) but I seem to remember that I used to define a servlet for <domain:port>/ as well as <domain:port>/<OtherValidContext> and that worked. I know how to get around this if its not possible due to the Spec... but if that is part of the spec, wtf were they thinking? :)
--Richard
________________________________
From: Hubert Iwaniuk <neotyk_at_kungfoo.pl>
To: dev_at_grizzly.dev.java.net
Sent: Wednesday, April 22, 2009 4:32:35 PM
Subject: Re: grizzly context loading
Hi Richard,
Are you talking about situation where you have multiple servlets registered under different contexts out of witch one is "/"? And only one registered under "/" is called for all requests?
If yes this kind of setup is only supported for now in OSGi Http Service, and Mapper just managed to bite us again.
Don't really know what spec says about this kind of setup, since "most" servlet containers will behave like you described.
Depending on spec we could try porting osgi mapper to GWS, problem here would be probably to keep up with current performance.
HTH,
Hubert
On Wed, Apr 22, 2009 at 10:11 PM, Richard Corsale <igf1_at_yahoo.com> wrote:
ok :) this is another one that I just noticed. if I define a servlet context of"/" all queries , even ones addressed to other contexts that are valid are calling the one loaded at "/" is this normal? I'm using 1.9.9
----- Original Message ----
From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
To: dev_at_grizzly.dev.java.net
Cc: users_at_grizzly.dev.java.net
Sent: Tuesday, April 21, 2009 5:56:17 PM
Subject: Re: Releasing Grizzly 2.0 M1 tomorrow
And the History of Grizzly:
http://weblogs.java.net/blog/jfarcand/archive/2009/04/grizzly_200m1_r.html
Make noise!!!
-- Jeanfrancois
charlie hunt wrote:
> Cool!
>
> I'm just about ready to start hacking away with it. :-)
>
> charlie ...
>
> Oleksiy Stashok wrote:
>> http://blogs.sun.com/oleksiys/entry/grizzly_2_0_m1_release
>>
>> to be continued...
>>
>> On Apr 21, 2009, at 21:49 , Jeanfrancois Arcand wrote:
>>
>>> Salut,
>>>
>>> uploading the release now (may take time). Time to start the blog
>>> machine!!
>>>
>>> -- Jeanfrancois
>>>
>>> Oleksiy Stashok wrote:
>>>> Hi,
>>>> tomorrow we're going to make first Grizzly 2.0 milestone release,
>>>> which will contain framework, rcm, http and servlet modules.
>>>> Please let us know, if you have any particullar questions or comments.
>>>> Thanks.
>>>> WBR,
>>>> Alexey.
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
For additional commands, e-mail: dev-help_at_grizzly.dev.java.net