Hello

I am using Struts 1.1 and tried to separate my struts-config.xml into
several entities as it is described by James Holmes (see below). However it
does not work because the "entity xml files" are not found, though they are
in the same directory as struts-config.xml. After tracing I found out, that
these files are looked up in the tomcat\bin folder rather in the web-inf
directory of the webapp. So how can I make this work without setting
absolute paths?!

thx,
Dirk


<?xml version="1.0" encoding="UTF-8"?>

 <!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 form_beans        SYSTEM "form_beans.xml">
     <!ENTITY forwards  SYSTEM "forwards.xml">
     <!ENTITY actions   SYSTEM "actions.xml">

 ]>

 <struts-config>

     <!-- source in <form-bean> defintions -->
     &form_beans;

     <!-- source in <forward> defintions -->
     &forwards;

     <!-- source in <action> defintions -->
     &actions;

 </struts-config>


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

Reply via email to