THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Sure, that's what the <include> element is for. Most struts.xml
files already have one or more include elements:
Code Block | ||||
---|---|---|---|---|
| ||||
<xwork><struts> <include file="struts-default.xml"/> <include file="config-browser.xml"/> <package name="default" extends="struts-default"> .... </package> <include file="other.xml"/> </xwork>struts> |
The first include
element tells the framework to load the struts-default.xml
, which it wil find in the struts2.jar
file. The struts-default.xml
file defines the "standard" interceptor and result definitions.
...