Skip to Main Content
Tomcat: The Definitive Guide, 2nd Edition
book

Tomcat: The Definitive Guide, 2nd Edition

by Jason Brittain, Ian F. Darwin
October 2007
Intermediate to advanced content levelIntermediate to advanced
496 pages
16h 50m
English
O'Reilly Media, Inc.
Content preview from Tomcat: The Definitive Guide, 2nd Edition

context.xml

Just as the conf/web.xml file is the place to add global settings to all webapp web.xml files, the conf/context.xml file is the place to add global settings for all context XML fragment files. The format of this file is exactly the same as the format of other context XML fragment files. It should contain one Context element and potentially elements nested within Context.

This file should be useful in cases where you need to add a portion of configuration to all webapps that run in your Tomcat instance. You can put that configuration in just conf/context.xml and maintain it centrally.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Apache Tomcat 7

Apache Tomcat 7

James Goodwill, Aleksa Vukotic
Java Servlet Programming, 2nd Edition

Java Servlet Programming, 2nd Edition

Jason Hunter, William Crawford

Publisher Resources

ISBN: 9780596101060Supplemental ContentErrata