Repository: struts-site Updated Branches: refs/heads/master d9b02b9cc -> c758d1138
Cleans up exported page Project: http://git-wip-us.apache.org/repos/asf/struts-site/repo Commit: http://git-wip-us.apache.org/repos/asf/struts-site/commit/e28a4a6a Tree: http://git-wip-us.apache.org/repos/asf/struts-site/tree/e28a4a6a Diff: http://git-wip-us.apache.org/repos/asf/struts-site/diff/e28a4a6a Branch: refs/heads/master Commit: e28a4a6a6522605ad61a239d6fe252780a09b061 Parents: d9b02b9 Author: Lukasz Lenart <lukaszlen...@apache.org> Authored: Mon Jul 31 15:28:49 2017 +0200 Committer: Lukasz Lenart <lukaszlen...@apache.org> Committed: Mon Jul 31 15:28:49 2017 +0200 ---------------------------------------------------------------------- source/core-developers/include-configuration.md | 32 +++++--------------- 1 file changed, 8 insertions(+), 24 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/struts-site/blob/e28a4a6a/source/core-developers/include-configuration.md ---------------------------------------------------------------------- diff --git a/source/core-developers/include-configuration.md b/source/core-developers/include-configuration.md index 2a3dbf1..9d28fba 100644 --- a/source/core-developers/include-configuration.md +++ b/source/core-developers/include-configuration.md @@ -5,16 +5,10 @@ title: Include Configuration # Include Configuration -A popular strategy is "divide and conquer"\. The framework lets you apply "divide and conquer" to configuration files using the - -~~~~~~~ -<include .../> -~~~~~~~ - element\. - - -~~~~~~~ +A popular strategy is "divide and conquer". The framework lets you apply "divide and conquer" to configuration files +using the `<include .../>` element. +```xml <!DOCTYPE struts PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN" "http://struts.apache.org/dtds/struts-2.0.dtd"> @@ -25,19 +19,9 @@ A popular strategy is "divide and conquer"\. The framework lets you apply "divid <include file="/util/POJO.xml"/> <include file="/com/initech/admin/admin-struts.xml"/> </struts> +``` +Each included file must be in the same format as `struts.xml`, including the `DOCTYPE`. The include files can be placed +anywhere on the classpath and should be referred to by that path by the "file" attribute. -~~~~~~~ - -Each included file must be in the same format as - -~~~~~~~ -struts.xml -~~~~~~~ -, including the - -~~~~~~~ -DOCTYPE -~~~~~~~ -\. The include files can be placed anywhere on the classpath and should be referred to by that path by the "file" attribute\. - -In a large\-team environment, the include files can be used to organize different modules of the application that are being developed by different team members\. +In a large-team environment, the include files can be used to organize different modules of the application that are +being developed by different team members.