It's not a secret anymore!
The moose likes Struts and the fly likes struts jars? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts jars?" Watch "struts jars?" New topic

struts jars?

Priya Bindra
Ranch Hand

Joined: Sep 22, 2009
Posts: 51
I downloaded the struts distribution. It comes with 3-4 sample apps. One of which is named as struts2-blank- . Now this sample application is packed with a WEB-INF/lib folder which has 6 jars. So far i have used just these 6 jars to design all my small struts applications. But then i thought of taking the same jars from the struts distribution's lib folder. Strangely my app gives 404 error.

Ideally, when one has to run struts applcation, how shud the lib folder be composed? Since i am just starting out, i dont need most of the jars, but cant i just use the entire lib folder in the struts distribution as my WEB-INF/lib?
Subhadip Pal

Joined: Feb 17, 2010
Posts: 4
Hi Priya,
It seems that the jars are not included in your java build path.
I suppose youu should download the from "".
Then put all those jars in your WEB-INF/lib folder then if your are using eclipse and add those jars in your web application build path.
Start the server and try to hit the application.
I guess it will be okay
I agree. Here's the link:
subject: struts jars?
It's not a secret anymore!