Am Mittwoch, den 05.12.2007, 13:30 +0100 schrieb Carsten Ziegeler:
> Bertrand Delacretaz wrote:
> > On Dec 5, 2007 12:06 PM, Carsten Ziegeler <[EMAIL PROTECTED]> wrote:
> > 
> >> ...what about using 2.5 everywhere but try to be
> >> 2.4 compatible?...
> > 
> > How do we check the "2.4 compatible" bit if using the 2.5 APIs?
> > 
> > That sounds like a hard promise to keep, and I'd hate having us waste
> > time helping users fight with servlet engine compatibility problems.
> > 
> Hmm, in general I agree with you, but :) I don't think that this is a
> very big effort - for example we did this in Cocoon for years.
> Now, if we implement the 2.5 version whereever we implement servlet api
> things ourselves (like our own servlet context impl in core) and use 2.4
> version everywhere else this should work fine.

Perhaps we should guard calls to 2.5 API by a check to the minor version
in the ServletContext implementation to not get a NoSuchMethodError.

Regards
Felix

Reply via email to