I’ve got a fairly large application, with many different struts mappings. To segment these mappings (using struts 1.1) the original developers had used
a System entity reference trick of xml to include them into the struts-config.xml without actually putting all of them in the same file (there would be hundreds of mappings if they had). Each individual included reference is just a snippet of XML, but when they’re parsed, they are included as if it were one file. The struts-config.xml looks like (I’ve trimmed it down):
<!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 eft-form SYSTEM “eft-form.xml”>
]>
struts-config>
<!– ========== Form Bean Definitions =================================== –>
<form-beans>
&eft-form;
</form-beans>
Is there any reason that the outline view doesn’t properly reference these elements? It’s valid XML and a trick often used in large Struts 1.1 applications (you had no choice, in Struts earlier than 1.2 there was no way to include other XML files…).
I’ve been very pleased with my overall experience with MyEclipse; but I would like to be able to use this mapping functionality… it would make my life so much easier!
Thanks,
Steve