If you use JK, apache can do most of the work for you with their modules.

If you are only running tomcat - you'll need to write Valves to get the modular like functionality. Filters might work too and are portable across containers but you are restricted in functionality with filters compared to Valves.

And there are not many (hardly any) valves which do module-like things since most people are "lazy/smart" and use apache to do the module work instead.

-Tim

Jordan Hayes wrote:
Is there a way to add modules to servlet processing?  For instance, I'd
like to add mod_headers to attach extra headers to the output of a
servlet without changing the servlet itself.  Can the "filter"
functionality of Apache2 help me here?

Thanks,

/jordan



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



Reply via email to