• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Where to place Struts jars in Tomcat 5.5?

 
Priya Bindra
Ranch Hand
Posts: 51
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We all know that whenever we store the struts jars in WEB-INF/lib folder of the webapp, and we need to redeploy the app, we must shut down tomcat.

Also, i feel it is a bad design practise to store struts jars within each webapp, when tomcat can host multiple struts webapps.

So i placed the struts jars in tomcat's common/lib folder and it works well. Although, i tried to place the struts jars inside another folder i.e. common/lib/struts-lib, but the container couldnt read jars from there.

Please let me know if this is the standard industry practise?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Normal practice is to put Struts jars in each webapp. This is particularly important as you may need to deploy multiple versions of Struts at once, plus Struts (Struts 1) is relatively old and simply may not work in a shared environment.
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic