Bruce Altner <[EMAIL PROTECTED]> writes: > I was experimenting with using Filters to intercept an HttpRequest > before it got to Turbine and ran into problem that I haven't seen > mentioned here before. My filter compiled easily on one machine but > not on another and the reason turned out to be that there are actually > two slightly different versions of servlet.jar that ship with tdk > 2.1. Servlet.jar in .../tdk/bin is 74750 bytes iand is dated 1:30 PM > June 5, 2001 but the one in .../tdk/common/lib is 74969 bytes and is > has the same date and time. > > Despite the timestamp I believe that the version in .../tdk/bin is > really an earlier release since it still has the getFilterConfig() > method > in the Filter interface. A later release uses the init() method to > configure the filter, which is what I implemented in my filter. Since > my ant > build file pointed to the wrong version, I got a compiler error > because I wasn't implementing getFilterConfig(). > > Is this just an oversight or is there a reason why two different > versions of the Servlet 2.3 spec reside within the tdk?
Hey Bruce, I know at one point Jon was using snapshots of the CVS HEAD for 2.3 (before it had been released). You can get the Servlet API source code from the jakarta-servletapi and jakarta-servletapi-4 CVS modules on cvs.apache.org. Dan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
