tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <>
Subject Re: What are AddType & AddHandler?
Date Thu, 27 Jul 2000 17:41:29 GMT wrote:

> These two directives are not documented anywhere that I could find (not in the
> User Guide, in particular), although they were included in the automatically
> generated (by Tomcat 3.1) tomcat-apache.conf file. Specifically:
>    AddHandler jser-servelt .jsp
>    AddType test/jsp .jsp
>    AddType etc etc [for every servlet/JSP context]
> This looks suspiciously like the kind of stuff that now belongs in web.xml, not
> tomcat.conf. Is it a remnant from pre-1.1 days? Please clarify...

These are directives that go into the *Apache* configuration file
(httpd.conf), so
you'd do well to look at the Apache server documentation at

> Also, is there a server.xml DTD somewhere?

No ... and in general it won't be possible to create one because the
elements and
attributes that are understood by Tomcat's internal objects as
server.xml is read
can be very dynamic.

> Thanks beforehand,
> Olivier Lefevre

Craig McClanahan

> PS: Sorry for the ridiculous disclaimer.
> This message contains confidential information and is intended only
> for the individual named.  If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail.  Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses.  The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission.  If
> verification is required please request a hard-copy version.  This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.

And they used to complain when *users* added a signature file longer
than the
message it was attached to :-)

View raw message