PhoneBook Using Struts

This application demonstrates how to use Struts 1.1 to develope a simple Web Application.

It is used to do the following:

The following are the steps to install this application in your system :

  1. Make sure you have installed struts 1.1 into your system.
  2. Download PhoneBook.ZIP and unzip it into webapps directory of Tomcat installation directory.
  3. Make sure you include Oracle driver classes in the classpath of Tomcat - use setClassPath.Bat file for this.
  4. Create a PHONES table in Oracle as follows:
    create table phones
    ( name varchar2(30) primary key,
      phoneno varchar2(50)
    );
    
  5. Copy .jar of Struts 1.1 into /WEB-INF/lib directory of phonebook application.
  6. Copy .tld files from struct 1.1 into /WEB-INF directory.
  7. Then run the following :
       http://localhost:8080/phonebook