You are on page 1of 82

A PROJECT REPORT ON ACCOUNT MANAGEMENT SYSTEM

A TECHNICAL PROJECT REPORT SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENT FOR THE DEGREE OF

MASTER IN COMPUTER APPLICATION


UNDER BPUT, Orissa

Submitted By:-

Jyoti Brahmamayee Priyadarsini Dash


Regd. No - 1005292015

Under Guidance Of:Prof. Asit Kumar Sar

Dept. of MCA

GANDHI ENGINEERING COLLEGE


BHUBANESWAR, ODISHA 752054, INDIA [2012 2013]

DEPARTMENT OF MCA GANDHI ENGINEERING COLLEGE BHUBANESWAR, ODISHA - 752054

CERTIFICATE
This is to certify that, Jyoti Brahmamayee Priyadarsini Dash, a Student of 6th Sem., MCA of Gandhi Engineering College, Bhubaneswar bearing Regd. No. 1005292015 has successfully developed the project entitled ACCOUNT MANAGEMENT SYSTEM of RICHMOND TECHNOLOGY LTD for submission and partial fulfillment for the award of the degree of Master in Computer Application (MCA) of Biju Pattnaik

University of Technology, Rourkela during the academic year 2012-2013 (Semester-VI) under our supervision and guidance. The matter embodied in this project
work has not been submitted for the award of any other degree. During this period of work, he is sincere and fully dedicated to her project work. Her character and conduct is good. We wish her all success in her life.

Prof. Asit Kumar Sar Dept. of MCA, GEC, BBSR Internal Supervisor

HOD Dept. of MCA, GEC, BBSR

External Supervisor

DECLARATION
I, Jyoti Brahmamayee Priyadarsini Dash, student of Master in Computer Application, Gandhi Engineering College, and Bhubaneswar hereby declare that the project report entitled ACCOUNT MANAGEMENT SYSTEM has been done by me under the guidance of Prof. Asit Kumar Sar (Internal Supervisor), GEC, Bhubaneswar for the partial requirement for the Master in Computer Application Degree.

This Project Submitted by me is the effort of me and has not been deposited to any other organization or published earlier.

Place: Bhubaneswar Date: 20/05/2013

Jyoti B P Dash

ACKNOWLEDGEMENT
Completing a job has never been an easy go for a single person, often it is the result of invaluable contributions from individuals in the surrounding in a direct or indirect manner.

We are deeply grateful to our advisor Prof. Harry Narayan Swain, for having been a constant source of encouragement for my Project Report on ACCOUNT MANAGEMENT SYSTEM,, In our association with our guide for this purpose, we experienced not only his indepth knowledge but also his affection towards us. We would like to thank all our friends who have helped us for successful completion of our Project. Last, but not the least, we give our sincere thanks to Mrs. Arati

Pradhan,Technical Project In-charge, for giving me the opportunity and creating a nice work environment for me to complete my technical Project report within the stipulated period of time.

Jyoti Brahmamayee Priyadarsini Dash

CONTENTS

1. Abstract.6-7 2. Introduction.....................................................................................................8-10 3. System Analysis....................11-14 3.1. Objectives of System 3.2. User Requirements 3.3. Hardware And Software Requirements 4. Software Design15-24 4.1. UML Diagrams 4.1.1. 4.1.2. 4.1.3. 4.1.4. Use Case Diagrams Activity Diagrams Class Diagrams Sequence Diagrams

5. Database Design.25-34 6. Coding .........................................................................................................35-57 7. Input and Output Screens.......58-66 8. Conclusion.....................67-68 9. Bibliography..............................69-70

List of Abbreviations
JSPJava Server Page SRS Software Requirement Spcification UML Unified Modeling Language EREntity Relation

List Of Figures
Particulars 1. Figure 1.1 Context Level Diagram 2. Figure 1.2 E R Diagrams 3. Figure 2.1Use Case Diagram 4. Figure 3.1Sequence Diagram 5. Figure 3.2State Chart Diagram 6. Figure 3.3Activity Diagram Page No. 10 14 18 19 20 21

List Of Tables
Table No. Page

1.1 Table 1 Userdet


29

1.2 Table 2 Login


29

2.1 Table 3 Facdet :: :: :: N Table N Category

30

ABSTRACT
This project is aimed at developing an application for the Training and Placement Department of the College. The system is an application that can be accessed throughout the organization with proper login provided. This system can be used as an application for the ACCOUNT MANAGEMENT SYSTEM (AMS)of the college to manage the student information with regard to placement. Students logging should be able to upload their information in the form of a CV. The key feature of this project is that it is a onetime registration. Our project provides the facility of maintaining the details of the students. It also provides a requested list of candidates to recruit the students based on given query. Administrator logging in may also search any information put up by the students. This project will aid colleges to practice full IT deployment. This will also help in fast access procedures in placement related activities.

INTRODUCTION
This project is aimed at developing an online application for the Training and Placement Dept. of the college. The system is an online application that can be accessed throughout the organization and outside as well with proper login provided. This system can be used as an application for the TPO of the college to manage the student information with regards to placement. Students logging should be able to upload their information in the form of a CV. Visitors/Company representatives logging in may also access/search any information put up by Students. Training and Placement cell is active and working hard to address behavioral issues and over all personality development; and finding job opportunities for students and placement of students with reputed national and international organizations.

FEATURES:
This project is to facilitate students in college to register, search and apply for jobs. The user can access easily to this and the data can be retrieved easily in no time. In the main page there are options for a new register, a registered student to directly login using username and password, submit resume.

In the student registration form, we can give personal details, educational

qualifications, and professional skills and upload resume. The job details of the placed students will be provided by the administrator. The administrator plays an important role in our project. They provide approval of student registration and updating.

OBJECTIVE OF THE PROJECT


Our project provides the facility of maintaining the details of the students and gets the requested list of candidates for the companies who would like to recruit the students based on given query. Work in the application wiil be done in the following ways and a The categories of CVs are decided and uploaded and define it formally. A server is used for storing the data. The front-page of the system is created giving a brief description about the system login box. A role of approve is also introduced. When the student uploads his/her CV, the

approver should approve the document and only then can be uploaded. (Make appropriate assumptions).

SCOPE OF THE PROJECT


Our project has a big scope to do. We can store information of all the students. CVs are categorized according to various streams. Various companies can access the information. Students can maintain their information and can update it. Notifications are sent to students about the companies. Students can access previous information about placement.

SYSTEM ANALYSIS
SYSTEM:
Designing and implementing the new links. Designing and implementing the users. Arranging new links as subject wise.

SYSTEM ANALYSIS:

System analysis will be performed to determine if it is feasible to design information based on policies and plans of the organization and on user requirements and to eliminate the weaknesses of the present system. The new system should be cost effective. To expand management, improve productivity and services. To enhance user / system interface. To improve information quality and usability. To upgrade systems reliability, availability, flexibility and growth potential.

3.1 Objective of the System:


The main objective of the system is that to provide quality education with proper resources to the students in a reasonable expenditure. Improve the quality of education and also improve the lab facilities, teaching qualities, classroom facilities and other facilities for the students. Main aim is that make available results online for the students they can available 24/7 for the students.

Objectives:1. The System is composed with convenient modules of setting and editing the convenient modules for the students to give their opinions about the lecturers and know about the college details. 2. Modules are designed user friendly they can reach anywhere directly without any confusion.

3. This system is designed to save the time and reduce the paper work for taking opinions and making assessments. 4. Administrator will introduce the new colleges to the students to increase the options to the students while joining / selecting the colleges.

3.2 User Requirements:


1. User has to register with the system for using all the facilities available in the system 2. Student User has to submit his opinion about his faculty by course, name, subject and department / branch wise. 3. Student can view his results semester wise, it will give the information he/she has promoted/ demoted in the examinations. 4. Student has to login with his id number, which is assigned by the system. 5. College user has to provide details of total number of student, faculty members and contact information. 6. User can view the assessment details by way of charts and bar diagrams and providing course name, branch name, year etc. 7. This system runs any platform; user can access the student id from any place.

3.3 Software & Hardware Requirements:

a) HARDWARE REQUIREMENTS:
Processor : Intel Pentium4 and above

Processor Speed RAM Hard Disk

: : :

833MHz and above 1GB RAM 40GB

b) SOFTWARE REQUIREMENTS:
Operating System Database Server side technology Server side scripting Client side scripting Web-Server : : : : : : Windows XP/Vista/7 MYSQL Servlet JSP HTML Apache HTTP

UML DIAGRAMS
4.1. UML DIAGRAMS: 4.1.1 USE CASE DIAGRAM:
A use case diagram is a diagram that shows a set of use cases and actors and relationships.

Contents
Use case commonly contain Use cases Actors Dependency, generalization and association relationships

Overall Use Case:

Administrator Use Case

Student Use Case:

DATABASE DESIGN
5.1 DATABASE DESIGN:
Database Design is crucial task for each and every body .It is the most vital thing for a project .Once u got the idea about the Database structure then there is nothing too difficult to complete the task. Maximum of time would be spend for designing a proper database structure .So keeping in mind that thing here we are providing u the database designing as well as the number of tables would be required for the project work. These database tables are as mentioned below...

Data Base Design Snap Shot: ADMINISTRATOR:

LOGIN_DETAILS:

EMPLOYEE DETAILS:

STUDENT DETAILS:

EMPLOYEE ACCOUNT:

COOLEGE ACCOUNT:

ER DIAGRAM
Student ID

Address Gender DOB College Name MCA Agreegate % Percentage Grad. Pass Year Grad.

Admin Fathers Name Mothers Name

Student

Pass Year X Percentage X Pass Year XII

Percentag e XII

Admin_I D Admin

College Name ID UserType Login

User_name id totalAmou nt Date type transAmount Collegeaccount

Password

Description

Purpose

DATA FLOW DIAGRAM (DFD)


Data Flow Diagram is a diagrammatic representation of data movement through a system manual or automated - from inputs to outputs through processing. The data flow diagrams help in the analysis of the flow of data through a system and thus help in identifying the system requirements. These are of two types Logical Data Flow Diagrams and Physical Data Flow Diagrams. The Data Flow Diagram (DFD) clarifies system requirements and identifies major transformations that will become programs in system design. It is the starting point of system design that decomposes the requirements specifications down to the lowest level of detail.

1. LOGICAL DATA FLOW DIAGRAMS: (0th Level)

The Logical Data Flow Diagrams represent the transformation of the data from input to output through processing logically and independently of the physical components that may be associated with the system.

2. PHYSICAL DATA FLOW DIAGRAMS:


The Physical Dataflow Diagrams show the actual implementation and movement of data between people, departments, and workstations. Each component of a DFD is labeled with a descriptive name. Process names are further numbered that will be used for identification purposes. The number assigned to a specific process does not correspond to the sequence of processes. It is strictly for identification purposes. A data flow diagram allows parallel activities i.e. a number of dataflows coming out from the source and going into the destination. A DFD concentrates on the data moving through the system and not on the devices or equipments. A DFD may consist of a number of levels. The top-level diagram is called the Context Diagram, which consists of a single process and plays a very important role in studying the system. It gives the most general and broadest view of the system. Move over it gives the pictorial representation of the scope boundaries of the system under study.

3 NOTATIONS:
Rectangle: Used to represent by an External Entity.

Circle: Used to represent by a process with the name of the corresponding function.

Arrow: Used to represent by flow of data.

Parallel lines: Used to represent the storage of data.

Output symbol: Used to produce hard copy of report.

PROCESS Level - 0

Request
User

Placemen t Cell

Response

User

Level - 1

Admin User name User Password Login

Recruit er Student

Placement

History

(Fig-4.3)

Level 2

User name
Admin Login Recruitte rUpdatio n Admin

Password

User name
Admin Login

Student Recruitte rUpdatio n Student

Password

Login

CODING
6.1. CODING:

1. accountadmin.jsp
<!DOCTYPE html PUBLIC "-//W3C//DTD Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1transitional.dtd"> XHTML 1.0

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="content-type" charset=utf-8" /> <title>Gandhi Details</title> Engg. content="text/html; College: Account

<!-- Start css3menu.com HEAD section --> <link rel="stylesheet" href="CSS3_Menu_files/css3menu1/style.css" type="text/css" /><style type="text/css">._css3m{display:none}</style> <!-- End css3menu.com HEAD section --> <title>Gandhi Engg. College: Adminstration</title> <style type="text/css"> #form1 div p #submit { font-size: 18px; width: 200px; background-color: #690; } #form1 div { background-color: #FFF; } </style> </head>

<body background="../images/bg.jpg" topmargine="0" leftmargine="0" style="background-repeat:repeatx;width:100%;height:600px; border:1px ridge

#91addd;"> <form id="form1" action=""> name="form1" method="post"

<!--College Logo--> <img src="images/logo.png" alt="logo" height="100" width="700"></img>

<!--Main Menu--> <div style="width:99.9%;height:25;border:solid;borderwidth:1;border-color:#060000;border-right:0px solid #14348b;border-bottom:1px solid #14348c; paddingtop:5px;padding-bottom:5px; backgroundcolor:#234578;"> <a href="index.jsp"><font color="#6699FF">Home</font></a> &nbsp; | &nbsp; <a href="../aboutus.html"><font color="#6699FF">About Us</font></a> &nbsp; | &nbsp; <a href="../gallary.html"><font color="#6699FF">Gallary</font></a> &nbsp; | &nbsp; <a href="../contactus.html"><font color="#6699FF">Contact Us</font></a> &nbsp; | &nbsp; <a href="#"><font Map</font></a> &nbsp; | &nbsp; color="#6699FF">Site href="#"><font &nbsp;| &nbsp;

<a color="#6699FF">Services</font></a>

<a href="../branch.html"><font color="#6699FF">Branch</font></a>&nbsp; | &nbsp; <a href="../careers.html"><font color="#6699FF">Careers</font></a> &nbsp;| &nbsp; <a href="../feedback.html"><font color="#6699FF">Feedback</font></a> </div>

<!--Currents Events Division--> <div> <div style="width:100%;height:30;"> loop="infinite" width="100%"

<marquee bgcolor="white" direction="right" height="30"

onmouseover=this.stop() onmouseout=this.start()> <font Events</font> </marquee> </div> </div> color="#990066">Current

<!--left hand menu division --> <div style="float: left; width: 15%; height: 335px; background-image: url(../images/bg.jpg); border-radius: 15px; border-color: #91aada; border: 0px ridge #91aada; font-size: 36px; font-family: 'Arial Black', Gadget, sans-serif;"> <p align="center"> <ul id="css3menu1" class="topmenu"> <li class="topfirst"><a href="#" style="width:168px;height:17px;lineheight:17px;"><span>Student Account</span></a> <ul> class="subfirst"><a href="pages/payStudentFee.jsp">Pay Fee</a></li> href="pages/viewStudentAccount.jsp">View Details</a></li> href="#">Edit Account Details</a></li> <li Course <li><a Account <li><a

</ul> </li> <li class="topmenu"><a href="#" style="width:168px;height:17px;lineheight:17px;"><span>Employee Account</span></a> <ul> class="subfirst"><a Salary</a></li> <li href="pages/paySalary.jsp">Pay <li><a href="#">View Account Details</a></li>

href="#">Edit Account Details</a></li>

<li><a

</ul> </li> <li class="topmenu"><a href="#" style="width:168px;height:17px;lineheight:17px;"><span>College Account</span></a> <ul> <li class="subfirst"><a href="pages/newTransaction.jsp">Add Transaction</a></li> href="pages/viewAllTrans.jsp">View Transactions</a></li> href="#">Edit A Transaction</a></li> New <li><a All <li><a

</ul> </li> <li class="topmenu"><a href="#" style="width:168px;height:17px;lineheight:17px;"><span>Search Account Details</span></a> <ul> class="subfirst"><a Details</a></li> href="#">Student <li Account <li><a href="#">Employee Account Details</a></li> <li><a href="#">College Account Details</a></li>

</ul> </li>

</ul><p class="_css3m"><a href="http://css3menu.com/">HTML Coding For Drop Down Menu Css3Menu.com</a></p> </p>

</div>

<!--Center space division--> <div 358px;"> style=" float:right;width: 85%; height:

<iframe scrolling="yes" ></iframe> </div>

src="#" width="78%" height="100%" frameborder="0" name="internal1"

<!--footer copyright division--> <div id="footer" style="float:left; position:absolute; left:13px; top:626px; width:100%; height: 38px;"> <p style="text-align:center; "> <u> gec.in.ede.in by <a ROKING STAR</a></u> </p> </div> </form> </body> </html> Copyright href="#" &copy; 2013 class="link1">GEC

2. payStudentFee.jsp
<%-Document : payStudentFee

Created on : May 17, 2013, 3:38:46 PM Author --%> : Satyabrata

<%@page 8"%>

contentType="text/html"

pageEncoding="UTFHTML 4.01

<!DOCTYPE HTML PUBLIC Transitional//EN"

"-//W3C//DTD

"http://www.w3.org/TR/html4/loose.dtd">

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Pay Course Fee</title> </head> <body background="images/bg.jpg" topmargine="0" leftmargine="0" style="background-repeat:repeatx;width:100%;height:600px; border-radius:20px ; border:1px ridge #91addd;"> <form id="form1" action=""> name="form1" method="post" id="image"

<input type="image" name="image" src="../images/logo.png" />

<div style="width:99.9%;height:25;border:solid;borderwidth:1;border-color:#060000;border-right:0px solid #14348b;border-bottom:1px solid # #14348c; paddingtop:5px;padding-bottom:5px; backgroundcolor:#234578;"> <a href="../index.html"><font color="#6699FF">Home</font></a> &nbsp; | &nbsp; <a href="../aboutus.jsp"><font color="#6699FF">About Us</font></a> &nbsp; | &nbsp; <a href="../gallary.html"><font color="#6699FF">Gallary</font></a> &nbsp; | &nbsp; <a href="../contactus.html"><font color="#6699FF">Contact Us</font></a> &nbsp; | &nbsp; <a href="#"><font color="#6699FF">Site Map</font></a> &nbsp; | &nbsp; <a color="#6699FF">Services</font></a> href="#"><font &nbsp;| &nbsp;

<a href="../branch.html"><font color="#6699FF">Branch</font></a>&nbsp; | &nbsp; <a href="../careers.html"><font color="#6699FF">Careers</font></a> &nbsp;| &nbsp; <a href="../feedback.html"><font color="#6699FF">Feedback</font></a> </div>

<div> <div style="width:100%;height:30;">

<marquee bgcolor="white" loop="infinite" direction="right" height="30" width="100%" onmouseover=this.stop() onmouseout=this.start()> <font Events</font> </marquee> </div> </div> color="#990066">Current

<div 358px;">

style=" float:right;width: 85%; height:

src="../payStudentEnrollForm.jsp" height="120%" scrolling="yes" name="internal1" > </iframe> </div>

<iframe width="90%" frameborder="0"

<div id="footer" style="float:left; position:absolute; left:13px; top:626px; width:100%; height: 38px;"> <p style="text-align:center; "> gec.in.ede.in by <u> <a Copyright href="#" &copy; 2013 class="link1">GEC

ROKING STAR</a></u> </p> </div> </form> </body> </html>

3. payStudentEnrollForm.jsp
<%-Document : payStudentEnrollForm

Created on : May 17, 2013, 3:50:34 PM Author --%> : Satyabrata

<%@page import="java.sql.*"%> <%@page import="db.DbConnect"%> <%@page 8"%> contentType="text/html" pageEncoding="UTFHTML 4.01

<!DOCTYPE HTML PUBLIC Transitional//EN"

"-//W3C//DTD

"http://www.w3.org/TR/html4/loose.dtd">

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Pay Student Fee</title> <style type="text/css"> #batch { font-size: 16px; line-height: normal; color: #000;

background-color: #6F0; position: absolute; width: 306px; right: auto; left: 500px;

bottom: auto; } #startYear { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; right: auto; left: 500px;

bottom: auto; position: absolute; width: 300px; } #course { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; right: auto; left: 500px;

bottom: auto; position: absolute;

width: 306px; } #form1 p #stream { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; left: 500px;

position: absolute; width: 306px; } #form1 p #endYear { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; left: 500px;

position: absolute; width: 300px; } #form1 #label { font-size: 16px; font-weight: bold; color: #00F; right: auto; position: absolute; left: 250px; }

#form1 #separator { font-size: 18px; font-weight: bolder; left: 450px; color: #00C; right: auto; position: absolute } #form1 #bullet { font-size: 18px; color: #F90; font-weight: bolder; right: auto; position: absolute; left: 200px;

} #form1 p #Next { font-size: 16px; font-weight: bold; color: #FFF; background-color: #00F; position: absolute; width: 100px; left: 350px; } #form1 p #reset { font-size: 16px; font-weight: bold; color: #FFF;

background-color: #00F; position: absolute; width: 100px; left: 550px; } </style> <%String first = request.getParameter("first"); String second = request.getParameter("second");

%> <script type="text/javascript"> var a=""; var first; var second; function change(sel) { first= document.getElementById("course").value; second document.getElementById("stream").value; if(second == <%=second%> && first == < %=first%>) { = language="javascript"

} else if(first == <%=first%>) { if(second == <%=second%>) {

else { a = first; window.location.replace("pa yStudentEnrollForm.jsp? first="+first+"&second="+second); } } else { a = first; window.location.replace("payStudentEnrol lForm.jsp?first="+first+"&second = second"); }

function changeSecond(sel) { second= sel.options[sel.selectedIndex].value;

if(first == <%=first%>) { if(second == <%=second%>) {

} else { a = first; window.location.replace("pa

yStudentEnrollForm.jsp? first="+first+"&second="+second); } } else { a = first; window.location.replace("payStudentEnrol lForm.jsp?first="+first); }

} </script>

</head> <body>

<form id="form1" name="form1" action="" enctype="form-data"> <h2>The Student Enroll in, </h2> <br/> <br/> <br/>

method="post"

<br/> <p> <label id="bullet">1. </label> <label id="label">Choose Course</label> <label id="separator">:</label> <select name="course" onchange="change(this)"> <% id="course"

if(first == null) { %> <option value="">Select...</option> <% } else { Connection con=db.DbConnect.getCon(); Statement stmt=con.createStatement(); res=stmt.executeQuery("SELECT WHERE id="+first); * from ResultSet coursedetails

String dur =""; while(res.next()) { String course_name = res.getString("Name"); dur res.getString("duration"); %> <option value="<%=first%>">< %=course_name%></option> <% } } %> =

<% Connection c=db.DbConnect.getCon(); Statement s=c.createStatement();

ResultSet rs=s.executeQuery("SELECT * from coursedetails");

while(rs.next()) { String rs.getString("Name"); String id = rs.getString("id"); if(!(id.equals(first))) { %> <option %></option> <% } } %> </select> </p> <br/> <p> <label id="bullet">2. </label> <label id="label">Choose Stream</label> <label id="separator">:</label> <select name="stream" onchange="change(this)"> <% if(first == null) { %> <option value="">Select....</option> <% id="stream" value="<%=id%>"><%=name name =

} else if(second == null) { %> <option value="">Select....</option> <% } else { Connection cc=db.DbConnect.getCon(); Statement sc=cc.createStatement(); rsc=sc.executeQuery("SELECT WHERE id="+second); * from ResultSet streamdetails

while(rsc.next()) { String rsc.getString("name"); name =

%>

<option value="<%=second%>">< %=name%></option> <% } } if(second == null) {

Connection cc=db.DbConnect.getCon(); Statement sc=cc.createStatement(); ResultSet rsc=sc.executeQuery("SELECT * from streamdetails WHERE course_id="+first);

while(rsc.next()) { String rsc.getString("name"); String id = rsc.getString("id"); %> <option %></option> <% } } value="<%=id%>"><%=name name =

%> </select> </p> <br/> <p> <label id="bullet">3. </label> <label id="label">Choose Batch</label> <label id="separator">:</label> <select name="batch" id="batch"> <option value="">Select. . .</option> <%

Connection cc=db.DbConnect.getCon(); Statement sc=cc.createStatement();

ResultSet rsc=sc.executeQuery("SELECT * from batchdetails WHERE stream="+second);

while(rsc.next()) { String rsc.getString("name"); String id = rsc.getString("id"); %> <option %></option> <% value="<%=id%>"><%=name name =

} %> </select> </p> <br/>

<br/> <br/> <br/> <p> <input type="submit" name="Next" id="Next" value="Next" onclick="form.action='payStudentForm.jsp'"/>

</p> </form> </body> </html>

4. payStudentForm.jsp

<%-Document : payStudentForm

Created on : May 17, 2013, 3:41:13 PM Author --%> : Satyabrata

<%@page 8"%>

contentType="text/html"

pageEncoding="UTF-

<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Pay Student Fee</title> <style type="text/css"> a { font-size: 24px; font-weight: bold; color: #000; } </style> </head>

<body> <!-- Javascript goes in the document HEAD --> <script type="text/javascript"> function altRows(id){ if(document.getElementsByTagName){

var table = document.getElementById(id); var rows table.getElementsByTagName("tr"); rows[0].className = "header"; for(i = 1; i < rows.length; i++){ =

if(i % 2 == 0){ rows[i].className "evenrowcolor"; }else{ rows[i].className "oddrowcolor"; } } } } window.onload=function(){ altRows('alternatecolor'); } </script> = =

<!-- CSS goes in the document HEAD or added to your external stylesheet --> <style type="text/css"> table.altrowstable { font-family: verdana,arial,sans-serif; font-size:16px; color:#000; border-width: 1px; border-color: #a9c6c9; border-collapse: collapse; } table.altrowstable th { border-width: 1px; padding: 8px; border-style: solid; border-color: #a9c6c9;

} table.altrowstable td { border-width: 1px; padding: 8px; border-style: solid; border-color: #a9c6c9; } .oddrowcolor{ background-color:#F60; } .evenrowcolor{ background-color:#FC0; } .header{ font-weight: bold; background-color:#6F0; } </style>

<!-- Table goes in the document BODY --> <form name="form1" id="form1" action="viewEmployeeDetails.jsp"> method="post"

<table class="altrowstable" id="alternatecolor"> <tr> <th>Reg. No</th> <th>Name</th> <th>Phone</th> <th>Total Course Fee</th> <th>Paid Amount</th> <th>Number of Installments Paid</th>

<th>Details/Pay</th> </tr> <%@page import="java.sql.*"%> <%@page import="db.DbConnect"%> <% String request.getParameter("batch"); String batch=""; Connection con = db.DbConnect.getCon(); Statement stmt = con.createStatement(); ResultSet ras=stmt.executeQuery("SELECT * from batchdetails WHERE id="+batch_id); while(ras.next()) { batch = ras.getString("name"); } con.close(); batch_id =

Connection c=db.DbConnect.getCon(); Statement s=c.createStatement(); ResultSet rs=s.executeQuery("SELECT * from "+batch); while(rs.next()) { %> <tr> <%String Reg = rs.getString("Reg");%> <td><%=Reg%></td> <%String Name = rs.getString("Name");%> <td><%=Name%></td> <%String Phone = rs.getString("Phone");%>

<td><%=Phone%></td> <%String rs.getString("totalFee");%> <td><%=totalFee%></td> <%String restFee = rs.getString("restFee"); %> <td><%=restFee%></td> <%String rs.getString("instalments");%> <td><%=instalments%></td> <%String id = rs.getString("id");%> <td><a href="pages/payStudentDetails.jsp? value=<%=id%>&batch=<%=batch%>">Details...</a> <a href="pages/payStudentInstallment.jsp?value=<%=id %>&batch=<%=batch%>">Pay...</a></td> </tr> <% } c.close(); %> </table> </form> instalments = totalFee =

</body> </html>

5. payStudentInstallment.jsp
<%-Document : payStudentInstallment

Created on : May 17, 2013, 4:23:33 PM Author --%> <%@page import="java.sql.*"%> : Satyabrata

<%@page import="db.DbConnect"%> <%@page 8"%> contentType="text/html" pageEncoding="UTFHTML 4.01

<!DOCTYPE HTML PUBLIC Transitional//EN"

"-//W3C//DTD

"http://www.w3.org/TR/html4/loose.dtd">

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Pay Student Installments</title> <style type="text/css"> #Reg { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; position: absolute; width: 300px; right: auto; left: 500px;

bottom: auto; } #name { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; position: absolute;

width: 300px; right: auto; left: 500px;

bottom: auto; } #affiliation { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; right: auto; left: 500px;

bottom: auto; position: absolute; width: 300px; } #instalments { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; right: auto; left: 500px;

bottom: auto; position: absolute; width: 300px; }

#form1 p #pay { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; left: 500px;

position: absolute; width: 300px; } #form1 p #Receipt { font-size: 16px; line-height: normal; color: #000; background-color: #6F0; left: 500px;

position: absolute; width: 300px; } #form1 #label { font-size: 16px; font-weight: bold; color: #00F; right: auto; position: absolute; left: 250px; } #form1 #separator { font-size: 18px;

font-weight: bolder; left: 450px; color: #00C; right: auto; position: absolute } #form1 #bullet { font-size: 18px; color: #F90; font-weight: bolder; right: auto; position: absolute; left: 200px;

} #form1 p #Next { font-size: 16px; font-weight: bold; color: #FFF; background-color: #00F; position: absolute; width: 100px; left: 350px; } #form1 p #reset { font-size: 16px; font-weight: bold; color: #FFF; background-color: #00F; position: absolute;

width: 100px; left: 550px; } </style> </head> <body> <% String request.getParameter("value"); String request.getParameter("batch"); batch = id =

Connection c=db.DbConnect.getCon(); Statement s=c.createStatement(); ResultSet rs=s.executeQuery("SELECT * from "+batch+" where id="+id);

while(rs.next()) { %> <form id="form1" name="form1" action="" enctype="form-data"> <br/> <br/> <br/> <br/> <p> <label id="bullet">1. </label> <label id="label">Registration ID</label> <label id="separator">:</label> <%String Reg = rs.getString("Reg");%> <input type="text" name="Reg" id="Reg" value="< method="post"

%=Reg%>" disabled/> <input type="hidden" name="idh" value="<%=id %>"/> <input %=batch%>"/> </p> <br/> <p> <label id="bullet">2. </label> <label id="label">Name</label> <label id="separator">:</label> <%String Name = rs.getString("Name");%> <input type="text" value="<%=Name%>" disabled/> </p> <br/> <p> <label id="bullet">3. </label> <label id="label">Total Course Fee</label> <label id="separator">:</label> <%String totalFee = rs.getString("totalFee");%> <input type="text" name="affiliation" id="affiliation" value="<%=totalFee%>" disabled/> </p> <br/> <p> <label id="bullet">4. </label> <label id="label">Installment Number</label> <label id="separator">:</label> <%String rs.getString("instalments"); instalments = name="name" id="name" type="hidden" name="batch" value="<

int i = Integer.parseInt(instalments);

i++; instalments = String.valueOf(i);

%> <input type="text" name="instalments" id="instalments" value="<%=instalments%>"/> </p> <br/> <p> <label id="bullet">5. </label> <label id="label">Enter Amount to Pay</label> <label id="separator">:</label> <input type="text" name="pay" id="pay"/> </p> <br/> <p> <label id="bullet">6. </label> <label id="label">Receipt Number</label> <label id="separator">:</label> <input type="text" name="Receipt" id="Receipt"/> </p> <br/> <br/> <br/> <p> <input type="submit" name="Next" id="Next" value="Save" onclick="form.action='payStudentFeeDB.jsp'"/> <input type="submit" name="reset" id="reset" value="Restore" onclick="form.action='../payStudentEnrollForm.jsp'"/ >

</p> </form> <% } %> </body> </html>

6. payStudentFeeDB.jsp
%-Document : payStudentFeeDB

Created on : May 17, 2013, 4:43:10 PM Author --%> : Satyabrata

<%@page import="java.sql.*"%> <%@page import="db.DbConnect"%> <%@page 8"%> contentType="text/html" pageEncoding="UTFHTML 4.01

<!DOCTYPE HTML PUBLIC Transitional//EN"

"-//W3C//DTD

"http://www.w3.org/TR/html4/loose.dtd">

<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <title>Pay Student Fee</title> </head> <body>

<%

Connection c=db.DbConnect.getCon(); Statement s=c.createStatement(); ResultSet rs=s.executeQuery("SELECT * from collegeaccount"); String StrId = "0"; int idh = 0; int total = 0; while(rs.next()) { StrId = rs.getString("id"); idh = Integer.parseInt(StrId); total Integer.parseInt(rs.getString("totalAmount")); } c.close(); idh++; =

StrId = String.valueOf(idh); String date = new java.text.SimpleDateFormat("MM/dd/YYYY").format(new java.util.Date());

%>

<% String id = request.getParameter("idh"); String request.getParameter("batch"); String request.getParameter("instalments"); instalments = batch =

String request.getParameter("pay"); String request.getParameter("Receipt"); int paidAmount = 0; int totalFee = 0; String reg = "";

amount Receipt

= =

Connection cc=db.DbConnect.getCon(); Statement sc=cc.createStatement(); ResultSet rsc=sc.executeQuery("SELECT * from "+batch+" WHERE id="+id); while(rsc.next()) { paidAmount Integer.parseInt(rsc.getString("restFee")); totalFee Integer.parseInt(rsc.getString("totalFee")); reg = rsc.getString("Reg"); = =

} String String.valueOf((paidAmount Integer.parseInt(amount))); restFee = +

int feeRest = Integer.parseInt(restFee); int i = Integer.parseInt(instalments);

String totalAmount = String.valueOf((total + Integer.parseInt(amount)));

Connection con=db.DbConnect.getCon();

Statement stmt=con.createStatement();

if(i == 1) { stmt.executeUpdate("UPDATE "+batch+" SET restFee="+restFee+" , instalments="+instalments+" , inst1="+amount+" , inst1_recpt='"+Receipt+"' WHERE id="+id); out.print("<center><H1>Your 1st Installment is Paid Successfully.You Need to Paid Rest Amount in Other 2 Installments</H1></center>"); } else if(i == 2) { stmt.executeUpdate("UPDATE "+batch+" SET restFee="+restFee+" , instalments="+instalments+" , inst2="+amount+" , inst2_recpt='"+Receipt+"' WHERE id="+id); out.print("<center><H1>Your 2nd Installment is Paid Successfully.You Need to Paid Rest Amount in Next Installments</H1></center>"); } else if(i == 3) {

if(feeRest == totalFee) { stmt.executeUpdate("UPDATE "+batch+" SET restFee="+restFee+" , instalments="+instalments+" , inst3="+amount+" , inst3_recpt='"+Receipt+"' WHERE id="+id); out.print("<center><H1>Congratul ation, You Paid All Your Course Fee</H1></center>"); } else {

out.print("<center><H1>Sorry! You Need to Pay All the Rest Ammount in This Installment.</H1></center>"); }

} else { out.print("<center><H1>Your Already Paid All your Course Fee.</H1></center>"); }

con.close();

con=db.DbConnect.getCon(); stmt=con.createStatement(); String desc = "Student Having Reg No. "+reg+" paid this course fee."; if(i == 1 || i == 2) { stmt.executeUpdate("INSERT INTO collegeaccount VALUES( "+StrId+", '"+date+"', "+totalAmount+", 'Credited', "+amount+", 'Student Paid as Course Fee', '"+desc+"')"); } else if(i == 3) { if(feeRest == totalFee) { stmt.executeUpdate("INSERT INTO collegeaccount VALUES( "+StrId+", '"+date+"', "+totalAmount+", 'Credited', "+amount+", 'Student Paid as Course Fee', '"+desc+"')"); }

} else {} con.close(); %>

</body> </html>

Homepage

Pay Course Fee Choose course

Pay Course Fee: Student Details

Pay Course Fee: Enter Course Fee Details

View Course Fee Details

Pay Employee Salary: Choose Year And Month

Pay Employee Salary: Salary Details For All Employee

Pay Employee Salary: Enter Bank Transaction ID

View Salary Details

College Account: Add Transaction

College Account: View All Transactions

CONCLUSION
This system is developed using java as front end tool and MYSQL server as back end tool. The system is developed after studying the requirements and necessities of the system. Large data can be securely stored and accessed through MYSQL Server Database using queries. As the system is created in a user friendly manner with appropriate message guiding the user, even a person with minicomputer knowledge will be able to use the system. The key features of the project: Student registration is simple. Maintaining the details of the students. Select the students based on the given data. Proposed system intends user friendly operation.

BIBLIOGRAPHY
BIBLIOGRAPHY: 1. Complete Reference Java 2, TMH Publication. 2. Complete Reference Struts 1.0, TMH Publication. 3. Beginning Java2 JDK 1.5 Edition by Ivor Horton. 4. Java Server Programming J2EE 1.3 Edition apress publication. 5. Mastering Java2, BPB Publication. 6. System Analysis and Design by Elias M. Awad. 7. Analysis & Design of Information System by James A. Senn. 8. Software Engineering A Practitioner Approach by Roger S. Pressman. 9. Introduction to Software Engineering by Rajiv Mall. 10. www.programmer.com. 11. www.java.sun.com

You might also like