Installing Struts 2 and 1 in Tomcat - 4 Simple Things To Do

Here is a how-to on installing struts framework on Apache Tomcat, the most popular web server. Struts have been one of the most popular MVC based Web Frameworks of today, in fact one of the most demanded topic too for developing smaller apps effectively and complex apps with ease.




First thing you need to do is to download the Struts which can be downloaded here - Struts Download
Download either Struts 1 or Struts 2, it is up to you and your need. If you are new to Struts and the MVC Architecture, then i would recommend starting from the ground, so download the Struts 1.

Extract the zip file using some extractor like WinRAR, 7-Zip, PeaZip or anyone of your choice to a location.

Open the lib directory and you will observe some jar files in it which are essential for the Struts Application Development. 

Copy those jar files in to the lib directory of your application folder which is situated in the webapps folder of your Apache Tomcat.

Want help about the Struts folder structure for Tomcat, here is my post about it.

Useful links:

Apache Tomcat - Download
Java Download