Professional Documents
Culture Documents
A TECHNICAL PROJECT REPORT SUBMITTED IN PARTIAL FULFILLMENT OF THE REQUIREMENT FOR THE DEGREE OF
Submitted By:-
Dept. of MCA
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
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.
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.
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
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.
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.
approver should approve the document and only then can be uploaded. (Make appropriate assumptions).
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.
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.
a) HARDWARE REQUIREMENTS:
Processor : Intel Pentium4 and above
: : :
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
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...
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.
Student
Percentag e XII
Admin_I D Admin
Password
Description
Purpose
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.
3 NOTATIONS:
Rectangle: Used to represent by an External Entity.
Circle: Used to represent by a process with the name of the corresponding function.
PROCESS Level - 0
Request
User
Placemen t Cell
Response
User
Level - 1
Recruit er Student
Placement
History
(Fig-4.3)
Level 2
User name
Admin Login Recruitte rUpdatio n Admin
Password
User name
Admin Login
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>
<!--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> | <a href="../aboutus.html"><font color="#6699FF">About Us</font></a> | <a href="../gallary.html"><font color="#6699FF">Gallary</font></a> | <a href="../contactus.html"><font color="#6699FF">Contact Us</font></a> | <a href="#"><font Map</font></a> | color="#6699FF">Site href="#"><font |
<a color="#6699FF">Services</font></a>
<a href="../branch.html"><font color="#6699FF">Branch</font></a> | <a href="../careers.html"><font color="#6699FF">Careers</font></a> | <a href="../feedback.html"><font color="#6699FF">Feedback</font></a> </div>
<!--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>
<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>
<!--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="#" © 2013 class="link1">GEC
2. payStudentFee.jsp
<%-Document : payStudentFee
<%@page 8"%>
contentType="text/html"
pageEncoding="UTFHTML 4.01
"-//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"
<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> | <a href="../aboutus.jsp"><font color="#6699FF">About Us</font></a> | <a href="../gallary.html"><font color="#6699FF">Gallary</font></a> | <a href="../contactus.html"><font color="#6699FF">Contact Us</font></a> | <a href="#"><font color="#6699FF">Site Map</font></a> | <a color="#6699FF">Services</font></a> href="#"><font |
<a href="../branch.html"><font color="#6699FF">Branch</font></a> | <a href="../careers.html"><font color="#6699FF">Careers</font></a> | <a href="../feedback.html"><font color="#6699FF">Feedback</font></a> </div>
<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;">
<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="#" © 2013 class="link1">GEC
3. payStudentEnrollForm.jsp
<%-Document : payStudentEnrollForm
"-//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;
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 { 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"); }
} </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> <% } } %> =
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
%>
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> <%
while(rsc.next()) { String rsc.getString("name"); String id = rsc.getString("id"); %> <option %></option> <% value="<%=id%>"><%=name name =
<br/> <br/> <br/> <p> <input type="submit" name="Next" id="Next" value="Next" onclick="form.action='payStudentForm.jsp'"/>
4. payStudentForm.jsp
<%-Document : payStudentForm
<%@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
"-//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;
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;
#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);
%> <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'"/ >
6. payStudentFeeDB.jsp
%-Document : payStudentFeeDB
"-//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++; =
%>
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"); = =
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>"); }
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+"')"); }
</body> </html>
Homepage
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