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: [email protected]
          Reporter: [email protected]
  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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to