On Thu, 29 Mar 2001, Incze Lajos wrote:

> On Tue, Aug 29, 2000 at 10:09:31AM -0400, Ali Ozoren wrote:
> > Hi all-
> > 
> > I’ve been trying to get cocoon and struts together, however one is using the
> > servlet.jar the other servlet_2_2.jar.
> > 
> > Is it possible to combine these two?
> > 
> > Thanks!
> > 
> I guess they are the same. Struts has to differentiate because it
> works with servlet_2_3.jar, too (even if it doesn't exist officially).
>                                                                 incze
> 

Does Cocoon ship with servlet_2_2.jar inside its WEB-INF/lib
directory?  If so, that seems like a bad idea, because it would cause
class loading conflicts in the container.  In general, you should rely on
the container's installed version of the servlet API classes for whatever
container you run on.

The 2.3 (Proposed Final Draft) version of the Servlet Spec requires
2.3-compatible containers (like Tomcat 4.0) to support programs built
against the 2.2 API classes in a backwards compatible fashion.  Right now,
Struts is only dependent upon 2.2 APIs, so it will run on current and
future containers.

Craig


Reply via email to