https://issues.apache.org/bugzilla/show_bug.cgi?id=48979
Summary: defaultContextXml not set by Embedded.createContext
Product: Tomcat 6
Version: 6.0.26
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Embedded.createContext returns a StandardContext but it doesn't configure
defaultContextXml on it. The result is that all mapping that are defined in
conf/web.xml are not available (like *-jsp) and need to be redefined in custom
web.xml. This forces having references to Tomcat internal classes in own
web.xml what is not good.
I think that conf/web.xml should be packaged in catalina jar and Embedded
should configure it defaultContextXml with it on the created contexts.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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]