Nicolas, would you mind adding an issue to the incubator issue tracker?
http://code.google.com/p/google-web-toolkit-incubator/issues/entry

On Wed, Feb 25, 2009 at 9:01 AM, Scott Blum <sco...@google.com> wrote:

> Ah, okay.  So it's not really a GWT problem.  CC'ing some of the incubator
> folks so they know about this use case.
>
>
> On Wed, Feb 25, 2009 at 11:47 AM, nicolas de loof <
> nicolas.del...@gmail.com> wrote:
>
>> Yes, servlet-api defines <url-pattern> to be [ somepath/* | *.somextension
>> ]
>> Using gwt logging in a web application with multiple modules require to
>> setup as many servlet mappings as modules, just because url-pattern
>> */logging is invalid. If gwt-incubator uses an extension based pattern like
>> "gwt.logging" I could have only one servlet mapping to match *.logging
>>
>> About your suggestion, I'd like to have the servelt at top level, but I
>> don't make the gwt-rpc calls myself : logging api does and uses module base
>> URL.
>>
>>
>> On Wed, Feb 25, 2009 at 5:42 PM, Scott Blum <sco...@google.com> wrote:
>>
>>> I'm not sure I understand the issue exactly.  Are you saying that web.xml
>>> does not support url patterns of the form "*/logging"?  Or are you saying
>>> that somehow this breaks when using GWT?
>>> Here's one idea: if you have a servlet that's shared between a bunch of
>>> different GWT modules, couldn't you configure the servlet at the "top
>>> level"?  Instead of putting it within moduleA/logging and moduleB/logging,
>>> you could just put it at /logging.  Then in your client code, instead of
>>> using the module base URL, use the host page base URL instead.
>>>
>>> On Wed, Feb 25, 2009 at 3:18 AM, nicolas.deloof <
>>> nicolas.del...@gmail.com> wrote:
>>>
>>>>
>>>> Hi,
>>>>
>>>> As a gwt-log user I'd like to use the logging API from gwt-contrib. I
>>>> notice this one has the same limitation I got with gwt-log : user
>>>> can't configure the server URL for RemoteLogger. As my application has
>>>> multiple GWT modules, each of them will result with a dedicated
>>>> logging URI : moduleA/logging, moduleB/logging, etc.
>>>> As the servlet <url-pattern> can't be configured to match "*/logging"
>>>> I need to configure a mapping for each of my modules.
>>>>
>>>> Any idea on how this could be improved ? Maybe by changing the default
>>>> "loggin" URI to some extension "gwt.logging" that a single <url-
>>>> pattern > could match ?
>>>>
>>>> Cheers,
>>>> Nicolas
>>>>
>>>>
>>>
>>>
>>>
>>
>> >>
>>
>

--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---

Reply via email to