• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts2 development in Eclipse: Where to put all the Struts2 jar files...

 
Gary Marshall
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello all...

So I am working through Budi Kurniawan's Struts 2Design and Programming book. For each chapter in the book I install the appropriate application code from the book's web site and configure it in my Eclipse IDE. The following Struts2 jar files are required in the ...//WEB-INF/lib folder for each application in each chapter I am going through:

  • commons-logging-1.0.4.jar
  • freemarker-2.3.8.jar
  • ognl-2.6.11.jar
  • struts2-core-2.0.11.2.jar
  • xwork-2.0.4.jar


  • I am in chapter 3 and I'm thinking there must be some common library I can create on my hard drive where I can put these jar files and set the path to these jar files in each applicaiton that I create that points to this common liibrary. This, of course, then prevents these jar files from begin replicated within each applcation.

    FYI... I am using Tomcat 6.

    Before I go ahead and trash these applications that took me a long time to configure to get working without erorrs, Could somebody make a recommendation or two as to how to set up this common library and have all my Struts2 applications point to it? Should I perhaps move these jar files into some folder inside of my Tomcat installation? Or perhaps simply open a folder on my C: drive and store all these jar files there?

    Thank you all for your time. If this is not the appropriate forum for this question please advise.

    Gary
     
    David Newton
    Author
    Rancher
    Posts: 12617
    IntelliJ IDE Ruby
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    No, you should just keep them in each application.
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic