Download Struts 2
Download the latest version of Struts 2 from the following link : http://struts.apache.org/download.cgi.
I’ve downloaded Struts 2.3.16 when I wrote this tutorial.
Download zip formatted file and ensure following folder structure is present after extracting the zip file.
Install Apache Tomcat
Download latest apache tomcat from the following location : http://tomcat.apache.org/.
Set up the environment variable CATALINA_HOME.
Set up the environment variable by right clicking My Computer > Properties > Advanced > Environment Variables > System Variables > New.
Also include, CATALINA_HOME in PATH environment variable.
Set up the environment variable using below command:
export CATALINA_HOME="/usr/Apache/Tomcat 5.5" export PATH = $CATALINA_HOME/bin;$PATH
Install Eclipse IDE
Download latest version of Eclipse-Indigo from the following location: http://www.eclipse.org/downloads/packages/release/indigo/sr2
Set jdk1.6 as default JRE in Eclipse-Indigo by entering JDK1.6 path after clicking Windows > Preferences > Java > Installed JREs.
- Servlet API 2.4
- JSP API 2.0
- Java 5