Hi,

We're using Tomcat 4.1 in a production environment and have modified it to
include hooks for a JSP preprocessor.  Would you be interested in merging
this back into the main codebase?

We've created a Preprocessor interface and added code to
org.apache.jasper.compiler.ParserController to optionally instantiate an
implementation of the interface (specified in web.xml) and pass the input
JSP through it before compiling.

The preprocessor that we have implemented (which I do not propose releasing
because it is specific to our coding practices):
  - removes tracing code
  - provides an 'ifdef' function
  - removes excess carriage returns where they might be undesirable.

I'm sure that other people can think of other uses for a preprocessor.

We're using v4.1.12.  If there's any interest then I'll merge our changes
into the current version and make some diffs.

Ben



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to