Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 23

EMPLOYEE ATTENDANCE

MANAGEMENT SYSTEM
“CSIT-E”
PREPARED BY:-
RISHIKA KAR(1641017120)
MONALI SWAIN(1641017005)
PRITINANDA PATRA(1641017232)
MANISHA SWAIN(1641017082)
IN GUIDANCE OF:-
MITRABINDHA KHUNTIA
THE OBJECTIVES OF THIS SYSTEM
INCLUDE:
• Design of a web based attendance management
system to fulfill requirements such as project
management, leave management, report
generation to assist in performance appraisal, ESS
and employee trainings.
• Well-designed database to store employee
information.
• A user friendly front-end for the user to interact
with the system.
HARDWARE REQUIREMENTS
• EMS should be able to work on a computer with
the following minimum hardware specifications:

• OS: Windows 10
• CPU: Core i5 (7th gen.)
• Memory: 4GB and above
• Capacity: 1TB of hard drive
• Others: Network interface card, mouse,
keyboard, and monitor.
SOFTWARE REQUIREMENTS
• Since EMS application is a web-based
application, internet connection must be
established.
• The EMS software personal database model
will support MySQL environment as DBMS
FUNCTIONAL REQUIREMENTS:
Authentication
• Login- The user can login to the web based attendance management system with
his/her username and password.
• Logout- The user can log out from the web based attendance management
system.
• Login failure- If the user does not exist in the database or the user has not yet
being authorized by the admin.
Authorization
• User role check- After logging in, the user role will be checked from the database
and the user interface will be displayed according to their role.
Process Data
• Display- User with defined roles can display the content of the database. Being
more specific, employee can only view his/her personal information. HOD can not
only see his/her personal information but also employee’s information who are
under his/her department . Admin can display employees personal information .
• Search- User with Dean/HOD role can search the content of database for the
employees’ who are under his/her coverage. HR and admin roles can search all the
employees’ information in the database.
Back-end Technology-I
JavaServer Pages

• JavaServer Pages (JSP) is a technology that helps


software developers create dynamically
generated web pages based on HTML,XML,
CSS.JSP was released in 1999 by Sun
Microsystems, but it uses the Java programming
language.
• To deploy and run JavaServer Pages, a compatible
web server with a servlet container, such as
Apache Tomcat or Jetty, is required.
Back-end Technology- II
Database Management System
(MySQL)
• MySQL is an open source database that is
platform independent and can easily interface
with a number of scripting languages, it works
best with PHP though.
• The number of advantages of using MySQL which
include, the ability to handle stored procedures,
triggers, SQL and User-Defined functions.
• It also offers a high-speed data load utility and
support for various drivers (ODBC, JDBC, .NET,
PHP).
FRONT END TECHNOLOGIES - I
Front end-is a term used to characterize program interfaces and services
relative to the initial user of these interface and services.

HyperText Markup Language (HTML)


• HTML is a computer language devised to allow
website creation.
• These websites can then be viewed by anyone
else connected to the Internet.
• It is relatively easy to learn, with the basics being
accessible to most people in one sitting; and
quite powerful in what it allows to create.
FRONT END TECHNOLOGIES - II
• Cascading Style Sheets (CSS)
• CSS is a style sheet language used to describe
presentation and layout of HTML tags.
• CSS is used to enable separation of document
content from document presentation.
• This refers to the separation of document
presentation aspects such as colors, layouts and
fonts from the actual document content.
• CSS helps us achieve layout design and control
much easier.
Code: Index.jsp
</head>
<body background="wallk.jpg">
<h1><center>Login</center></h1>
<center><imgsrc="2.png" width="75" height="75" ></center>
<h1><center>Enter Admin Details</center></h1>
<center>
<form action="IndexServlet" method="post">
<p><br/>
</p>
<p class="style1"><imgsrc="2.png" height="20" width="20"><strong>Password</strong>:
<input type="password" name="password">
<br/>
</p>
<p>
<input type="submit" value="Submit">
</p>
</form>
<p><br/>
</p>
<%
String t = (String)request.getParameter("msg");
if(t != null)
out.println(t);
%>
</center>
</body></html>
Up.jsp
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="java.sql.DriverManager"%>
<html>
<body>
<%
try
{
String id=request.getParameter("t");
String res=request.getParameter("t2");
int ide=Integer.parseInt(id);
Class.forName("com.mysql.jdbc.Driver");
Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/att","root","password");
PreparedStatement pst1=con.prepareStatement("select * from lve where id='"+ide+"'");
ResultSetrs=pst1.executeQuery();
if(rs.next())
{
request.setAttribute("x","ID "+id+" already on leave");
RequestDispatcherrd=getServletContext().getRequestDispatcher("/up.jsp");
rd.forward(request, response);
}
else{
PreparedStatementpst=con.prepareStatement("i
nsert into lve values(?,?)");
pst.setString(1,id);
pst.setString(2,res);
inti=pst.executeUpdate();
if(i>0){
request.setAttribute("x","Data Uploaded
Sucessfully");
}
RequestDispatcherrd=getServletContext().getR
equestDispatcher("/chooselev.jsp");
rd.forward(request, response);
}
}
catch(Exception e)
{
out.println(e);
}
%>
</body>
</html>
ViewUser.jsp
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="java.sql.DriverManager"%>
<html>
<body background="wall.jpg">
<br><imgsrc="Logo.png" width="75" height="75" >
<a href='login.jsp?t1=<%=(String)session.getAttribute("name")%>'><img src="6.png" width="75"
height="75" ></a>
<a href='logout.jsp'><imgsrc="5.png" width="75" height="75" align="right"></a><br><br>
<center><imgsrc="8.jpg" width="150" height="150" ></center>
<center><h1>View All Employees</h1></center>
<center><pre>
<table border="1" bgcolor="yellow">
<tr>
<th>ID</th>
<th>Name</th>
<th>Age</th>
<th>Total Days</th>
<th>Present</th>
</tr>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection
con=DriverManager.getConnection("jdbc:mysql://localhost:3306/att","root","p
assword");
PreparedStatementpst=con.prepareStatement("select * from employee");
ResultSetrs=pst.executeQuery();
while(rs.next()!=false)
{
%>
<tr>
<th><%=rs.getString(1)%></th>
<th><%=rs.getString(2)%></th>
<th><%=rs.getString(3)%></th>
<th><%=rs.getString(4)%></th>
<th><%=rs.getString(5)%></th>
</tr>
<%
}
}
catch(Exception e)
{
out.println(e);
}
%>
</table>
</pre></center>
</body>
</html>
Conclusion
The Attendance Management System is developed using JSP, CSS & Advance
Java Framework fully meets the objectives of the system for which it has been
developed. The system has reached a steady state where all bugs have been
eliminated. The system is operated at a high level of efficiency and all the
employees and users associated with the system hopefully will understand its
advantage. The system solves the problem. It was intended to solve as
requirement specification.
THANK YOU !!

You might also like