Hi Magnus,

The exception is thrown by Struts' engine, not Tomcat.

There's a parameter for the ActionServlet you can set in the web.xml to turn off the DTD validation:

  <servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
     <init-param>
      <param-name>validating</param-name>
      <param-value>false</param-value>
    </init-param>
    ....
 
Let me know if the problem persists.

regards,
--
John


At 01:04 pm 27-09-2001 +0200, you wrote:
I'm trying to use Camino with Struts(latest nightly build) and Tomcat 4. It seems to require the doctype to be included in the struts-config.xml to work.
 
with this included it works just fine:
 
<!DOCTYPE struts-config PUBLIC
          "-//Apache Software Foundation//DTD Struts Configuration 1.1//EN"
          ">

 
otherwise Tomcat returns a XML parsing error at startup.
 
Is there any way to get this automatically included in the struts-config.xml file that Camino produces?
 
Regards /Magnus

--
John Yu                       Scioworks Technologies
e: [EMAIL PROTECTED]         w: +(65) 873 5989
w: http://www.scioworks.com m: +(65) 9782 9610

Reply via email to