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 2017/05/05 22:55:17 UTC
[Bug 61076] New: Context attribute altDDName not Documented
https://bz.apache.org/bugzilla/show_bug.cgi?id=61076
Bug ID: 61076
Summary: Context attribute altDDName not Documented
Product: Tomcat 7
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Documentation
Assignee: dev@tomcat.apache.org
Reporter: gsexton@mhsoftware.com
Target Milestone: ---
I was looking for functionality that would allow me to deploy one physical
directory with two different deployment descriptors. The apps essentially use
the same code base, but expose different pages, URLs and resources. After
looking through the source code, I found the altDDName attribute defined in
j.o.a.c.startup.ContextConfig. This does exactly what I need. I added the
attribute to my context.xml, and my application deployed as expected. Here's
what I would propose for documentation for config/context.html#Attributes:
altDDName
The absolute path (or URL) to the deployment descriptor for this context. This
overrides the default deployment descriptor name /WEB-INF/web.xml. Specifying
the alternate deployment descriptor name allows you to deploy more than one
application from one path.
--
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 61076] Context attribute altDDName not Documented
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=61076
Mark Thomas <ma...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Docs updated. Thanks for the report.
This has been fixed in:
- 9.0.x for 9.0.0.M22 onwards
- 8.5.x for 8.5.16 onwards
- 8.0.x for 8.0.45 onwards
- 7.0.x for 7.0.79 onwards
--
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