Ahhh. Ok. So something inside InputSource retains a reference to the
base uri which keeps the parser happy. Makes perfect sense.
We use xml includes a lot for our internal config files so knowing about
this is a big time saver.
Using the second form, with an InputSource, lets Struts say "t
On Fri, 21 Mar 2003, Jeff Caddel wrote:
> Date: Fri, 21 Mar 2003 05:38:54 -0700
> From: Jeff Caddel <[EMAIL PROTECTED]>
> Reply-To: Struts Users Mailing List <[EMAIL PROTECTED]>
> To: Struts Users Mailing List <[EMAIL PROTECTED]>
> Subject: Digester Best Pr
Any reasons for one of these approaches being better/worse than the other?
URL url =
Thread.currentThread().getContextClassLoader().getResource("/WEB-INF/test.xml");
InputStream input = url.openStream();
Digester digester = new Digester();
digester.parse(input);
URL url =
Thread.currentThread(
3 matches
Mail list logo