On 11/28/05, Greg Reddin <[EMAIL PROTECTED]> wrote:
>
>
>      protected String registrations[] = {
>          "-//Apache Software Foundation//DTD Tiles Configuration 1.1//
> EN",
>          "/org/apache/tiles/resources/tiles-config_1_1.dtd",
>          "-//Apache Software Foundation//DTD Tiles Configuration 1.2//
> EN",
>          "/org/apache/tiles/resources/tiles-config_1_2.dtd",
>      };


Hmm ... Shale uses exactly this style for its own config resources,
including the leading slash on the URLs, and it seems to work fine when I
disconnect from the Internet.  I suspect there might be version specific
issues with URL resolution between JVMs in this area.

If taking away the leading slash leaves it still working in both jar'd and
unjar'd formats, I'd say "go for it".

Craig

Reply via email to