Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
SlideShare a Scribd company logo
Caste a vote online
Index
 Introduction to the Project
 Action Mapping
 Struts
 Struts Action Form
 Flow Chart Of Struts Action Form
 Struts.config.xml
 Java Server Pages (JSP)
 Types of scriplet elements
 Hyper Text Markup Language ( Html )
 Tiles
 Tile.def.xml
 DataBase
 MYSQL
Continued
…..
 Biometric Authentication:
 Finger Print Verification
 Disadvantages of Biometrics
 Advantages of Biometrics
 System Implementation
 Software Requirements & Hardware Requirements
 Software used
 Hardware used
 Conclusion
 References
 The main objective to develop this project is to make covenient for the
people to vote sitting at Home rather standing in Queue.
 In this project we had implemented 4 modules that are
• Administrator
• Election Commission Board
• Candidate
• Voter
1. Administrator will has a control over entire Application.
2. Election Commission Board has a authentication to reject and
accept the candidate
3. Candidates will register themselves can update there information .
4. Voter will vote to the candidate to whom they want to vote
 Login of Voter associated with FingerPrint verification to make it
more secure than a password
Introduction
The project is a web application
There are two Key Component in a Web Application
1) The Data & Business Logic performed on this Data
2) The Presentation of Data
The project is mainly based on J2EE which we are studying in our VIIth
semester.
JSP and Struts are used in developing the Web Project

About
Struts and JSPs
which is used in developing the
Web Project
Struts
Struts is categorized as a request-based web application framework
Struts 2 was originally known as WebWork 2.
Struts Action Form
An ActionForm is a JavaBean that extends org.apache.struts.action.ActionForm
ActionForm maintains the session state for web application and the ActionForm
object is automatically populated on the server side with data entered from a form
on the client side.
Struts.config.xml
The main control file in the Struts framework is the struts-config.xml XML file,where
action mappings are specified.
The Action-mappings—A set of action elements describing a request-to-action
mapping
The Form-beans—A set of form-bean elements that describe the form beans that
this application uses
Caste a vote online
• top-level element is struts-config. Basically, it consists of the following
elements:
– Data-sources—A set of data-source elements, describing parameters needed
to instantiate JDBC 2.0 Standard Extension DataSource objects
– Global-forwards—A set of forward elements describing general available
forward URIs
Struts Action Form
Flow Chart
 A server-side technology, JSPs are an extension to the Java servlet
technology that was developed by Sun.
 JSPs have dynamic scripting capability that works with HTML code,
separating the page logic from the static elements “ the actual design and
display of the page“ to help make the HTML more functional ( i.e. dynamic
database queries).
 JSPs are not restricted to any specific platform or server.
 It was orignially created as an alternative to Microsoft's ASPs (Active
Server Pages).
 Architecturally , JSP may be viewed as a high-level abstraction of Java
servlets.
 Page being compiled and executed on the server to deliver an HTML or XML
document.
Java Server Pages ( JSP )
 It is a standard for producing secure, scalable, and high availability
enterprise applications.
 The 2 in the acronym J2EE stands for “ Version 2 ”.
 A Platform independent language.
 Components that deliver Web-based user interfaces
 Components to encapsulate business processes
 Access to data in corporate data stores
 Connectivity to other data sources and legacy system
 Support for XML , language of B2B e-commerce
Java 2 Enterprise Edition (J2EE)
• There are 3 types of elements
 Directive Elements
Start with an opening <%@ tag and end with %> tag
<%@ directive (attributes =“values”)* %>
 Scripting Elements of 3-types-
1. Scriplets
Start with an opening <% tag and end with %> tag
2. Declaration
Start with an opening <%! tag and end with %> tag
3. Experation
Start with an opening <%= tag and end with %> tag
 Action Elements
Jsp:
Java 2 Enterprise Edition (J2EE)
 Html is a language for describing web pages .
 Html is not a programming language , it is a markup language.
 A markup language is a set of markup tags.
 The markup tags describes how text should be displayed.
 Html tags are not case sensitive .
 Html tags generally come in a pair
For example : Start tag <b> and end tag </b> here ‘ b ’ is for bold
 Basic Html Document :
<html>
<head > <title> First Document </title> </head>
<body style={fontcolor: red}> <p> This is my first paragraph
<a href= www.info.com>information</a> </p>
</body>
</html>
Hyper Text Markup Language(Html)
Tiles.def.xml
In tiles-def.xml we can define the definations which specifies the
different components to plugin to generate output.
Resource bundle. properties maintains messages used in the struts
project.
The Tiles Framework is an advanced version of that comes
bundled with the Struts Web application framework.
Its purpose is reduce the duplication between jsp pages as well as
make layouts flexible and easy to maintain.
It integrates with Struts using the concept of named views or
definitions.
Validation.xml
Maintains the validation code for validating form beans.
 MySQL is a relational database management system (RDBMS)that runs
as a server providing multi-user access to a number of databases.
 MySQL is officially pronounced /maɪˌɛskju:ˈɛl/ ("My S-Q-L"), but is often
also pronounced /maɪˈsi:kwəl/ ("My Sequel").
 It is named for original developer Michael Widenius' daughter My.
 The SQL phrase stands for Structured Query Language.
DataBase
Biometric
“ Biometrics is the identification or verification of human identity
through the measurement of repeatable physiological and behavioural
characteristics”
Biometrics can be sorted into two classes:
•Physiological-
Examples-face, fingerprints, hand geometry and iris Recognition ,DNA.
•Behavioural-
Examples-signature and voice.
FingerPrint Verification
For fingerprint Recognition look at:
1) Friction ridges.
2) Core
3) Crossover
4) Delta
5) Island
6) Ridge Ending
7) Pore
3-types of design
1) An Arch pattern where the ridges enter from one side of the finger, rise in
the center forming an arc, and then exit the other side of the finger.
2) The Loop pattern where the ridges enter from one side of a finger, form a
curve, and tend to exit from the same side they enter.
3) The Whorl pattern, ridges form circularly around a central point on the
finger.
1. 3.2.
• Uses ridge endings ,bifurcations on a person’s finger to plot points know as
Minutiae.
• The number and locations of the minutiae vary from finger to finger in any
particular person, and from person to person for any particular finger.
Minutiae
Finger Image + Minutiae
Minutiae
Caste a vote online
The finger print of those people working in Chemical industries are often affected.
Therefore these companies should not use the finger print mode of authentication.
Biometrics is an expensive security solution.
Disadvantages of Biometrics :
Advantages of Biometrics :
•Biometric identification can provide extremely accurate, secured access to
information; fingerprints, retinal and iris scans produce absolutely unique data sets
when done properly.
•Current methods like password verification have many problems (people write them
down, they forget them, they make up easy-to-hack passwords)
•Your identity can be verified without resort to documents that may be stolen, lost or
altered.
Databases are most useful when it comes to storing information that fits
into logical categories
A database is a structure that comes in two flavours:
1. A flat database
Flat database that are just stored on hard drives like a text file.
2. A relational database.
In a relational structured database there are tables that store data.
MySQL is a relational database.
DataBase
System Implementation
Software & Hardware Requirements
Hardware selection for any system generally means that
what is the amount of main memory required, how much should be the
minimum hard disk space etc. So for implementing “DIJKSTRA ALGORITHM”
requires a computer of at least 128 MB main memory and hard disk space of
at least 4GB.
Similarly Software requirements for this system are Window XP
as Operating System. The configuration of the system on which this Algo is
developed is
Main Memory 3 GB
Main Processor Intel CORE2DUO 2.87GHz
Hard Disk 250 GB
Software Requirements
Software Used
• Operating System : Windows
Xp
O
• Software Require: NetBeans
• Platform Used : Java (JSP &
Struts)
• DataBase Used : MySQL
Hardware Requirements
Hardware Used
 Laptop
 A4 pages of good quality
 CD : Sony
 Black Ink & Colored Ink
 DVD Writer
 Printer : hp
End Of Slide
Thank You For Your Patience

More Related Content

Caste a vote online

  • 2. Index  Introduction to the Project  Action Mapping  Struts  Struts Action Form  Flow Chart Of Struts Action Form  Struts.config.xml  Java Server Pages (JSP)  Types of scriplet elements  Hyper Text Markup Language ( Html )  Tiles  Tile.def.xml  DataBase  MYSQL Continued …..
  • 3.  Biometric Authentication:  Finger Print Verification  Disadvantages of Biometrics  Advantages of Biometrics  System Implementation  Software Requirements & Hardware Requirements  Software used  Hardware used  Conclusion  References
  • 4.  The main objective to develop this project is to make covenient for the people to vote sitting at Home rather standing in Queue.  In this project we had implemented 4 modules that are • Administrator • Election Commission Board • Candidate • Voter 1. Administrator will has a control over entire Application. 2. Election Commission Board has a authentication to reject and accept the candidate 3. Candidates will register themselves can update there information . 4. Voter will vote to the candidate to whom they want to vote  Login of Voter associated with FingerPrint verification to make it more secure than a password Introduction
  • 5. The project is a web application There are two Key Component in a Web Application 1) The Data & Business Logic performed on this Data 2) The Presentation of Data The project is mainly based on J2EE which we are studying in our VIIth semester. JSP and Struts are used in developing the Web Project 
  • 6. About Struts and JSPs which is used in developing the Web Project
  • 7. Struts Struts is categorized as a request-based web application framework Struts 2 was originally known as WebWork 2. Struts Action Form An ActionForm is a JavaBean that extends org.apache.struts.action.ActionForm ActionForm maintains the session state for web application and the ActionForm object is automatically populated on the server side with data entered from a form on the client side. Struts.config.xml The main control file in the Struts framework is the struts-config.xml XML file,where action mappings are specified. The Action-mappings—A set of action elements describing a request-to-action mapping The Form-beans—A set of form-bean elements that describe the form beans that this application uses
  • 9. • top-level element is struts-config. Basically, it consists of the following elements: – Data-sources—A set of data-source elements, describing parameters needed to instantiate JDBC 2.0 Standard Extension DataSource objects – Global-forwards—A set of forward elements describing general available forward URIs
  • 11.  A server-side technology, JSPs are an extension to the Java servlet technology that was developed by Sun.  JSPs have dynamic scripting capability that works with HTML code, separating the page logic from the static elements “ the actual design and display of the page“ to help make the HTML more functional ( i.e. dynamic database queries).  JSPs are not restricted to any specific platform or server.  It was orignially created as an alternative to Microsoft's ASPs (Active Server Pages).  Architecturally , JSP may be viewed as a high-level abstraction of Java servlets.  Page being compiled and executed on the server to deliver an HTML or XML document. Java Server Pages ( JSP )
  • 12.  It is a standard for producing secure, scalable, and high availability enterprise applications.  The 2 in the acronym J2EE stands for “ Version 2 ”.  A Platform independent language.  Components that deliver Web-based user interfaces  Components to encapsulate business processes  Access to data in corporate data stores  Connectivity to other data sources and legacy system  Support for XML , language of B2B e-commerce Java 2 Enterprise Edition (J2EE)
  • 13. • There are 3 types of elements  Directive Elements Start with an opening <%@ tag and end with %> tag <%@ directive (attributes =“values”)* %>  Scripting Elements of 3-types- 1. Scriplets Start with an opening <% tag and end with %> tag 2. Declaration Start with an opening <%! tag and end with %> tag 3. Experation Start with an opening <%= tag and end with %> tag  Action Elements Jsp:
  • 14. Java 2 Enterprise Edition (J2EE)
  • 15.  Html is a language for describing web pages .  Html is not a programming language , it is a markup language.  A markup language is a set of markup tags.  The markup tags describes how text should be displayed.  Html tags are not case sensitive .  Html tags generally come in a pair For example : Start tag <b> and end tag </b> here ‘ b ’ is for bold  Basic Html Document : <html> <head > <title> First Document </title> </head> <body style={fontcolor: red}> <p> This is my first paragraph <a href= www.info.com>information</a> </p> </body> </html> Hyper Text Markup Language(Html)
  • 16. Tiles.def.xml In tiles-def.xml we can define the definations which specifies the different components to plugin to generate output. Resource bundle. properties maintains messages used in the struts project. The Tiles Framework is an advanced version of that comes bundled with the Struts Web application framework. Its purpose is reduce the duplication between jsp pages as well as make layouts flexible and easy to maintain. It integrates with Struts using the concept of named views or definitions. Validation.xml Maintains the validation code for validating form beans.
  • 17.  MySQL is a relational database management system (RDBMS)that runs as a server providing multi-user access to a number of databases.  MySQL is officially pronounced /maɪˌɛskju:ˈɛl/ ("My S-Q-L"), but is often also pronounced /maɪˈsi:kwəl/ ("My Sequel").  It is named for original developer Michael Widenius' daughter My.  The SQL phrase stands for Structured Query Language. DataBase
  • 18. Biometric “ Biometrics is the identification or verification of human identity through the measurement of repeatable physiological and behavioural characteristics” Biometrics can be sorted into two classes: •Physiological- Examples-face, fingerprints, hand geometry and iris Recognition ,DNA. •Behavioural- Examples-signature and voice.
  • 19. FingerPrint Verification For fingerprint Recognition look at: 1) Friction ridges. 2) Core 3) Crossover 4) Delta 5) Island 6) Ridge Ending 7) Pore
  • 20. 3-types of design 1) An Arch pattern where the ridges enter from one side of the finger, rise in the center forming an arc, and then exit the other side of the finger. 2) The Loop pattern where the ridges enter from one side of a finger, form a curve, and tend to exit from the same side they enter. 3) The Whorl pattern, ridges form circularly around a central point on the finger. 1. 3.2.
  • 21. • Uses ridge endings ,bifurcations on a person’s finger to plot points know as Minutiae. • The number and locations of the minutiae vary from finger to finger in any particular person, and from person to person for any particular finger. Minutiae Finger Image + Minutiae Minutiae
  • 23. The finger print of those people working in Chemical industries are often affected. Therefore these companies should not use the finger print mode of authentication. Biometrics is an expensive security solution. Disadvantages of Biometrics : Advantages of Biometrics : •Biometric identification can provide extremely accurate, secured access to information; fingerprints, retinal and iris scans produce absolutely unique data sets when done properly. •Current methods like password verification have many problems (people write them down, they forget them, they make up easy-to-hack passwords) •Your identity can be verified without resort to documents that may be stolen, lost or altered.
  • 24. Databases are most useful when it comes to storing information that fits into logical categories A database is a structure that comes in two flavours: 1. A flat database Flat database that are just stored on hard drives like a text file. 2. A relational database. In a relational structured database there are tables that store data. MySQL is a relational database. DataBase
  • 25. System Implementation Software & Hardware Requirements Hardware selection for any system generally means that what is the amount of main memory required, how much should be the minimum hard disk space etc. So for implementing “DIJKSTRA ALGORITHM” requires a computer of at least 128 MB main memory and hard disk space of at least 4GB. Similarly Software requirements for this system are Window XP as Operating System. The configuration of the system on which this Algo is developed is Main Memory 3 GB Main Processor Intel CORE2DUO 2.87GHz Hard Disk 250 GB
  • 26. Software Requirements Software Used • Operating System : Windows Xp O • Software Require: NetBeans • Platform Used : Java (JSP & Struts) • DataBase Used : MySQL
  • 27. Hardware Requirements Hardware Used  Laptop  A4 pages of good quality  CD : Sony  Black Ink & Colored Ink  DVD Writer  Printer : hp
  • 28. End Of Slide Thank You For Your Patience