we have the same problem
so we just turned off the
dtd validation in the web.xml

<servlet>
    <servlet-name>action</servlet-name>
    <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
  ...
    <!-- set to false to disable dtd validation -->
    <init-param>
     <param-name>validating</param-name>
     <param-value>false</param-value>
    </init-param>

  </servlet>

_\|/_______________________________
  generation-d development
  andrew b forman 

> -----Original Message-----
> From: Witt, Mike (OH35) [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 24, 2002 8:38 AM
> To: Struts Users Mailing List
> Subject: RE: DTD validation
> 
> 
> You can have a public and a system doctype tag.  Though, I've 
> found problems
> with this because our production machine is a Solaris server 
> using Iplanet,
> and I am developing on a NT box with tomcat.  So I'm always doctoring the
> tags to make them work on my local box and then undoctoring them before
> checkin.
> 
> Mike
> 
> -----Original Message-----
> From: Jin Bal [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, January 24, 2002 5:13 AM
> To: Struts Users Mailing List
> Subject: DTD validation
> 
> 
> How do I cleanly switch off or force struts and the web.xml to 
> validate the
> dtds that are on my local machine as opposed to trying to resolve the url
> declared in the xml file (which sometimes can be unavailable).
> 
> I've commented out the doctype declaration as a stop gap measure but this
> isn't an ideal situation
> 
> Thanks
> 
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

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

Reply via email to