Hello,
For giving your init parameter and read a default configuration file in
tomcat 3.2.1 you could patch the file
/tomcat-src/src/share/org/apache/tomcat/context/WebXmlReader.java
and recompile your tomcat.
Take attention to the private void setDefaults( Context ctx ) method
(for init parameters) and private void readDefaultWebXml( Context ctx )
for reading the default configuration file.
Note that this modifications are unsupported but that they are commented
in the source code.
By the way it is possible to made the same modification with Cocoon for
reading only one configuration file for the entire website.
regards
> Animesh Chaturvedi - US wrote:
>
> I want to set the jspCompilerPlugin init parameter to the JSP compiler
> servlet. In 3.2.1, it seems that the global conf/web.xml is no longer
> read. So my question is that if the jsp servlet is defined by default
> for each context, then what syntax and file do I use to define
> init-parameters? Any documention you can point me to or any help you
> might provide is most welcome!
>
> I tried setting the jspCompilerPlugin but the debug print statements I
> put return value null. The same thing when done with Tomcat3.1.1
> returns the value I initialized jspCompilerPlugin to.
>
> Animesh
--
[EMAIL PROTECTED]
INRIA - 2004 route des lucioles - BP 93 Tel: (33/0) 4 92 38 50 41
06902 SOPHIA-ANTIPOLIS cedex (France) Fax: (33/0) 4 92 38 76 02