HOME | J2ME | Struts | AJAX | SOAP | SOA MEDIA STREAMING AXIS |
Struts for Begginers
Introduction
MVC Design Pattern
Installation
Action Servlets
Hello World
Forms & ActionForms
Messages Resources
Data Bases
Exceptions
Acess ActionForms from JSP
Logic Tag

 

 

Struts for Beginners: Installation

Back | Tutorial Home | Next

Java Environment

Download JDK1.4 and above from java.sun.com and install on the development machine. Refer to installation manual for procedure.

Tomcat Installation

Download Tomcat 5.X and above from http://jakarta.apache.org/tomcat/ and install on the development machine. Refer to installation manual for procedure. Tomcat is an Open source JSP/Servlet web server. We will use this web server for our tutorial.

Struts Installation

Download Struts 1.3.X release from struts.apache.org. This zip file has following folders

  • apps – Sample applications and struts-blank war file. Blank war file(struts-blank-<version number>.jar) is used as the starting point for all Struts applications.
  • docs – API documentation and release notes.
  • lib – All the standard libraries needed o build a Struts application
  • src – Source code for all the examples.

Copy blank war file to Tomcat at location <Tomcat Home>\webapps and rename the war file as salsa-tutorial.jar.

Check your installation

Try URL - http://localhost:8080/<project-folder>/ on your browser. If you can view welcome screen then your struts set up is done.

Setting up your build environment with Eclipse

Create a new project called “DocManager” in your Eclipse IDE and set build path to include all the jar files in the lib folder of the Struts download. Also set the build path to include J2EE.jar or servlet.jar.

Back | Tutorial Home | Next

site comments powered by Disqus
Download our free toolbar

toolbar powered by Conduit

| Copyright © 2009. All rights reserved | Terms and Conditions | About | Contact | Feed Back |