You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2018/09/22 16:50:32 UTC
[Bug 62755] New: Add a Setter to Tomcat class to Allow Opting Out of
Default Web Xml Config
https://bz.apache.org/bugzilla/show_bug.cgi?id=62755
Bug ID: 62755
Summary: Add a Setter to Tomcat class to Allow Opting Out of
Default Web Xml Config
Product: Tomcat 9
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: isapir@apache.org
Target Milestone: -----
org.apache.catalina.startup.Tomcat.addWebapp() always adds the default web.xml
config settings, e.g. the default servlet and the JSP servlet. Calling
addWebapp() is a very common method to embed Tomcat in other systems, but it is
those systems where the default config is many times not required or not
desired.
Adding a setter to the Tomcat class to allow the user to opt-out of adding the
defaults will allow users to configure the system according to their needs,
either by adding the required configurations programmatically, or by using
web.xml deployment descriptors.
See also discussion at
https://www.mail-archive.com/users@tomcat.apache.org/msg130097.html
I plan to add this myself.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org
[Bug 62755] Add a Setter to Tomcat class to Allow Opting Out of
Default Web Xml Config
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62755
Igal Sapir <is...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Igal Sapir <is...@apache.org> ---
Added in git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1841692
13f79535-47bb-0310-9956-ffa450edef68
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org