On 2/2/06, Gary VanMatre <[EMAIL PROTECTED]> wrote:
>
>
> >From: Ryan Wynn <[EMAIL PROTECTED]>
> >
> > How would I reference a clay config file from within another config
> file?
> >
>
> Ya, that is a good question.  I thought I knew how to do this but had
> never really tried.  You see this trick in the RI faces config.  I don't
> think the digester is configured correctly.  It's not able to resolve the
> location of the included files.


For this to work, you need to use the Digester.parse() method that takes an
InputSource rather than something like an InputStream, so that the parser
knows how to resolve relative URLs.  The use of Digester in Struts 1.x, as
well as Commons Chain, work this way and are successfully able to deal with
this sort of thing.

Craig

Reply via email to