Maya,
would you please stop posting your questions simultaneously to both the
Struts-user and Struts-dev mailing lists. based on my experience, one copy
of your question is usually sufficient to garner an answer and would
appreciate not getting the additional mail.
thanks,
Pat Ludwig
> -----Original Message-----
> From: mmuchnik [mailto:mmuchnik]On Behalf Of Maya Muchnik
> Sent: Tuesday, February 13, 2001 12:37 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: web-app_2.2.dtd - how get a local copy?
>
>
> Thank you very much. You are right, web.dtd in webserver.jar under
> org/apache/tomcat/deployment directory.
>
>
> "Craig R. McClanahan" wrote:
>
> > Maya Muchnik wrote:
> >
> > > Hello, all,
> > >
> > > Maybe this question for Tomcat developers.
> > >
> >
> > That's true, although there is overlap here ... :-)
> >
> > >
> > > As you know we are all using web.xml file for a servlet
> container. This
> > > file has the following lines :
> > >
> > > <!DOCTYPE web-app
> > > PUBLIC "-//Sun Microsystems, Inc.//DTD Web
> Application 2.2//EN"
> > > "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
> > >
> > > Every time when you start Tomcat, for example, you are
> getting the file
> > > web-app_2.2.dtd from java.sun.com site. Tomcat does not
> have this file
> > > itself.
> >
> > Check inside "webserver.jar" -- you'll see a resource file named
> > "org/apache/tomcat/resources/web.dtd" that contains this
> text. Otherwise,
> > Tomcat would not be able to start and run on an offline
> computer. Tomcat
> > registers this resource file within the XML parser it uses,
> in effect saying
> > "when you see this public identifier, use my local copy
> instead of going out
> > across the network."
> >
> > > When I have got it from java.sun.com, the file has the following
> > > a Copyright:
> >
> > That's an oversight when the original Tomcat code was published.
> >
> > >
> > > Maya
> >
> > Craig