Hi Sven, It's better to avoid to put jars in the Tomcat folders. The problem is that if you put your jars there, then all your apps will share them, and then you cannot have different versions of the same API, like one app using Struts 2.0.x and another one using Struts 2.1.x.
Cimballi On Sun, Apr 18, 2010 at 12:25 PM, Sven Svenson <svensvens...@gmail.com> wrote: > Hi, > > I'm learning about Struts 2 and have a few hello world applications > packaging and deploying successfully. > > I'm curious about packaging the third party jar files with the web > application itself. I have been including the following in my web app > jar because some examples do that. (I know these aren't the current > version.) > > commons-logging-1.1.jar > freemarker-2.3.8.jar > ognl-2.6.11.jar > struts2-core-2.0.11.jar > xwork-2.0.4.jar > > Wouldn't it be better to just install these jars into the > tomcat/common/lib directory and then never include them in the web app > jar? What are the benefits of including these jars in the web app? Can > different web apps be running on different versions of Struts 2 if > each is including a different version of the Struts 2 jar? > > Thanks. > > /sven > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > -- Cimballi JAVA J2EE Freelance http://cimballi.elance.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org