Can some one post an example on how to do this.
I would love it if my app's web.xml could "include" another xml file

This is what I have tried with no luck

  <!DOCTYPE web-app
      PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
      "http://java.sun.com/dtd/web-app_2_3.dtd";
  [
   <!ENTITY section1 SYSTEM "/WEB-INF/section1.xml">
  ]>

  &section1;

various paths to section1.xml did not change the error message:

2003-01-08 12:24:39 ContextConfig[] Parse error in application web.xml
java.io.FileNotFoundException
        at org.apache.naming.resources.DirContextURLConnection.getInputStream(Unknown
Source)


thanks

--- Bill Barker <[EMAIL PROTECTED]> wrote:
> You can use XML Entities to do it.  There isn't a specific tag to include a
> file.
> 
> "Matthew Boeckman" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> > I'm wondering if tomcat-4.1.12 supports include files, similair to
> > apache in the server.xml file?
> >
> > I have to support dozens of virtual hosts, and wanted to break each's
> > config out into their own include.
> > --
> > Matthew Boeckman (816) 777-2160
> > Manager - Systems Integration Saepio Technologies
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to