Se Project
Se Project
Se Project
ON
In
Bachelor of Computer Applications
Of
BANGALORE UNIVERSITY
Submitted By
PRAVALIKA J
REG.NO.15VFSB7040
Website: www.newhorizonindia.edu
• ___________________
• ___________________
ACKNOWLEDGEMENT
INDEX
CHAPTERS PAGE NO
1.1. INTRODUCTION 6
1.2 ABSTRACT 6
2.3.5. INTRODUCTION TO
JAVASCRIPT 16
BIBLIOGRAPHY 135
01.INTRODUCTION
This is RTO office management system created for RTO to maintain all records like vehicle
registration such as 2 wheelers, 3 wheelers registration, LMV, HMV, Learning licenses and
permanent licenses etc. These are the main activities of RTO office. This application manages all
the data of the registered user and his vehicles.In RTO Management System administrator has
the power to verify the data entered by the user, processing of data and provide appropriate
solutions.
1-Users
2- RTO Officer
3-Admin
1-Any person who have been authorized by the administrator. An authorized user should have a
user name and password to access detailed information from the site excluding or accessing
general information in shared, public pages.
2-User is the person who gets the full benefits of this application. By introducing the new system
we have been organized some striking felicities. Registration of vehicle through online.Complete
RTO facilities are available .This system will maintain and manage day to day operation very
smoothly with minimum errors.This software provides facility for searching a particular vehicles
detail.
4-Vehicle registration module: Two wheeler, Three Wheeler, Light motor Vehicle (LMV) and
Heavy motor vehicle (HMV) and others. To register a vehicle through this software user has to
provide all the details of vehicles including vehicle number, makers name, body type, Vehicle
owner, address, chassis number, registration date, etc
5-Licence module: Learner license, driving license, Changing address of license. It has options
to apply the license and renew the license.
6-Tax module: This module is used to entry the records of tax.manager and user should be able
to view tax record.
7-Renewal module: This module helps to renew vehicle registration records.
8-Transfer module: This is a vehicle transfer module which is used to change the ownership of
the vehicle. Manager should be able to update vehicle owner details.
9-Application should be able to maintain admin panel where admin can view, search and Update
any information.
Technical Requirements
1.Create a detailed UML diagram (Component, Sequence, and Class) for the OSMS and its
subcomponents using RSA7.5.
2. Deploy the solution using Web-Sphere Application Server tool-kit which serves dual purpose
i.e. as an IDE as well as an application server.
3. DB2 Database.
• To promote the exchange and development of methods and tools for operational analysis
as applied to defense problems.
Logical design
The logical design of a system pertains to an abstract representation of the data flows,
inputs and outputs of the system. This is often conducted via modeling, using an over-abstract
(and sometimes graphical) model of the actual system. In the context of systems design are
included. Logical design includes ER Diagrams i.e. Entity Relationship Diagrams
Physical design
The physical design relates to the actual input and output processes of the system. This is
laid down in terms of how data is input into a system, how it is verified / authenticated, how it is
processed, and how it is displayed as output. In Physical design, following requirements about
the system are decided.
• Input requirement,
• Output requirements,
• Storage requirements,
• Processing Requirements,
Put another way, the physical portion of systems design can generally be broken down into three
sub-tasks:
• Data Design
• Process Design
User Interface Design is concerned with how users add information to the system and
with how the system presents information back to them. Data Design is concerned with how the
data is represented and stored within the system. Finally, Process Design is concerned with how
data moves through the system, and with how and where it is validated, secured and/or
transformed as it flows into, through and out of the system. At the end of the systems design
phase, documentation describing the three sub-tasks is produced and made available for use in
the next phase.
Physical design, in this context, does not refer to the tangible physical design of an
information system. To use an analogy, a personal computer's physical design involves input via
a keyboard, processing within the CPU, and output via a monitor, printer, etc. It would not
concern the actual layout of the tangible hardware, which for a PC would be a monitor, CPU,
motherboard, hard drive, modems, video/graphics cards, USB slots, etc. It involves a detailed
design of a user and a product database structure processor and a control processor. The H/S
personal specification is developed for the proposed system.
Objectives
Input Design is the process of converting a user-oriented description of the input into a
computer-based system. This design is important to avoid errors in the data input process and
show the correct direction to the management for getting correct information from the
computerized system.
It is achieved by creating user-friendly screens for the data entry to handle large volume
of data. The goal of designing input is to make data entry easier and to be free from errors. The
data entry screen is designed in such a way that all the data manipulates can be performed. It also
provides record viewing facilities.
When the data is entered it will check for its validity. Data can be entered with the help of
screens. Appropriate messages are provided as when needed so that the user will not be in maize
of instant. Thus the objective of input design is to create an input layout that is easy to follow
Output Design
A quality output is one, which meets the requirements of the end user and presents the
information clearly. In any system results of processing are communicated to the users and to
other system through outputs. In output design it is determined how the information is to be
displaced for immediate need and also the hard copy output. It is the most important and direct
source information to the user. Efficient and intelligent output design improves the system‟s
relationship to help user decision-making.
• Designing computer output should proceed in an organized, well thought out manner; the
right output must be developed while ensuring that each output element is designed so
that people will find the system can use easily and effectively. When analysis design
computer output, they should Identify the specific output that is needed to meet the
requirements.
• Select methods for presenting information.
• Create document, report, or other formats that contain information produced by the
system.
The output form of an information system should accomplish one or more of the following
objectives.
• Convey information about past activities, current status or projections of the future.
• Signal important events, opportunities, problems, or warnings.
• Trigger an action.
• Confirm an action.
These requirements are fully described in the primary deliverables for this stage: the
Requirements Document and the Requirements Traceability Matrix (RTM). the requirements
document contains complete descriptions of each requirement, including diagrams and
references to external documents as necessary. Note that detailed listings of database tables and
fields are not included in the requirements document. The title of each requirement is also placed
into the first version of the RTM, along with the title of each goal from the project plan. The
purpose of the RTM is to show that the product components developed during each stage of the
software development lifecycle are formally connected to the components developed in prior
stages.
In the requirements stage, the RTM consists of a list of high-level requirements, or goals,
by title, with a listing of associated requirements for each goal, listed by requirement title. In this
hierarchical listing, the RTM shows that each requirement developed during this stage is
formally linked to a specific product goal. In this format, each requirement can be traced to a
specific product goal, hence the term requirements traceability. The outputs of the requirements
definition stage include the requirements
document, the RTM, and an updated project plan.
Design Stage:
The design stage takes as its initial input the requirements identified in the approved
requirements document. For each requirement, a set of one or more design elements will be
produced as a result of interviews, workshops, and/or prototype efforts. Design elements
describe the desired software features in detail, and generally include functional hierarchy
diagrams, screen layout diagrams, tables of business rules, business process diagrams, pseudo
code, and a complete entity-relationship diagram with a full data dictionary. These design
elements are intended to describe the software in sufficient detail that skilled programmers may
develop the software with minimal additional input.
When the design document is finalized and accepted, the RTM is updated to show that
each design element is formally associated with a specific requirement. The outputs of the design
stage are the design document, an updated RTM, and an updated project plan.
Development Stage:
The development stage takes as its primary input the design elements described in the
approved design document. For each design element, a set of one or more software artifacts will
be produced. Software artifacts include but are not limited to menus, dialogs, data management
forms, data reporting formats, and specialized procedures and functions. Appropriate test cases
will be developed for each set of functionally related software artifacts, and an online help
system will be developed to guide users in their interactions with the software.
The RTM will be updated to show that each developed artifact is linked to a specific design
element, and that each developed artifact has one or more corresponding test case items. At this
point, the RTM is in its final configuration. The outputs of the development stage include a fully
functional set of software that satisfies the requirements and design elements previously
documented, an online help system that describes the operation of the software, an
implementation map that identifies the primary code entry points for all major system functions,
a test plan that describes the test cases to be used to validate the correctness and completeness of
the software, an updated RTM, and an updated project plan.
Architecture Flow:
Below architecture diagram represents mainly flow of request from the users to database
through servers. In this scenario overall system is designed in three tiers separately using three
layers called presentation layer, business layer, data link layer. This project was developed using
3-tier architecture.
3-Tier Architecture:
The three-tier software architecture (a three layer architecture) emerged in the 1990s to
overcome the limitations of the two-tier architecture. The third tier (middle tier server) is
between the user interface (client) and the data management (server) components. This middle
tier provides process management where business logic and rules are executed and can
accommodate hundreds of users (as compared to only 100 users with the two tier architecture) by
providing functions such as queuing, application execution, and database staging.
The three tier architecture is used when an effective distributed client/server design is
needed that provides (when compared to the two tier) increased performance, flexibility,
maintainability, reusability, and scalability, while hiding the complexity of distributed processing
from the user. These characteristics have made three layer architectures a popular choice for
Internet applications and net-centric information systems
Advantages of Three-Tier:
Technical feasibility:
In the technical feasibility study, one has to test whether the proposed system can be
developed using existing technology or not. It is planned to implement the proposed system in
JSP. The project entitled is technically feasible because of the following reasons.
• All necessary technology exists to develop the system.
• The existing system is so flexible that it can be developed further.
Economic feasibility:
As a part of this, the costs and benefits associated with the proposed systems are to be
compared. The project is economically feasible only if tangible and intangible benefits outweigh
the cost. We can say the proposed system is feasible based on the following grounds.
Operational feasibility:
The project is operationally feasible because there is sufficient support from the project
management and the users of the proposed system .Proposed system definitely does not harm
and will not produce the bad results and no problem will arise after implementation of the
system.
User-friendly
Customer will use the forms for their various transaction i.e. for adding new routes,
viewing the routes details. Also the Customer wants the reports to view the various transactions
based on the constraints. Theses forms and reports are generated as user-friendly to the Client.
Reliability
The package wills pick-up current transactions on line. Regarding the old transactions,
User will enter them in to the system.
Security
The web server and database server should be protected from hacking, virus etc.
Availability
This software will be available always.
Java is a programming language created by James Gosling from Sun Microsystems in 1991. The
first publicly available version of Java (Java 1.0) was released in 1995. Over time new enhanced
versions of Java have been released. The current version of Java is Java 1.7 which is also known
as Java 7.
From the Java programming language the Java platform evolved. The Java platform
allows that the program code is written in other languages than the Java programming language
and still runs on the Java virtual machine.
Java programs are compiled by the Java compiler into so-called byte code. The Java virtual
machine interprets this byte code and executes the Java program.
Each public class must be in a file having the class name (case sensitive on Unix)
followed by a .java suffix. There may be any number of classes defined in a .java file, but the
compiler produces a separate .class file for each class. A file is compiled with the javac
command, which is similar to the cc (or gcc) command. A class is executed (or more precisely,
the method main in a class is executed) by the command java with the class name (not the .class
file) as the parameter. Thus, for example, to compile the program in file Hi.java, we would use
the command
javac Hi.java
and then to execute the program we would use the command
java Hi
Both compile-time and execution-time (exceptions) error messages include the file name and line
where the error occurred. No .class file is produced if there is a compile-time error.
Characteristics of Java
The target of Java is to write a program once and then run this program on multiple operating
systems.
• Platform independent: Java programs use the Java virtual machine as abstraction and do
not access the operating system directly. This makes Java programs highly portable. A
Java program which is standard complaint and follows certain rules can run unmodified
on all supported platforms, e.g. Windows or Linux.
• Object-orientated programming language: Except the primitive data types, all elements in
Java are objects.
• Strongly-typed programming language: Java is strongly-typed, e.g. the types of the used
variables must be pre-defined and conversion to other objects is relatively strict, e.g. must
be done in most cases by the programmer.
• Interpreted and compiled language: Java source code is transferred into the byte code
format which does not depend on the target platform. These byte code instructions will be
interpreted by the Java Virtual machine (JVM). The JVM contains a so called Hotspot-
Compiler which translates performance critical byte code instructions into native code
instructions.
• Automatic memory management: Java manages the memory allocation and de-allocation
for creating new objects. The program does not have direct access to the memory. The
so-called garbage collector deletes automatically objects to which no active pointer
exists.
The Java syntax is similar to C++. Java is case sensitive, e.g. the variables my Value and my
value will be treated as different variables.
At some point the programmer (or the IDE) calls the Java compiler (javac). The Java compiler
creates the byte code instructions. . These instructions are stored in .class files and can be
executed by the Java Virtual Machine.
J2SE
J2SE is a collection of Java Programming Language API (Application programming
interface) that is very useful to many Java platform programs. It is derived from one of the most
dynamic programming language known as "JAVA"
J2SE platform has been developed under the Java umbrella and primarily used for writing
applets and other Java-based applications. It is mostly used for individual computers. Applet is a
type of fast-working subroutine of Java that is platform-independent but work within other
frameworks. It is a mini application that perform a variety of functions, large and small, ordinary
and dynamic, within the framework of larger applications.
J2SE provide the facility to users to see Flash movies or hear audio files by clicking on a
Web page link. As the user clicks, page goes into the browser environment and begin the process
of launching application-within-an-application to play the requested video or sound application.
So many online games are being developed on J2SE. JavaBeans can also be developed by using
J2SE.
J2EE
Java 2 Platform Enterprise Edition. J2EE is a platform-independent, Java-centric environment
from Sun for developing, building and deploying Web-based enterprise applications online. The
J2EE platform consists of a set of services, APIs, and protocols that provide the functionality for
developing multitier, Web-based applications.
• At the client tier, J2EE supports pure HTML, as well as Java applets or applications. It
relies on Java Server Pages and servlet code to create HTML or other formatted data for
the client.
• Enterprise JavaBeans (EJBs) provide another layer where the platform's logic is stored.
An EJB server provides functions such as threading, concurrency, security and memory
management. These services are transparent to the author.
• Java Database Connectivity (JDBC), which is the Java equivalent to ODBC, is the
standard interface for Java databases.
• The Java servlet API enhances consistency for developers without requiring a graphical
user interface.
2.4 JDBC
JDBC stands for Java Database Connectivity, which is a standard Java API for database-
independent connectivity between the Java programming language and a wide range of
databases.
The JDBC library includes APIs for each of the tasks commonly associated with database
usage:
• Java Applications
• Java Applets
• Java Servlets
All of these different executables are able to use a JDBC driver to access a database and
take advantage of the stored data.
JDBC provides the same capabilities as ODBC, allowing Java programs to contain
database-independent code.
JDBC Architecture:
The JDBC API supports both two-tier and three-tier processing models for database
access but in general JDBC Architecture consists of two layers:
The JDBC API uses a driver manager and database-specific drivers to provide transparent
connectivity to heterogeneous databases.The JDBC driver manager ensures that the correct
driver is used to access each data source. The driver manager is capable of supporting multiple
concurrent drivers connected to multiple heterogeneous databases.
Following is the architectural diagram, which shows the location of the driver manager
with respect to the JDBC drivers and the Java application.
Common JDBC Components:
• Driver: This interface handles the communications with the database server. You will
interact directly with Driver objects very rarely. Instead, you use DriverManager objects,
which manages objects of this type. It also abstracts the details associated with working
with Driver objects
• Connection : This interface with all methods for contacting a database. The connection
object represents communication context, i.e., all communication with database is
through connection object only.
• Statement : You use objects created from this interface to submit the SQL statements to
the database. Some derived interfaces accept parameters in addition to executing stored
procedures.
• ResultSet: These objects hold data retrieved from a database after you execute an SQL
query using Statement objects. It acts as an iterator to allow you to move through its data.
• SQLException: This class handles any errors that occur in a database application.
JDBC drivers implement the defined interfaces in the JDBC API for interacting with your
database server.For example, using JDBC drivers enable you to open database connections and
to interact with it by sending SQL or database commands then receiving results with Java.
The Java.sql package that ships with JDK contains various classes with their behaviours
defined and their actual implementaions are done in third-party drivers. A third party vendor
implements the java.sql.Driver interface in their database driver.
JDBC driver implementations vary because of the wide variety of operating systems and
hardware platforms in which Java operates. Sun has divided the implementation types into four
categories, Types 1, 2, 3, and 4, which is explained below:
In a Type 1 driver, a JDBC bridge is used to access ODBC drivers installed on each client
machine. Using ODBC requires configuring on your system a Data Source Name (DSN) that
represents the target database.
When Java first came out, this was a useful driver because most databases only supported
ODBC access but now this type of driver is recommended only for experimental use or when no
other alternative is available.
The JDBC-ODBC bridge that comes with JDK 1.2 is a good example of this kind of driver.
In a Type 2 driver, JDBC API calls are converted into native C/C++ API calls which are unique
to the database. These drivers typically provided by the database vendors and used in the same
manner as the JDBC-ODBC Bridge, the vendor-specific driver must be installed on each client
machine.
If we change the Database we have to change the native API as it is specific to a database and
they are mostly obsolete now but you may realize some speed increase with a Type 2 driver,
because it eliminates ODBC's overhead.
The Oracle Call Interface (OCI) driver is an example of a Type 2 driver.
In a Type 3 driver, a three-tier approach is used to accessing databases. The JDBC clients
use standard network sockets to communicate with an middleware application server. The socket
information is then translated by the middleware application server into the call format required
by the DBMS, and forwarded to the database server.
This kind of driver is extremely flexible, since it requires no code installed on the client and a
single driver can actually provide access to multiple databases.
You can think of the application server as a JDBC "proxy," meaning that it makes calls
for the client application. As a result, you need some knowledge of the application server's
configuration in order to effectively use this driver type.
Your application server might use a Type 1, 2, or 4 driver to communicate with the
database, understanding the nuances will prove helpful.
In a Type 4 driver, a pure Java-based driver that communicates directly with vendor's
database through socket connection. This is the highest performance driver available for the
database and is usually provided by the vendor itself. This kind of driver is extremely flexible,
you don't need to install special software on the client or server. Further, these drivers can be
downloaded dynamically.s
MySQL's Connector/J driver is a Type 4 driver. Because of the proprietary nature of their
network protocols, database vendors usually supply type 4 drivers.
After you've installed the appropriate driver, it's time to establish a database connection using
JDBC.
The programming involved to establish a JDBC connection is fairly simple. Here are these
simple four steps:
• Import JDBC Packages: Add import statements to your Java program to import
required classes in your Java code.
• Register JDBC Driver: This step causes the JVM to load the desired driver
implementation into memory so it can fulfill your JDBC requests.
• Database URL Formulation: This is to create a properly formatted address that points
to the database to which you wish to connect.
To use the standard JDBC package, which allows you to select, insert, update, and delete data in
SQL tables, add the following imports to your source code:
You need to do this registration only once in your program. You can register a driver in one of
two ways.
try {
Class.forName("oracle.jdbc.driver.OracleDriver");
catch(ClassNotFoundException ex) {
System.exit(1);
}
You can use getInstance() method to work around noncompliant JVMs, but then you'll have to
code for two extra Exceptions as follows:
try {
Class.forName("oracle.jdbc.driver.OracleDriver").newInstance();
catch(ClassNotFoundException ex) {
System.exit(1);
catch(IllegalAccessException ex) {
System.exit(2);
catch(InstantiationException ex) {
System.exit(3);
You should use the registerDriver() method if you are using a non-JDK compliant JVM, such as
the one provided by Microsoft.
The following example uses register Driver() to register the Oracle driver:
try {
DriverManager.registerDriver( myDriver );
}
catch(ClassNotFoundException ex) {
System.exit(1);
• getConnection(String url)
Assuming you are using Oracle's thin driver, you'll specify a host:port:databaseName value for
the database portion of the URL.
If you have a host at TCP/IP address 192.0.0.1 with a host name of amrood, and your Oracle
listener is configured to listen on port 1521, and your database name is EMP, then complete
database URL would then be:
jdbc:oracle:thin:@amrood:1521:EMP
Now you have to call getConnection() method with appropriate username and password to get a
Connection object as follows:
URL:
DriverManager.getConnection(String url);
However, in this case, the database URL includes the username and password and has the
following general form:
jdbc:oracle:driver:username/password@database
A Properties object holds a set of keyword-value pairs. It's used to pass driver properties to the
driver during a call to the getConnection() method.
To make the same connection made by the previous examples, use the following code:
import java.util.*;
info.put( "password","password");
To ensure that a connection is closed, you could provide a finally block in your code. A finally
block always executes, regardless if an exception occurs or not.
To close above opened connection you should call close() method as follows:
conn.close();
Explicitly closing a connection conserves DBMS resources, which will make your database
administrator happy.
03. JAVA
Build: The build folder used will be, by default, ${build}/webapp${path}. After the
end of the execution of the compile target, the web application WAR will be located
at ${build}/webapp${path}.war.
Webapp: Folder containing the expanded web application which will be compiled and
validated. By default, the folder is myapp.
URL: Absolute URL to the manager web application of a running Tomcat server,
which will be used to deploy and undeploy the web application. By default, the
deployer will attempt to access a Tomcat instance running on local host, at
http://localhost:8080/manager.
The deployer package includes a ready to use Ant script, with the following targets:
compile (default): Compile and validate the web application. This can be used
standalone, and does not need a running Tomcat server. The compiled application
will only run on the associated Tomcat 5.0.x server release, and is not guaranteed to
work on another Tomcat release, as the code generated by Jasper depends on its
runtime component. It should also be noted that this target will also compile
automatically any Java source file located in the /WEB-INF/classes folder of the web
application.
JSP Architecture:
Jsp are built on top of sun‟s servlet technology. Jsp is essentially an html page with
special jsp tags embedded. These jsp tags can contain java code. The jsp file extension is .jsp
rather than .htm or .html. The jsp engine parses the .jsp and creates a java servlet source file. It
then compiles the source file into a class file; this is done the first time and this why the jsp is
probably slower the first time it is accessed. Any time after this, the special compiled servlet is
executed and is therefore returns faster.
Steps required to JSP request:
• The user goes to a web site made using jsp. The user goes to a jsp page. The web
browser makes the request via the internet.
• The jsp request gets sent to the web server
• The web server recognizes that the file required is special (.jsp), therefore passes the
jsp file to the jsp servlet engine.
• If the jsp file has been called the first time, the jsp file is parsed, otherwise go to step
7
• The next step is to generate a special servlet form the jsp file. The entire html
required is converted to println statements.
• The servlet source code is compiled into a class
• The servlet is instantiated, calling the init and service methods
• Html from the servlet output is sent via the internet
• Html results are displayed on the user‟s web browser.
Servlets are server-side java programs that can be deployed on a web server.
The servlet interface provides the basic frame work for coding servlets.
Java Server Pages, SQL, HTML Forms and Databases
This section examines how to communicate with a database from Java. We have already
seen how to interface an HTML Form and a JSP. Now e has to see how that JSP can talk to a
database. The objectives of this section are to understand how to:
• Administratively register databases.
• Connect a JSP to an Access database.
• Insert records in a database using JSP.
• Inserting data from HTML Form in a database using JSP.
• Delete Records from Database based on Criteria from HTML Form.
• Retrieve data from a database using JSP – result sets.
• Apply SQL operations like sort, create table, remove table, delete, and Access-based
arithmetic functions.
JSP Declarations:
Used to define page level variables and methods are placed with in the <%!and %> tags
and always end with a semicolon.
Example:
<%!
Int I=0;
Int j=0;
Int z=0 ;%>
JSP Scriptlets:
Consists of valid code snippets enclosed with in the <% and %> JSP tags.
Example:
To accept the user name and display the name 10 times:
<%@ page import=”java.util.*” %>
<%@ page import=”java” %>
<HTML><BODY>
<%out.println (“<HTML>”);
out.println (“<BODY>”);
out.println (“<BODY>”);
out.println (“<HTML>”);%>
</BODY></HTML>
JSP Expressions:
Used to directly insert values into the output
Example :< %=msg %>
JSP Actions:
<jsp: getProperty>: To retrieve the property of the specified bean and direct it as
output.
Attributes used are: Name and Property.
<jsp: setProperty>: To set the property of specified bean.
Attributes used are: Name, Property, Value and Param.
<jsp: forward>: To forward a request to a different page.
Attribute used is Page.
<jsp: param>: Used as a sub attribute with jsp: include and jsp: forward to passadditional
request parameters.
Attributes used are Name and Value.
<jsp: include> : To insert a file into a particular jsp page.
Attributes used are Page and Flush.
3.4 SERVLETS
Introduction:
The Java web server is Java Soft own web Server. The Java web server is just a part of a
larger framework, intended to provide you not just with a web server, but also with tools. To
build customized network servers for any Internet or Intranet client/server system. Servlets are to
a web server, how applets are to the browser.
About SERVLETS:
Servlets provide a Java-based solution used to address the problems currently associated
with doing server-side programming, including inextensible scripting solutions, platform-specific
APIs, and incomplete interfaces. Servlets are objects that conform to a specific interface that can
be plugged into a Java-based server.
Servlets are to the server-side what applets are to the client-side - object byte codes that
can be dynamically loaded off the net. They differ from applets in that they are faceless objects
(without graphics or a GUI component). They serve as platform independent, dynamically
loadable, plug able helper byte code objects on the server side that can be used to dynamically
extend server-side functionality. For example, an HTTP Servlet can be used to generate dynamic
HTML content. When you use Servlets to do dynamic content you get the following advantages:
These qualities are important, because it allows the Servlet API to be embedded in many
different kinds of servers. There are other advantages to the Servlet API as well. These include:
• It's extensible - you can inherit all your functionality from the base classes made
available to you.
• It's simple, small, and easy to use.
Features of SERVLETS:
Servlets are persistent. Servlet are loaded only by the web server and can maintain services
between requests.
• Servlets are fast. Since Servlets only need to be loaded once, they offer much better
performance over their CGI counterparts.
• Servlets are platform independent.
• Servlets are extensible. Java is a robust, object-oriented programming language,
which easily can be extended to suit your needs
• Servlets are secure.
Loading SERVLETS:
Invoking Servlets:
A Servlet invoker is a Servlet that invokes the "service" method on a named Servlet. If
the Servlet is not loaded in the server, then the invoker first loads the Servlet (either from local
disk or from the network) and the then invokes the "service" method. Also like applets, local
Servlets in the server can be identified by just the class name. In other words, if a Servlet name is
not absolute, it is treated as local.
• The client can ask for a document that is served by the Servlet.
• The client (browser) can invoke the Servlet directly using a URL, once it has been
mapped using the Servlet aliases section of the admin GUI.
• The Servlet can be invoked through server side include tags.
• The Servlet can be invoked by placing it in the Servlets / directory.
• The Servlet can be invoked by using it in a filter chain.
You must register the your driver in your program before you use it. Registering the driver is the
process by which the Oracle driver's class file is loaded into memory so it can be utilized as an
implementation of the JDBC interfaces.
You need to do this registration only once in your program. You can register a driver in one of
two ways.
The most common approach to register a driver is to use Java's Class.forName() method to
dynamically load the driver's class file into memory, which automatically registers it. This
method is preferable because it allows you to make the driver registration configurable and
portable.
try {
Class.forName("com.ibm.db2.jcc.DB2Driver");
}
catch(ClassNotFoundException ex) {
System.exit(1);
You can use getInstance() method to work around noncompliant JVMs, but then you'll have to
code for two extra Exceptions as follows:
try {
Class.forName("com.ibm.db2.jcc.DB2Driver").newInstance();
catch(ClassNotFoundException ex) {
System.exit(1);
catch(IllegalAccessException ex) {
System.exit(2);
catch(InstantiationException ex) {
System.exit(3);
The second approach you can use to register a driver is to use the static
DriverManager.registerDriver() method.
You should use the registerDriver() method if you are using a non-JDK compliant JVM, such as
the one provided by Microsoft.
The following example uses register Driver() to register the Oracle driver:
try {
DriverManager.registerDriver( myDriver );
catch(ClassNotFoundException ex) {
System.exit(1);
After you've loaded the driver, you can establish a connection using the
DriverManager.getConnection() method. For easy reference, let me list the three overloaded
DriverManager.getConnection() methods:
• getConnection(String url)
Here each form requires a database URL. A database URL is an address that points to your
database.
Formulating a database URL is where most of the problems associated with establishing a
connection occur.
Following table lists down popular JDBC driver names and database URL.
All the highlighted part in URL format is static and you need to change only remaining part as
per your database setup.
Assuming you are using Oracle's thin driver, you'll specify a host:port:databaseName value for
the database portion of the URL.
If you have a host at TCP/IP address 192.0.0.1 with a host name of amrood, and your Oracle
listener is configured to listen on port 1521, and your database name is EMP, then complete
database URL would then be:
jdbc:db2://localhost:50000/outage
Now you have to call getConnection() method with appropriate username and password to get a
Connection object as follows:
URL:
DriverManager.getConnection(String url);
However, in this case, the database URL includes the username and password and has the
following general form:
" jdbc:db2:driver:username/password@database
A Properties object holds a set of keyword-value pairs. It's used to pass driver properties to the
driver during a call to the getConnection() method.
To make the same connection made by the previous examples, use the following code:
import java.util.*;
info.put( "password","password");
To ensure that a connection is closed, you could provide a finally block in your code. A finally
block always executes, regardless if an exception occurs or not.
To close above opened connection you should call close() method as follows:
conn.close();
Explicitly closing a connection conserves DBMS resources, which will make your database
administrator happy.
You must register the your driver in your program before you use it. Registering the driver is the
process by which the Oracle driver's class file is loaded into memory so it can be utilized as an
implementation of the JDBC interfaces.
You need to do this registration only once in your program. You can register a driver in one of
two ways.
The most common approach to register a driver is to use Java's Class.forName() method to
dynamically load the driver's class file into memory, which automatically registers it. This
method is preferable because it allows you to make the driver registration configurable and
portable.
try {
Class.forName("com.ibm.db2.jcc.DB2Driver");
}
catch(ClassNotFoundException ex) {
System.exit(1);
You can use getInstance() method to work around noncompliant JVMs, but then you'll have to
code for two extra Exceptions as follows:
try {
Class.forName("com.ibm.db2.jcc.DB2Driver").newInstance();
catch(ClassNotFoundException ex) {
System.exit(1);
catch(IllegalAccessException ex) {
System.exit(2);
catch(InstantiationException ex) {
System.exit(3);
You should use the registerDriver() method if you are using a non-JDK compliant JVM, such as
the one provided by Microsoft.
The following example uses register Driver() to register the Oracle driver:
try {
Driver myDriver = new com.ibm.db2.jcc.DB2Driver();
DriverManager.registerDriver( myDriver );
catch(ClassNotFoundException ex) {
System.exit(1);
After you've loaded the driver, you can establish a connection using the
DriverManager.getConnection() method. For easy reference, let me list the three overloaded
DriverManager.getConnection() methods:
• getConnection(String url)
Assuming you are using Oracle's thin driver, you'll specify a host:port:databaseName value for
the database portion of the URL.
If you have a host at TCP/IP address 192.0.0.1 with a host name of amrood, and your Oracle
listener is configured to listen on port 1521, and your database name is EMP, then complete
database URL would then be:
jdbc:db2://localhost:50000/outage
Now you have to call getConnection() method with appropriate username and password to get a
Connection object as follows:
String URL = " jdbc:db2://localhost:50000/outage ";
URL:
DriverManager.getConnection(String url);
However, in this case, the database URL includes the username and password and has the
following general form:
" jdbc:db2:driver:username/password@database
A Properties object holds a set of keyword-value pairs. It's used to pass driver properties to the
driver during a call to the getConnection() method.
To make the same connection made by the previous examples, use the following code:
import java.util.*;
info.put( "password","password");
Connection conn = DriverManager.getConnection(URL, info);
To ensure that a connection is closed, you could provide a finally block in your code. A finally
block always executes, regardless if an exception occurs or not.
To close above opened connection you should call close() method as follows:
conn.close();
Explicitly closing a connection conserves DBMS resources, which will make your database
administrator happy.
04. SYSTEM ANALYSIS & DESIGN
Identification of actors:
Actor: Actor represents the role a user plays with respect to the system. An actor interacts with,
but has no control over the use cases.
Graphical representation:
<<Actor name>>
• Is external to the system and has no control over the use cases
• Who is using the system? Or, who is affected by the system? Or, which
groups need help from the system to perform a task?
• Who affects the system? Or, which user groups are needed by the system
to perform its functions? These functions can be both main functions and
secondary functions such as administration.
• Which external hardware or systems (if any) use the system to perform
tasks?
• What problems does this application solve (that is, for whom)?
• And, finally, how do users use the system (use case)? What are they doing
with the system?
• System Administrator
• Customer
• Customer Care
Identification of usecases:
Usecase: A use case can be described as a specific way of using the system from a user‟s
(actor‟s) perspective.
Use cases are best discovered by examining the actors and defining what the actor will be
able to do with the system.
Guide lines for identifying use cases:
• For each actor, find the tasks and functions that the actor should be able to perform or
that the system needs the actor to perform. The use case should represent a course of
events that leads to clear goal
• Describe the use cases briefly by applying terms with which the user is familiar.
• Will any actor create, store, change, remove or read information in the system?
• What use case will store, change, remove or read this information?
• Will any actor need to inform the system about sudden external changes?
• Does any actor need to inform about certain occurrences in the system?
Flow of Events
A flow of events is a sequence of transactions (or events) performed by the system. They
typically contain very detailed information, written in terms of what the system should do, not
how the system accomplishes the task. Flow of events are created as separate files or documents
in your favorite text editor and then attached or linked to a use case using the Files tab of a model
element.
Use-case diagrams graphically depict system behavior (use cases). These diagrams present a
high level view of how the system is used as viewed from an outsider‟s (actor‟s) perspective. A
use-case diagram may depict all or some of the use cases of a system.
• use cases (system boundaries identifying what the system should do)
• Interactions or relationships between actors and use cases in the system including the
associations, dependencies, and generalizations.
• Communication:
• Uses:
A Uses relationship between the usecases is shown by generalization arrow from the usecase.
• Extends:
The extend relationship is used when we have one usecase that is similar to another usecase but
does a bit more. In essence it is like subclass.
Object:
An object has state, behavior, and identity. The structure and behavior of similar objects are
defined in their common class. Each object in a diagram indicates some instance of a class. An
object that is not named is referred to as a class instance.
The object icon is similar to a class icon except that the name is underlined:
Message:
A message is the communication carried between two objects that trigger an event. A message
carries information from the source focus of control to the destination focus of control. The
synchronization of a message can be modified through the message specification.
Synchronization means a message where the sending object pauses to wait for results.
Link:
A link should exist between two objects, including class utilities, only if there is a relationship
between their corresponding classes. The existence of a relationship between two classes
symbolizes a path of communication between instances of the classes: one object may send
messages to another. The link is depicted as a straight line between objects or objects and class
instances in a collaboration diagram. If an object links to itself, use the loop version of the icon.
CLASS DIAGRAM:
A class is a set of objects that share a common structure and common behavior (the same
attributes, operations, relationships and semantics). A class is an abstraction of real-world items.
• All classes must make sense in the application domain; Avoid computer
• Carefully choose and define the class names After identifying the classes we
have to eliminate the following types of classes:
The following are the patterns for finding the candidate classes:
• Concept class.
• Events class.
• Organization class
• Peoples class
• Places class
We have to draw the sequence diagram or collaboration diagram. If there is need for
some classes to represent some functionality then add new classes which perform those
functionalities.
• CRC approach:
The questions that should be answered to identify the attributes and methods of a class
respectively are:
Super-sub structure: How are objects organized into super classes and sub classes?
Association:
• A reference from one class to another is an association. Some associations are implicit or
taken from general knowledge.
Super-sub class hierarchy is a relationship between classes where one class is the parent class of
another class (derived class).This is based on inheritance.
• Top-down:
Look for noun phrases composed of various adjectives in a class name. Avoid excessive
refinement. Specialize only when the sub classes have significant behavior.
• Bottom-up:
Look for classes with similar attributes or methods. Group them by moving the common
attributes and methods to an abstract class. You may have to alter the definitions a bit.
• Reusability:
• Multiple inheritances:
Avoid excessive use of multiple inheritances. One way of getting benefits of multiple
inheritances is to inherit from the most appropriate class and add an object of another class as an
attribute.
It represents the situation where a class consists of several component classes. A class
that is composed of other classes doesn‟t behave like its parts. It behaves very difficultly. The
major properties of this relationship are transitivity and anti symmetry.
The questions whose answers will determine the distinction between the part and whole
relationships are:
• Does the part class capture more than a single value?( If not then simply include it
as an attribute of the whole class)
Assembly:
Container:
Collection member:
A conceptual whole encompasses parts that may be physical or conceptual. The container and
collection are represented by hollow diamonds but composition is represented by solid diamond.
Testing objectives:
A good test case is one that has probability of finding an error, if it exists.
The software more or less confirms to the quality and reliable standards.
Levels of Testing:
In order to uncover present in different phases we have the concept of levels of testing.
The basic levels of Testing:
Code testing:
This examines the logic of the program. For example, the logic for updating various
sample data and with the sample files and directories were tested and verified.
Specification Testing:
Executing this specification starting what the program should do and how it should
performed under various conditions. Test cases for various situation and combination of
conditions in all the modules are tested.
Unit testing:
In the unit testing we test each module individually and integrate with the overall system.
Unit testing focuses verification efforts on the smallest unit of software design in the module.
This is also known as module testing. The module of the system is tested separately. This testing
is carried out during programming stage itself. In the testing step each module is found to work
satisfactorily as regard to expected output from the module. There are some validation checks for
fields also. For example the validation check is done for varying the user input given by the user
which validity of the data entered. It is very easy to find error debut the system.
Each Module can be tested using the following two Strategies:
In Black Box Testing we just focus on inputs and output of the software system without
bothering about internal knowledge of the software program.
The above Black Box can be any software system you want to test. For example : an
operating system like Windows, a website like Google ,a database like Oracle or even your own
custom application. Under Black Box Testing , you can test these applications by just focusing
on the inputs and outputs without knowing their internal code implementation.
• Software tester compares the actual outputs with the expected outputs.
• Functional testing – This black box testing type is related to functional requirements of a
system; it is done by software testers.
• Non-functional testing – This type of black box testing is not related to testing of a
specific functionality, but non-functional requirements such as performance, scalability,
usability.
• Regression testing – Regression testing is done after code fixes , upgrades or any other
system maintenance to check the new code has not affected the existing code.
It is one of two parts of the "box testing" approach of software testing. Its counter-part,
blackbox testing, involves testing from an external or end-user type perspective. On the other
hand, Whitebox testing is based on the inner workings of an application and revolves around
internal testing. The term "whitebox" was used because of the see-through box concept. The
clear box or whitebox name symbolizes the ability to see through the software's outer shell (or
"box") into its inner workings. Likewise, the "black box" in "black box testing" symbolizes not
being able to see the inner workings of the software so that only the end-user experience can be
tested
White box testing involves the testing of the software code for the following:
• Expected output
The testing can be done at system, integration and unit levels of software development. One of
the basic goals of whitebox testing is to verify a working flow for an application. It involves
testing a series of predefined inputs against expected or desired outputs so that when a specific
input does not result in the expected output, you have encountered a bug.
To give you a simplified explanation of white box testing, we have divided it into two basic
steps. This is what testers do when testing an application using the white box testing technique:
The first thing a tester will often do is learn and understand the source code of the application.
Since white box testing involves the testing of the inner workings of an application, the tester
must be very knowledgeable in the programming languages used in the applications they are
testing. Also, the testing person must be highly aware of secure coding practices. Security is
often one of the primary objectives of testing software. The tester should be able to find security
issues and prevent attacks from hackers and naive users who might inject malicious code into the
application either knowingly or unknowingly.
The second basic step to white box testing involves testing the application‟s source code
for proper flow and structure. One way is by writing more code to test the application‟s source
code. The tester will develop little tests for each process or series of processes in the application.
This method requires that the tester must have intimate knowledge of the code and is often done
by the developer. Other methods include manual testing, trial and error testing and the use of
testing tools as we will explain further on in this article.
System testing:
Once the individual module testing is completed, modules are assembled and integrated to
perform as a system. The top down testing, which began from upper level to lower level module,
was carried out to check whether the entire system is performing satisfactorily.
• Alpha Testing
• Beta Testing
• Acceptance Testing
Alpha Testing:
This refers to the system testing that is carried out by the test team with the Organization.
Beta Testing:
This refers to the system testing that is performed by a selected group of friendly customers
Acceptance Testing:
This refers to the system testing that is performed by the customer to determine whether
or not to accept the delivery of the system.
2. Updating of a All the details should This type of test is covered in all
particular record not be updated. the Asp files where updations are
made.
Integration Testing:
Data can be lost across an interface, one module can have an adverse effort on the other
sub functions, when combined, may not produce the desired major functions. Integrated testing is
the systematic testing for constructing the uncover errors within the interface. The testing was
done with sample data. The developed system has run successfully for this sample data. The
need for integrated test is to find the overall system performance.
Output testing:
After performance of the validation testing, the next step is output testing. The output
displayed or generated by the system under consideration is tested by asking the user about the
format required by system.
Test plan:
The test-plan is basically a list of testcases that need to be run on the system. Some of the
testcases can be run independently for some components (report generation from the database,
for example, can be tested independently) and some of the testcases require the whole system to
be ready for their execution. It is better to test each component as and when it is ready before
integrating the components. It is important to note that the testcases cover all the aspects of the
system (ie, all the requirements stated in the RS document).
<body>
<!-- header -->
<div class="header">
<div class="search">
<!-- <input type="image" src="images/rto.jpg" width="70" height="70"> -
->
</div>
<div class="logo">
<a href="index.jsp"><font size="" color="#0000ff">RTO Management
System</font><span>Vehicle information management system</span></a>
</div>
<div class="logo-right">
<ul>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="header-nav">
<div class="container">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-
toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-
navbar-collapse-1">
<nav class="cl-effect-1">
<ul class="nav navbar-nav">
<li class="active"><a
href="index.jsp">Home</a></li>
<li><a href="about.jsp">About</a></li>
<li><a href="user.jsp">Users</a></li>
<li><a href="rtoofficer.jsp">RTO
Officer</a></li>
<li><a href="admin.jsp">Admin</a></li>
<li><a href="contact.jsp">Contact
Us</a></li>
</ul>
</nav>
</div><!-- /.navbar-collapse -->
</nav>
</div>
</div>
<!-- //header -->
<!-- banner -->
<div class="banner1">
</div>
<!-- //banner -->
<!-- about -->
<div class="about">
<div class="container">
<div class="about-grids">
<div class="col-md-6 about-grid">
<h3>About Us</h3>
<img src="images/about.jpg" alt=" " class="img-
responsive" />
<h4>Vehicle information management system</h4>
<p>This is RTO office management system created for
RTO to maintain all records like vehicle registration such as 2 wheelers, 3 wheelers registration,
LMV, HMV, Learning licenses and permanent licenses etc. These are the main activities of RTO
office. This application manages all the data of the registered user and his vehicles.In RTO
Management System administrator has the power to verify the data entered by the user,
processing of data and provide appropriate solutions. </p>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!-- //about -->
<div class="footer-bottom">
<div class="container">
<p>Copyright © 2018 RTO. All rights reserved |</a></p>
</div>
</div>
<!--//footer-->
<!-- for bootstrap working -->
<script src="js/bootstrap.js"> </script>
<!-- //for bootstrap working -->
</body>
</html>
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>RTOManagement</title>
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Seafaring Responsive web template, Bootstrap Web
Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson,
Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() {
setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //for-mobile-apps -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- js -->
<script src="js/jquery-1.11.1.min.js"></script>
<!-- //js -->
<link
href='//fonts.googleapis.com/css?family=Josefin+Sans:400,100,100italic,300,300italic,400italic
,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link
href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,7
00,700italic,800,800italic' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- header -->
<div class="header">
<div class="search">
<!-- <input type="image" src="images/rto.jpg" width="70" height="70"> -
->
</div>
<div class="logo">
<a href="index.jsp"><font size="" color="#0000ff">RTO Management
System</font><span>Vehicle information management system</span></a>
</div>
<div class="logo-right">
<ul>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="header-nav">
<div class="container">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-
toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-
navbar-collapse-1">
<nav class="cl-effect-1">
<ul class="nav navbar-nav">
<li class="active"><a
href="index.jsp">Home</a></li>
<li><a href="about.jsp">About</a></li>
<li><a href="user.jsp">Users</a></li>
<li><a href="rtoofficer.jsp">RTO
Officer</a></li>
<li><a href="admin.jsp">Admin</a></li>
<li><a href="contact.jsp">Contact
Us</a></li>
</ul>
</nav>
</div><!-- /.navbar-collapse -->
</nav>
</div>
</div>
<!-- //header -->
<!-- banner -->
<div class="banner1">
</div>
<!-- //banner -->
<!-- about -->
<div class="about">
<div class="container">
<div class="about-grids">
<div class="col-md-6 about-grid">
<h3>About Us</h3>
<img src="images/about.jpg" alt=" " class="img-
responsive" />
<h4>Vehicle information management system</h4>
<p>This is RTO office management system created for
RTO to maintain all records like vehicle registration such as 2 wheelers, 3 wheelers registration,
LMV, HMV, Learning licenses and permanent licenses etc. These are the main activities of RTO
office. This application manages all the data of the registered user and his vehicles.In RTO
Management System administrator has the power to verify the data entered by the user,
processing of data and provide appropriate solutions. </p>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!-- //about -->
<div class="footer-bottom">
<div class="container">
<p>Copyright © 2018 RTO. All rights reserved |</a></p>
</div>
</div>
<!--//footer-->
<!-- for bootstrap working -->
<script src="js/bootstrap.js"> </script>
<!-- //for bootstrap working -->
</body>
</html>
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>RTOManagement</title>
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Seafaring Responsive web template, Bootstrap Web
Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson,
Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() {
setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //for-mobile-apps -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- js -->
<script src="js/jquery-1.11.1.min.js"></script>
<!-- //js -->
<link
href='//fonts.googleapis.com/css?family=Josefin+Sans:400,100,100italic,300,300italic,400italic
,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link
href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,7
00,700italic,800,800italic' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- header -->
<div class="header">
<div class="search">
<!-- <input type="image" src="images/rto.jpg" width="70" height="70"> -
->
</div>
<div class="logo">
<a href="index.jsp"><font size="" color="#0000ff">RTO Management
System</font><span>Vehicle information management system</span></a>
</div>
<div class="logo-right">
<ul>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="header-nav">
<div class="container">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-
toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-
navbar-collapse-1">
<nav class="cl-effect-1">
<ul class="nav navbar-nav">
<li class="active"><a
href="index.jsp">Home</a></li>
<li><a href="about.jsp">About</a></li>
<li><a href="user.jsp">Users</a></li>
<li><a href="rtoofficer.jsp">RTO
Officer</a></li>
<li><a href="admin.jsp">Admin</a></li>
<li><a href="contact.jsp">Contact
Us</a></li>
</ul>
</nav>
</div><!-- /.navbar-collapse -->
</nav>
</div>
</div>
<!-- //header -->
<!-- banner -->
<div class="banner1">
</div>
<!-- //banner -->
<!-- about -->
<div class="about">
<div class="container">
<div class="about-grids">
<div class="col-md-6 about-grid">
<h3>About Us</h3>
<img src="images/about.jpg" alt=" " class="img-
responsive" />
<h4>Vehicle information management system</h4>
<p>This is RTO office management system created for
RTO to maintain all records like vehicle registration such as 2 wheelers, 3 wheelers registration,
LMV, HMV, Learning licenses and permanent licenses etc. These are the main activities of RTO
office. This application manages all the data of the registered user and his vehicles.In RTO
Management System administrator has the power to verify the data entered by the user,
processing of data and provide appropriate solutions. </p>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!-- //about -->
<div class="footer-bottom">
<div class="container">
<p>Copyright © 2018 RTO. All rights reserved |</a></p>
</div>
</div>
<!--//footer-->
<!-- for bootstrap working -->
<script src="js/bootstrap.js"> </script>
<!-- //for bootstrap working -->
</body>
</html>
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>RTOManagement</title>
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Seafaring Responsive web template, Bootstrap Web
Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson,
Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() {
setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //for-mobile-apps -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- js -->
<script src="js/jquery-1.11.1.min.js"></script>
<!-- //js -->
<link
href='//fonts.googleapis.com/css?family=Josefin+Sans:400,100,100italic,300,300italic,400italic
,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link
href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,7
00,700italic,800,800italic' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- header -->
<div class="header">
<div class="search">
<!-- <input type="image" src="images/rto.jpg" width="70" height="70"> -
->
</div>
<div class="logo">
<a href="index.jsp"><font size="" color="#0000ff">RTO Management
System</font><span>Vehicle information management system</span></a>
</div>
<div class="logo-right">
<ul>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="header-nav">
<div class="container">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-
toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-
navbar-collapse-1">
<nav class="cl-effect-1">
<ul class="nav navbar-nav">
<li class="active"><a
href="index.jsp">Home</a></li>
<li><a href="about.jsp">About</a></li>
<li><a href="user.jsp">Users</a></li>
<li><a href="rtoofficer.jsp">RTO
Officer</a></li>
<li><a href="admin.jsp">Admin</a></li>
<li><a href="contact.jsp">Contact
Us</a></li>
</ul>
</nav>
</div><!-- /.navbar-collapse -->
</nav>
</div>
</div>
<!-- //header -->
<!-- banner -->
<div class="banner1">
</div>
<!-- //banner -->
<!-- about -->
<div class="about">
<div class="container">
<div class="about-grids">
<div class="col-md-6 about-grid">
<h3>About Us</h3>
<img src="images/about.jpg" alt=" " class="img-
responsive" />
<h4>Vehicle information management system</h4>
<p>This is RTO office management system created for
RTO to maintain all records like vehicle registration such as 2 wheelers, 3 wheelers registration,
LMV, HMV, Learning licenses and permanent licenses etc. These are the main activities of RTO
office. This application manages all the data of the registered user and his vehicles.In RTO
Management System administrator has the power to verify the data entered by the user,
processing of data and provide appropriate solutions. </p>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!-- //about -->
<div class="footer-bottom">
<div class="container">
<p>Copyright © 2018 RTO. All rights reserved |</a></p>
</div>
</div>
<!--//footer-->
<!-- for bootstrap working -->
<script src="js/bootstrap.js"> </script>
<!-- //for bootstrap working -->
</body>
</html>
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>RTOManagement</title>
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Seafaring Responsive web template, Bootstrap Web
Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson,
Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() {
setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //for-mobile-apps -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- js -->
<script src="js/jquery-1.11.1.min.js"></script>
<!-- //js -->
<link
href='//fonts.googleapis.com/css?family=Josefin+Sans:400,100,100italic,300,300italic,400italic
,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link
href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,7
00,700italic,800,800italic' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- header -->
<div class="header">
<div class="search">
<!-- <input type="image" src="images/rto.jpg" width="70" height="70"> -
->
</div>
<div class="logo">
<a href="index.jsp"><font size="" color="#0000ff">RTO Management
System</font><span>Vehicle information management system</span></a>
</div>
<div class="logo-right">
<ul>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="header-nav">
<div class="container">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-
toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-
navbar-collapse-1">
<nav class="cl-effect-1">
<ul class="nav navbar-nav">
<li class="active"><a
href="index.jsp">Home</a></li>
<li><a href="about.jsp">About</a></li>
<li><a href="user.jsp">Users</a></li>
<li><a href="rtoofficer.jsp">RTO
Officer</a></li>
<li><a href="admin.jsp">Admin</a></li>
<li><a href="contact.jsp">Contact
Us</a></li>
</ul>
</nav>
</div><!-- /.navbar-collapse -->
</nav>
</div>
</div>
<!-- //header -->
<!-- banner -->
<div class="banner1">
</div>
<!-- //banner -->
<!-- about -->
<div class="about">
<div class="container">
<div class="about-grids">
<div class="col-md-6 about-grid">
<h3>About Us</h3>
<img src="images/about.jpg" alt=" " class="img-
responsive" />
<h4>Vehicle information management system</h4>
<p>This is RTO office management system created for
RTO to maintain all records like vehicle registration such as 2 wheelers, 3 wheelers registration,
LMV, HMV, Learning licenses and permanent licenses etc. These are the main activities of RTO
office. This application manages all the data of the registered user and his vehicles.In RTO
Management System administrator has the power to verify the data entered by the user,
processing of data and provide appropriate solutions. </p>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!-- //about -->
<div class="footer-bottom">
<div class="container">
<p>Copyright © 2018 RTO. All rights reserved |</a></p>
</div>
</div>
<!--//footer-->
<!-- for bootstrap working -->
<script src="js/bootstrap.js"> </script>
<!-- //for bootstrap working -->
</body>
</html>
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>RTOManagement</title>
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Seafaring Responsive web template, Bootstrap Web
Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson,
Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() {
setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //for-mobile-apps -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- js -->
<script src="js/jquery-1.11.1.min.js"></script>
<!-- //js -->
<link
href='//fonts.googleapis.com/css?family=Josefin+Sans:400,100,100italic,300,300italic,400italic
,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link
href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,7
00,700italic,800,800italic' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- header -->
<div class="header">
<div class="search">
<!-- <input type="image" src="images/rto.jpg" width="70" height="70"> -
->
</div>
<div class="logo">
<a href="index.jsp"><font size="" color="#0000ff">RTO Management
System</font><span>Vehicle information management system</span></a>
</div>
<div class="logo-right">
<ul>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="header-nav">
<div class="container">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-
toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-
navbar-collapse-1">
<nav class="cl-effect-1">
<ul class="nav navbar-nav">
<li class="active"><a
href="index.jsp">Home</a></li>
<li><a href="about.jsp">About</a></li>
<li><a href="user.jsp">Users</a></li>
<li><a href="rtoofficer.jsp">RTO
Officer</a></li>
<li><a href="admin.jsp">Admin</a></li>
<li><a href="contact.jsp">Contact
Us</a></li>
</ul>
</nav>
</div><!-- /.navbar-collapse -->
</nav>
</div>
</div>
<!-- //header -->
<!-- banner -->
<div class="banner1">
</div>
<!-- //banner -->
<!-- about -->
<div class="about">
<div class="container">
<div class="about-grids">
<div class="col-md-6 about-grid">
<h3>About Us</h3>
<img src="images/about.jpg" alt=" " class="img-
responsive" />
<h4>Vehicle information management system</h4>
<p>This is RTO office management system created for
RTO to maintain all records like vehicle registration such as 2 wheelers, 3 wheelers registration,
LMV, HMV, Learning licenses and permanent licenses etc. These are the main activities of RTO
office. This application manages all the data of the registered user and his vehicles.In RTO
Management System administrator has the power to verify the data entered by the user,
processing of data and provide appropriate solutions. </p>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!-- //about -->
<div class="footer-bottom">
<div class="container">
<p>Copyright © 2018 RTO. All rights reserved |</a></p>
</div>
</div>
<!--//footer-->
<!-- for bootstrap working -->
<script src="js/bootstrap.js"> </script>
<!-- //for bootstrap working -->
</body>
</html>
<!--
Author: W3layouts
Author URL: http://w3layouts.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html>
<head>
<title>RTOManagement</title>
<!-- for-mobile-apps -->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="keywords" content="Seafaring Responsive web template, Bootstrap Web
Templates, Flat Web Templates, Android Compatible web template,
Smartphone Compatible web template, free webdesigns for Nokia, Samsung, LG, SonyEricsson,
Motorola web design" />
<script type="application/x-javascript"> addEventListener("load", function() {
setTimeout(hideURLbar, 0); }, false);
function hideURLbar(){ window.scrollTo(0,1); } </script>
<!-- //for-mobile-apps -->
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all" />
<link href="css/style.css" rel="stylesheet" type="text/css" media="all" />
<!-- js -->
<script src="js/jquery-1.11.1.min.js"></script>
<!-- //js -->
<link
href='//fonts.googleapis.com/css?family=Josefin+Sans:400,100,100italic,300,300italic,400italic
,600,600italic,700,700italic' rel='stylesheet' type='text/css'>
<link
href='//fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,600italic,7
00,700italic,800,800italic' rel='stylesheet' type='text/css'>
</head>
<body>
<!-- header -->
<div class="header">
<div class="search">
<!-- <input type="image" src="images/rto.jpg" width="70" height="70"> -
->
</div>
<div class="logo">
<a href="index.jsp"><font size="" color="#0000ff">RTO Management
System</font><span>Vehicle information management system</span></a>
</div>
<div class="logo-right">
<ul>
</ul>
</div>
<div class="clearfix"> </div>
</div>
<div class="header-nav">
<div class="container">
<nav class="navbar navbar-default">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-
toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse nav-wil" id="bs-example-
navbar-collapse-1">
<nav class="cl-effect-1">
<ul class="nav navbar-nav">
<li class="active"><a
href="index.jsp">Home</a></li>
<li><a href="about.jsp">About</a></li>
<li><a href="user.jsp">Users</a></li>
<li><a href="rtoofficer.jsp">RTO
Officer</a></li>
<li><a href="admin.jsp">Admin</a></li>
<li><a href="contact.jsp">Contact
Us</a></li>
</ul>
</nav>
</div><!-- /.navbar-collapse -->
</nav>
</div>
</div>
<!-- //header -->
<!-- banner -->
<div class="banner1">
</div>
<!-- //banner -->
<!-- about -->
<div class="about">
<div class="container">
<div class="about-grids">
<div class="col-md-6 about-grid">
<h3>About Us</h3>
<img src="images/about.jpg" alt=" " class="img-
responsive" />
<h4>Vehicle information management system</h4>
<p>This is RTO office management system created for
RTO to maintain all records like vehicle registration such as 2 wheelers, 3 wheelers registration,
LMV, HMV, Learning licenses and permanent licenses etc. These are the main activities of RTO
office. This application manages all the data of the registered user and his vehicles.In RTO
Management System administrator has the power to verify the data entered by the user,
processing of data and provide appropriate solutions. </p>
</div>
</div>
<div class="clearfix"> </div>
</div>
</div>
</div>
<!-- //about -->
<div class="footer-bottom">
<div class="container">
<p>Copyright © 2018 RTO. All rights reserved |</a></p>
</div>
</div>
<!--//footer-->
<!-- for bootstrap working -->
<script src="js/bootstrap.js"> </script>
<!-- //for bootstrap working -->
</body>
</html>
06. SNAPSHOTS
07. CONCLUSION
9.CONCLUSION:
The application is designed in such a way that any further enhancement can be done with ease.
The system has the for easy intergration with other system. New modules can be added to
existing system with less effort.
The system has six classes. Each of these classes has various procedures and functions. In future
a new functions or procedure can be easily added in the system through these classes. Or even a
new class can be added. The system generates only limited number of reports. If more detailed
reports are required the system can be directed.
Even through the system as well as communication facility, its not enough . The mail account
information for the customer credit information. Thus by adding this module the system
transaction will be improved.
REFERENCES:
[1] https://en.wikipedia.org/wiki/combinations/
[2]https://www.w3schools.com/