Carsten Ziegeler wrote:
Leszek Gawron wrote:
Previously web.xml properties were read into settings via a hard-wired
PropertyProvider. I see no property providers implemented now in
cocoon-core as well as no code reading web.xml elsewhere.
Was this intentional? I have not used the functionality anyways. Just
trying to keep compatibility.
Yes, that's intentional :) We decided to drop the compatibility because
of two reasons:
- With 2.2 you might have several Cocoon related servlets, listeners or
filters which makes a central configuration in web.xml more complicated
(ok, you could use context parameters)
- but most important: no need to patch web.xml for this.
You can configure everything more elegantly via properties.
I fully agree. It would be even better If I could declare a servlet
filter at core level or sitemap level so I do not have to patch web.xml
either.
--
Leszek Gawron, IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65