tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fergus McMenemie <fer...@twig.me.uk>
Subject RE: Setting listings=true on a per context basis
Date Tue, 07 Dec 2010 14:51:55 GMT
Charles,

So the <servlet> declaration goes in tomcat/conf/web.xml
can the rest of the stuff stay in 
   tomcat/conf/Catalina/localhost/vendorAdocs.xml ?

Thanks Fergus.

On Tue, 7 Dec 2010 08:36:13 -0600, "Caldarale, Charles R"
<Chuck.Caldarale@unisys.com> wrote:
>> From: Fergus McMenemie [mailto:fergus@twig.me.uk] 
>> Subject: RE: Setting listings=true on a per context basis
> 
>> Other than reading the 300 page servlet spec is there 
>> a quicker way to accomplish what I want.
> 
> My response told you exactly where to make the updates.
> 
> Regardless, the spec is an easy read (at least the 2.5 version is; 3.0
is
> a bit more difficult).
> 
>> Further, are you saying that use of 
>> catalina/localhost/vendoraDocs.xml
>> is a tomcat only solution.
> 
> That file, and its contents, are unique to Tomcat.  Every container
vendor
> has their own container-specific mechanism for configuration items that
are
> outside the spec.  This is exactly why <servlet> mappings don't go in
> there, but rather in the spec-defined location.
> 
>> How do I best standup a set of vendor supplied HTML docs and
>> files for browsing through tomcat. It is not worth setting up
>> IIS for, as we already using tomcat for other purposes.
> 
> What you're doing is fine; just put the <servlet> declarations in the
> right place - as documented in the earlier response.  Create a
> WEB-INF/web.xml file in the document tree and have at it.
> 
>  - Chuck
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
> MATERIAL and is thus for use only by the intended recipient. If you
> received this in error, please contact the sender and delete the e-mail
and
> its attachments from all computers.

-- 
======================================================================
Fergus McMenemie                Email:fergus@twig.me.uk
======================================================================

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message