tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tom Bednarz <l...@bednarz.ch>
Subject Re: web.xml Question
Date Tue, 22 Jan 2002 08:53:30 GMT
OK, I just wanted to know how this works. My development environment is not 
the same as an environment in a large company which usually has a lot of 
restrictions regarding accessing the internet.

I have made a simple test and unplugged the network cable of my 
workstation. TOMCAT still started without a problem. So it seems that the 
DTD's are somehow embedded in the source code.

Thanks for your information.

Thomas

At 22.01.2002 16:44, you wrote:
>i think in the same way.......
>there should be a necessary reason to do so, that we are missing, otherwise
>it seems illogical
>
>----- Original Message -----
>From: "Nikola Milutinovic" <Nikola.Milutinovic@ev.co.yu>
>To: "Tomcat Users List" <tomcat-user@jakarta.apache.org>
>Sent: Tuesday, January 22, 2002 3:56 PM
>Subject: Re: web.xml Question
>
>
> > > Usually the web.xml file of a web application starts with the following:
> > >
> > > <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application
> > > 2.3//EN"
> > >      "http://java.sun.com/dtd/web-app_2_3.dtd">
> > >
> > > This URL referst to the dtd file on SUN's server. I think most XML
>parsers
> > > like SAX need to read the dtd file to be able to parse the XML file.
> >
> > That would be a big problem. I'm no expert on the mnatter, but since
>web-app DTD is something no Servlet container can work without, couldn't the
>the container provide it to the parser? That URL is just an identifier,
>saying "yes, I'm build upon Sun's public DTD for web.xml". So, the container
>could tell the parser "look, here is that DTD, don't go fetching it".
> >
> > Maybe it's naive of me, but that's how I would do it. I've been using
>Tomcat for some time now and it never complained on web.xml. I'm behind a
>firewall and Tomcat is not even aware of that.
> >
> > Nix.
> >
>
>
>
>--
>To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
>Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


--
To unsubscribe:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands: <mailto:tomcat-user-help@jakarta.apache.org>
Troubles with the list: <mailto:tomcat-user-owner@jakarta.apache.org>


Mime
View raw message