File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts jars?" Watch "struts jars?" New topic
Author

struts jars?

Priya Bindra
Ranch Hand

Joined: Sep 22, 2009
Posts: 51
I downloaded the struts 2.1.8.1 distribution. It comes with 3-4 sample apps. One of which is named as struts2-blank-2.1.8.1 . 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
Greenhorn

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 struts-2.1.8.1-lib.zip from "http://apache.siamwebhosting.com/struts/library/struts-2.1.8.1-lib.zip".
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: http://aspose.com/file-tools
 
subject: struts jars?
 
Similar Threads
Create a web service jar under axis 1
Setting the classpath to struts jars to compile my actions
Not so clear on where the jar files go
struts
Struts 2.1.6 struts-tags not found, help!