>
> Ron,
>
> I liked your Extension/ExtensionServlet - obviously to satisfy everyone it
> would have to be able to be registered at various points in ActionServlets
> process() method as well as the init() (e.g. processPreprocess() and
> processPopulate() methods).
>
> One small comment - shouldn't you also override the destroy() method in
> ActionServlet and iterate through destroy() methods in the Extensions (and
> the same for reload() with reload() in the extension calling its
> destroy/init methods)?
>
> Niall
Absolutely. Thanks.
I just posted an updated extensions package including support for
destroy()
and initStrutsDigester(). initStrutsDigester() is meant to allow
extensions
to register additional rules for parsing the struts-config.xml.
Looking closer at your mail, I think I missed calling the destroy() for
each
extension upon a reload(). Ah well, I'll fix that one soon.
--Ron S