I am doing exactly that:

<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
          "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd";[
<!ENTITY datasources SYSTEM "struts-datasources-config.xml">
<!ENTITY plugins SYSTEM "struts-plugins-config.xml">
]>
<struts-config>
<!-- ==================================== Data Source Configuration -->
  &datasources;
<!-- ======================================== Form Bean Definitions -->
....

The key is to use the <!ENTITY> tag. "<!ENTITY datasources SYSTEM
"struts-datasources-config.xml">"

Hope this helps.

-- Derek

----- Original Message -----
From: "Christopher Cheng" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, November 12, 2002 11:31 AM
Subject: How do I split struts-config.xml without using subapps


My struts-config.xml is getting very long. Is it possible to split that into
multiple files without using subapps?

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>

Reply via email to