If you want to use a xml struts config file for each of the modules, you can
solve your problem by retrieving a common form beans
xml file, on each xml file. (you can apply the same thing for other elements).

struts-public-config.xml
<?xml version="1.0" ...?>
<!DOCTYPE struts-config ... [

<!ENTITY common-formbeans SYSTEM "common-form-beans.xml">

]>
<struts-config>
<form-beans>
  <!-- common form beans -->
  &common-formbeans

  <!-- specific form beans -->
  <form-bean>
      ...
  </form-bean>
</form-beans>

 ...
</struts-config>

struts-private-config.xml
<?xml version="1.0" ...?>
<!DOCTYPE struts-config ... [

<!ENTITY common-formbeans SYSTEM "common-form-beans.xml">

]>
<struts-config>
<form-beans>
  &common-formbeans

  <!-- specific form beans -->
  <form-bean>
      ...
  </form-bean>
</form-beans>

 ...
</struts-config>

common-form-beans.xml
<form-bean>
  <form property ...
</form-bean>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to