0% found this document useful (0 votes)
1K views30 pages

Report On Student Registration System

This is the project for registration of student in various courses . we can edit ,delete the information record. html,css,bootstrap, java ,servlet,jsp,database ,mysql are used.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views30 pages

Report On Student Registration System

This is the project for registration of student in various courses . we can edit ,delete the information record. html,css,bootstrap, java ,servlet,jsp,database ,mysql are used.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 30

Student Registration System

A Project Report
Submitted by
Udayveer Singh Naruka
in partial fulfillment degree for the award of degree
of

Bachelor in Technology
In
Computer Science,
Fifth Semester

RAJASTHAN TECHNICAL UNIVERSITY ,KOTA

MODERN INSTITUTE OF TECHNOLOGY AND REASERCH CENTER

Submitted to:- Signature:


Prof. Sanjay Babu Sharma
Computer Science
MITRC

i
Table of Content

Title page no.

• Acknowledgement iii
• Abstract iv
• Introduction about project 1-2
• DFD digram 3
• Technology 3-4
• Source Code 4-22
• Output 23-25
• Future Implementation 26
• Reference 27

ii
Acknowledgement

I would first like to thank my college director, Prof. Mr. Sanjay Sharma of
MITRC,Alwar .The door of office was always open whenever I ran into trouble
or had a question about writing.I would also like to thanks HOD-CSE Mr.
Arvind Sharma for the prompt and very valuable support to necessary
infrastructure required for project work .

Finally ,I must express my very profound gratitude to my parents and to my


colleague for providing me with unfailing support and continuous
encouragement.

Thank you

iii
ABSTRACT

With the advent of Information Technology in the last decade, the


major focus has shifted from manual systems to computerised systems.
Various systems viz. railway reservation, hospital management etc. involving
manual work have been automated efficiently. Student course registration
process in colleges involve filling registration forms manually, getting it signed
by respective subject teachers, and then getting the documents acknowledged
from the concerned Advisors, College Deans and Accounts Officers
respectively. Finally the registration forms are submitted in the Administrative
Branch. As is evident, this process is very laborious and time consuming. An
Online Student Course Registration System has been developed to simplify the
current manual procedure.This system has been developed using java, java
script, Apache and MySQL. The front-end is designed using html and css with
excerpts of code written using java script and back-end is designed and
managed through MySQL. This system software is more secured, user-friendly
and less time-consuming.

1
Introduction Student Management System

Objective
The aim of this project is to build a student registration system that will completely
automate the process of new student registration in a university. The system will handle the
document submission, testing process and registration of new students.

The system will be web based and will have two implementations i.e. client side
(student) and server side (university). The server side implementation can only be accessed
over the university intranet while the client side can be accessed over the internet.
The process begins when prospective students wish to enrol in the university. If they
express interest in any course they will be required to visit the university and can create a
user account at the administration block. This is the only part of the system where every user
has to have human interaction, this is intended as a security measure to prevent the creation
of false user IDs. After verification of any nationally approved photo ID proof a user account
will be created and a scanned copy of the ID proof will be uploaded into the profile. After
this the user can upload all necessary documents on the portal from the convenience of their
home. The system will automatically validate all the documents and the prospective student
will be able to schedule a test date after successful validation. The test will be conducted on
the premises of the university or at regional test centres and will require the authentication of
user credentials. The test results will be normalised and a score will be immediately
published. After the completion of all tests the system will automatically publish a merit list
to indicate which students have gained admission.
Students will be able to accept or decline offers of admission using this portal. After
accepting admission the documents uploaded will be scrutinized by university authorities and
any discrepancies notified. After all error flags are cleared the student will be able to make
the first fee payment via internet banking through the system, following which the system
will assign the student a unique roll number and register them as a student of the university.
This system will automatically update the new student details into the university student
database.

Existing System
The existing system of registration requires many documents and application forms to
be filled out. Data has to be repeatedly entered at each stage of the process and multiple files
are made for each student. Documents are verified with multiple copies made for record and
the testing process is conducted independently which again compounds the paperwork

2
required. The amount of data processing required for each stage of the process ensures that
the process of new student admission takes a long time.

Proposed System
The proposed system will eliminate the paper trail required for the completion of
various formalities. The entire process of prospective student registration till new student
registration can be handled by this system. The testing process can be done entirely on the
system and results can be quickly judged and shared. The presence of this system will remove
ambiguity in the process that can confuse tense prospective students.

Modules
Admin: The admin will be able to create prospective student profiles after verification of
nationally approved photo IDs of the user. The admin will be able to cancel student accounts
if irregularities are detected.
Prospect: The prospective student will use this module to upload documents and schedule
test dates. The rank list can also be accessed through this module.
Testing: The testing module can be used by the student during the testing phase. A total
score will be displayed at the end of the test and results will be stored centrally.
New registration: Once a prospective student achieves an acceptable rank and accepts the
offer of admission they will be shifted to the new registration module and allotted a unique
roll number. The admin will scrutinize the documents of users in the new registration module
and notify them about discrepancies. The new student will be able to pay initial fees through
this module and will be notified about the next process through this module. This module will
automatically update the student database with the details of the new student.

3
Data Flow Diagram digram

The flow of information from one process to another within the system is
known as data flow diagram (DFD). In data flow diagrams, one knows what
information has to be provided and what has to be delivered or received. In
other words, data flow diagrams describe computations, decisions, and
interactions. Data flow diagrams are mainly used for the following reasons:
• Data flow diagrams are easily understandable by both technical and
nontechnical persons.
• Data flow diagrams provide complete overview of the system with boundaries
and connections.
Data flow diagram for student registration system:

TECHNOLOGY
Software Requirements
• Windows XP
• Apache Tomcat Web Server
• Mysql
• Netbeans IDE

Technology Used
• Java

4
• J2EE
• Servlet
• Jsp
• Html,css,java script

Hardware Requirements
• Hard Disk – 2 GB
• RAM – 1 GB
• Processor – Dual Core or Above
• Mouse
• Keyboard
• Monitor
• Printer

SOURCE CODE
1.servlet.java-
This is an java file which is based on servlet technology.
In this we use mysql databse for login page.In database login id and password is
save if password is correct then we can go further if not then a message will
appear invalid id or password .
package login;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import java.sql.*;

/**

5
*
* @author Udayveer Singh Naruka
*/
public class Servlet extends HttpServlet {
private static final long serialVersionUID = 1L;
public Servlet() {
super();
}
protected void doGet(HttpServletRequest request, HttpServletResponse
response)
throws ServletException,
IOException {
PrintWriter out = response.getWriter();
String userid =request.getParameter("userid");
String password = request.getParameter("password");
HttpSession session = request.getSession();
boolean flag = false;
try
{
Class.forName("com.mysql.jdbc.Driver");
Connection conn = DriverManager.getConnection
("jdbc:mysql://localhost:3306/mitrc","root","udayveer");
Statement stmt =conn.createStatement();
ResultSet rs = stmt.executeQuery("select * from
loginpage");
while(rs.next())
{

6
if(userid.equals(rs.getString(1)) &&
password.equals(rs.getString(2)))
{
session.setAttribute("user", userid);
flag = true;
response.sendRedirect("index.jsp");
}

if(flag == false)
{
out.print("invalid userid and password");
}
}
}
catch(Exception p)
{
out.print(p);
}
}}

2.login.jsp-
In this login.jsp we create a front page of login in which there is label
login id with text field and in other line password with password field.and there
is submit button.
<%--
Document : login
Created on : 13 Sep, 2019, 11:50:27 PM
Author : Udayveer Singh Naruka

7
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Admin Login Page</title>

<style>
body{
margin: 0;
padding: 0;
font-family: sans-serif;
background: #34495e;
}
.box{
width: 300px;
padding: 40px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background: #191919;
text-align: center;
}
.box h1{
color: white;

8
text-transform: uppercase;
font-weight: 500;
}
.box input[type="text"],.box input[type="password"]{
border: 0;
background: none;
display: block;
margin:20px auto;
text-align: center;
border: 2px solid #3498db;
padding: 14px 10px;
width: 200px;
outline: none;
color: white;
border-radius: 24px;
transition: 0.25s;
}
.box input[type="text"]:focus,.box input[type="password"]:focus{
width: 280px;
border-color: #2ecc71;
}
.box input[type="submit"]{
border: 0;
background: none;
display: block;
margin:20px auto;
text-align: center;

9
border: 2px solid #2ecc71;
padding: 14px 40px;
outline: none;
color: white;
border-radius: 24px;
transition: 0.25s;
cursor: pointer;
}
.box input[type="submit"]:hover{
background: #2ecc71;
}
</style>
</head>
<body>
<form class ="box" action="./Servlet">
<h1>Admin Login</h1>
User ID : <input type="text" name="userid"><br><br>
Password : <input type = "password" name="password"><br><br>
<input type="submit" value = "Login">

</form>
</body>
</html>
3.index.jsp-
This file is main file of the project because this is our student
registration page and in this we can register student with there course.After
registration of every student the record will be added in the database.
The record of the students will be display in the table on the same page.

10
<%--
Document : index
Created on : 6 Sep, 2019, 6:31:42 PM
Author : Udayveer Singh Naruka--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>


<%@page import ="java.sql.*" %>
<%
if(request.getParameter("submit")!=null)
{
String name = request.getParameter("stname");
String fname = request.getParameter("fname");
String course = request.getParameter("Course");
String fee = request.getParameter("Fee");
Connection con;
PreparedStatement pst;
ResultSet rs;
Statement stmt;

Class.forName("com.mysql.jdbc.Driver");
con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/mitrc","root","uday
veer");

stmt =con.createStatement();
rs = stmt.executeQuery("select fname from record where fname like '" +
fname + "'");
if(rs.next())

11
{

%>
<script>
alert("Record already Exist!!!");
</script>
<%
}
else
{
%>
<%
pst=con.prepareStatement("insert into record(stname,fname,course,fee)
values(?,?,?,?)");
pst.setString(1,name);
pst.setString(2, fname);
pst.setString(3,course);
pst.setString(4,fee);
pst.executeUpdate();
%>
<script>
alert("Record Added!!!");
</script>
<%
}
}
%>
<!DOCTYPE html>
12
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"
type="text/css"/>
<link href="bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<style>
</style>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div class="header">
<h1>Student Registration System</h1>
</div>
<br>
<br>
<div class="row">
<div class="col-sm-4">
<form method="POST" action="#">
<div alight="left">
<label class="form-label">Student Name</label>
<input type="text" class="form-control" placeholder="Student
Name"
name="stname" id="stname" required>
</div>
<div alight="left">
<label class="form-label">Father Name</label>

13
<input type="text" class="form-control" placeholder="Father
Name"
name="fname" id="fname" required>
</div>
<div alight="left">
<label class="form-label">Course</label>
<input type="text" class="form-control" placeholder="Course"
name="Course" id="Course" required>
</div>
<div alight="left">
<label class="form-label">Fee</label>
<input type="text" class="form-control" placeholder="Fee"
name="Fee" id="Fee" required>
</div>
<br>
<div alight="right">
<input type="submit" id ="submit" value="submit" name="submit"
class="btn btn-info">
<input type="reset" id ="reset" value="reset" name="reset"
class="btn btn-warning">
</div>
</form>
</div>
<div class="col-sm-8">
<br>
<table id="tbl-student" class="table table-responsive table-bordered"
cellpadding="10%" width="50%">
<thead>

14
<tr>
<th>Student Name</th>
<th>Father Name</th>
<th>Course</th>
<th>Fee</th>
<th>Edit</th>
<th>Delete</th>
</tr>
<%
Connection con;
PreparedStatement pst;
ResultSet rs;
Class.forName("com.mysql.jdbc.Driver");
con = DriverManager.getConnection
("jdbc:mysql://localhost:3306/mitrc","root","udayveer");
String query = "Select * from record";
Statement st = con.createStatement();
rs = st.executeQuery(query);
while(rs.next())
{
String id = rs.getString("id");
%>
<tr>
<td><%=rs.getString("stname")%></td>
<td><%=rs.getString("fname")%></td>
<td><%=rs.getString("course")%></td>
<td><%=rs.getString("fee")%></td>

15
<td><a href="updated.jsp?id=<%=id%>">Edit</a></td>
<td><a href="deleted.jsp?id=<%=id%>">Delete</a></td>
</tr>
<%
}
%>
</thead>
</table>
</div>
</div>
</body>
</html>
4.updated.jsp-
If we want to update the record of student and edit the student
information this update.jsp file is useful.After updation of record there is pop up
of the message record is updated.
<%--
Document : updated
Created on : 6 Sep, 2019, 10:45:28 PM
Author : Udayveer Singh Naruka
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import ="java.sql.*" %>
<%
if(request.getParameter("submit")!=null)
{
String id = request.getParameter("id");
String name = request.getParameter("stname");

16
String fname = request.getParameter("fname");
String course = request.getParameter("Course");
String fee = request.getParameter("Fee");
Connection con;
PreparedStatement pst;
ResultSet rs;
Class.forName("com.mysql.jdbc.Driver");
con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/mitrc","root","uday
veer");
pst=con.prepareStatement("update record set
stname=?,fname=?,course=?,fee=? where id = ?");
pst.setString(1,name);
pst.setString(2, fname);
pst.setString(3,course);
pst.setString(4,fee);
pst.setString(5,id);
pst.executeUpdate();
%>
<script>
alert("Record Updated!!!");
</script>
<%
}
%>
<!DOCTYPE html>
<html>
<head>

17
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet"
type="text/css"/>
<link href="bootstrap/css/bootstrap.css" rel="stylesheet" type="text/css"/>
<link rel="stylesheet" type="text/css" href="style.css">

</head>
<body>
<h1>Student Update</h1>

<div class="row">
<div class="col-sm-4">
<form method="POST" action="#">
<%
Connection con;
PreparedStatement pst;
ResultSet rs;
Class.forName("com.mysql.jdbc.Driver");
con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/mitrc","root","uday
veer");
String id = request.getParameter("id");
pst =con.prepareStatement("select * from record where id= ?");
pst.setString(1, id);
rs = pst.executeQuery();
while(rs.next())
{

18
%>
<div alight="left">
<label class="form-label">Student Name</label>
<input type="text" class="form-control" placeholder="Student
Name"
value="<%=rs.getString("stname")%>" name="stname"
id="stname" required>
</div>
<div alight="left">
<label class="form-label">Father Name</label>
<input type="text" class="form-control" placeholder="Father
Name"
value="<%=rs.getString("fname")%>" name="fname"
id="fname" required>
</div>
<div alight="left">
<label class="form-label">Course</label>
<input type="text" class="form-control" placeholder="Course"
name="Course"
value="<%=rs.getString("course")%>" id="Course" required>
</div>
<div alight="left">
<label class="form-label">Fee</label>
<input type="text" class="form-control" placeholder="Fee"
name="Fee"
value="<%=rs.getString("fee")%>" id="Fee" required>
</div>
<% }%>
<br>

19
<div alight="right">

<input type="submit" id ="submit" value="submit" name="submit"


class="btn btn-info">
<input type="reset" id ="reset" value="reset" name="reset"
class="btn btn-warning">

</div>
<div>
<p><a href="index.jsp">Click Back</a></p>
</div>
</form>
</div>
</div>
</body>
</html>
5.deleted.jsp-
If we want to delete the student record there is use of
file deleted.jsp .after deletion of student record there is pop up of message

<%@page contentType="text/html" pageEncoding="UTF-8"%>


<%@page import ="java.sql.*" %>
<%

String id = request.getParameter("id");

Connection con;
PreparedStatement pst;

20
ResultSet rs;
Class.forName("com.mysql.jdbc.Driver");
con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/mitrc","root","uday
veer");
pst=con.prepareStatement("delete from record where id =?");
pst.setString(1, id);
pst.executeUpdate();
%>
<script>
alert("Record Deleted!!!");
</script>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
<style>
.center
{
text-align: center;
color:#FF33C4;
font-size: 3rem;
}
</style>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>

21
<div class="center">
<h1>Record is Deleted!!!</h1>
</div>
<br>
<br>
</div>
<div>
<p><a href="index.jsp">Click Back</a></p>
</div>
</body>
</html>
6.style.css-
This is a css file used for styling in project.By the link of style.css
file we use this styling in jsp file of the project.
body{
background-color: #494c69;
}
.header{
font-family: sans-serif;
font-size: 40px;
text-align: center;
color: #FF6833;
border:2px solid #555;
}
.table th{
color: blueviolet;
}

22
Output

Admin login page


This is screenshot of Admin login page.Here admin can login with correct user
id and password .After successfully login admin will be on index.jsp page.
In the login of admin the user id and password is save in the database when
admin click on login button the user id and password is check from database.
We use servlet class for doing database connectivity.

23
Student registration page
Only admin can use this page because only admin can register student with their
course and Father’s name and course fee .when admin click on submit button
the record will added in the database and we can also see on the same page.we
can delete the student record after clicking on detete button .

Record update page


24
This is the screenshot of student record update page .Admin can update the
information of the student.After updation of record there is pop up of message
record is updated.After click on click back page we can reach on index.jsp page.

Database

25
Future Implementation

This project seeks to modernize the cumbersome traditional way to register and
provide service for freshers. We design the software so that new feature can be
added and customize them according to college need.
The existing system of registration requires many documents and application
forms to be filled out. Data has to be repeatedly entered at each stage of the
process and multiple files are made for each student. Documents are verified
with multiple copies made for record and the testing process is conducted
independently which again compounds the paperwork required. The amount of
data processing required for each stage of the process ensures that the process of
new student admission takes a long time.
The aim of this project is to build a student registration system that will
completely automate the process of new student registration in a university. The
system will handle the document submission, testing process and registration of
new students.
The system will be web based and will have two implementations i.e. client side
(student) and server side (university). The server side implementation can only
be accessed over the university intranet while the client side can be accessed
over the internet.
The proposed system will eliminate the paper trail required for the completion
of various formalities. The entire process of prospective student registration till
new student registration can be handled by this system. The testing process can
be done entirely on the system and results can be quickly judged and shared.
The presence of this system will remove ambiguity in the process that can
confuse tense prospective students.
Soon, the Software will cover all the colleges in given university for better
facilitating and navigation of student through single portal.The application also
add feature to access the online library and research paper portals by the id
generated by the software.Student Registration System will serve as the
database for the central board to manage college and students. Software will
provide valuable insight by generating graph to the board for making better
decision.

26
Reference:-
[1] Development of Student Information System- [N.M.Z. Hashim1, S.N.K.S.
Mohamed]
[2] Student Information Management System-[KapilKaushikAnkurAgarwal,
TusharSomani]
[3] Web Based Student Information Management System-
[S.R.Bharamagoudar, Geeta R.B., S.G.Totad]
[4] Design of a Comprehensive Student Information System (SIS) and User
Interface for the Honors College at USF

WEBSITES:-
[1] www.w3schools.com/aspnet/
[2] www.youtube.com
[3] www.stackoverflow.com

27

You might also like