You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Matthew Boeckman <ma...@saepio.com> on 2003/01/07 22:38:57 UTC

include files in server.xml?

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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: include files in server.xml?

Posted by paul miller <pa...@yahoo.com>.
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 <wb...@wilshire.com> wrote:
> You can use XML Entities to do it.  There isn't a specific tag to include a
> file.
> 
> "Matthew Boeckman" <ma...@saepio.com> wrote in message
> news:3E1B48F1.9040600@saepio.com...
> > 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:   <ma...@jakarta.apache.org>
> For additional commands, e-mail: <ma...@jakarta.apache.org>
> 


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

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: include files in server.xml?

Posted by Bill Barker <wb...@wilshire.com>.
You can use XML Entities to do it.  There isn't a specific tag to include a
file.

"Matthew Boeckman" <ma...@saepio.com> wrote in message
news:3E1B48F1.9040600@saepio.com...
> 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:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>