On Thu, 23 Jan 2003, Lukasz Szelag wrote:
> Date: Thu, 23 Jan 2003 15:38:02 -0500 > From: Lukasz Szelag <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Context elements in individual files > > Hello, > > Tomcat (4.1) documentation > (http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/context.html ) > says that Context elements that are defined inside a Host element in > server.xml can be stored in individulal files (with an ".xml" extension) > in the appBase directory for a Host. Despite that I noticed the > following problems: > > 1) It is not possible to store the Context for the default Web > application of a Host in a separate file. That Contaxt has to be defined > in server.xml. > Please submit an enhancement request to the bug tracking system: http://nagoya.apache.org/bugzilla/ > 2) If a Context is stored in a separate file and contains the > nested Parameter elements they seem to be ignored and corresponding > values are not available for servlets > (getServletContext().getInitParameter()). If the same Context definition > is moved to server.xml everything works fine. > Please submit a bug report to the bug tracking system: http://nagoya.apache.org/bugzilla/ :-) > Could anyone confirm the above behavior when using Tomcat 4.1? > > Thanks, > Lukasz Szelag > > Craig -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>