Online Examination - Administration & Student Modules

It is consisting of two applications.

Exam Administration

Allows administrator to add course, batch, student and questions. Uses a filter to ensure only authenticated user can access JSP pages.

Major Operations

The following are the major operations of this application.

Technologies and Products used

The following table lists operations and associated objects and files.

Operation Files Associated Objects
Login login.jsp , mainpage.html,header.html AdminBean JavaBean, DBUtil class
Home page menu.html  
Adding new course addcourse.jsp CourseBean javabean, DBUtil class
Adding new batch addbatch.jsp CourseBean javabean, BatchBean JavaBean, CourseTag custom tag, DBUtil class
Adding new students addstudents.jsp StudentBean javabean, BatchTag custom tag, DBUtil class
Adding new questions addquestion.jsp QuestionBean JavaBean , CourseTag custom tag, DBUtil class
Changing password (Not done) changepassword.jsp  
List Courses listcourses.jsp DBUtil class
List Batches listbatches.jsp DBUtil class
List Students liststudents.jsp DBUtil class
List Questions listquestions.jsp DBUtil class
List Exams previousexams.jsp DBUtil class

The following are the steps to related to be taken to run the existing part of the application :

  1. Download examadmin.zip and unzip it into webapps directory of Tomcat installation directory.
  2. Make sure you copy from jdbc/lib/classes111.zip ( after renaming it to classes111.jar) or jdbc/lib/classes12.jar from Oracle directory into WEB-INF/lib directory
  3. Create account exam with password exam in Oracle.
  4. Create required tables in Oracle using TABLES.TXT file and also insert some sample data.
  5. Make sure Oracle and Tomcat are running.
  6. Run the application using the following url:
       http://localhost:8080/examadmin
     
  7. You should see login page (mainpage.html) of the application.

Student Examination

Allows student to login with batch code, rollno and password and take exam.

Major Operations

The following are the major operations of this application.

Technologies and Products used

The following table lists operations and associated objects and files.

Operation Files Associated Objects
Login login.jsp StudentBean JavaBean, DBUtil class
Home page startexam.jsp StudentBean JavaBean
Taking Exam takeexam.jsp StudentBean Javabean, ExamBean Javabean
Finsing Exam Finish exam finishexam.jsp, StudentBean JavaBean, ExamBean JavaBean and ExamEJB EJB
List Of Previous Exams previousexams.jsp StudentBean JavaBean, DBUtil class

The following are the steps to related to be taken to run the existing part of the application :

  1. Download exam.zip and unzip it into webapps directory of Tomcat installation directory.
  2. Make sure you copy from jdbc/lib/classes111.zip ( after renaming it to classes111.jar) or jdbc/lib/classes12.jar from Oracle directory into WEB-INF/lib directory
  3. Also make sure the classpath of Tomcat is changed to include weblogic.jar using setclasspath.bat in BIN directory of Tomcat
  4. Create account exam with password exam in Oracle. This step is already taken in Administration application.
  5. Make sure Oracle and Tomcat are running.
  6. Start Weblogic Server and create the following
  7. copy examples.properties file from weblogic700\samples\server\src directory of the weblogic server to user directory of javatips application.
  8. Build the ejb in examejb directory of application directory using ANT. Set PATH to weblogic\weblogic700\server\bin directory because ANT is found in this directory
  9. Copy exam_client.jar from user directory to WEB-INF/LIB directory of application (exam).
  10. Run the application using the following url:
       http://localhost:8080/exam
     
  11. You should see login page (login.jsp) of the application.