ON
**EASYSEARCH
SUBMITTED TO
XXXXXXXXXX
FOR THE PARTIAL FULFILLMENT OF THE
REQUIREMENT
FOR THE AWARD OF DEGREE OF
XXXXXXXXXXXXXXX
SUBMITTED TO:
SUBMITTED BY:
XXXX
PROJECT GUIDE:
ROLLNO-XXX
XXXX
UNDERTAKEN AT
1|Page
PRINCIPAL XXXXXX
XXXXXXXXXXXXX
JALANDHAR
2|Page
Mrs. XXX
(PROJECT SUPERVISOR)
DEPARTMENT OF COMPUTER SCINCE AND APPLICATIONS
XXXXXXXXXXXXXXX
XXXXXXXX
3|Page
DECLARATION
XXXXXXXX
ROLL
NO:XXXXXXX
XXXXX XXXX SEM
ACKNOWLEDGEMENT
It would be inappropriate to call this report complete and successful, if I dont thank
4|Page
PREFACE
Computers, which are called the mechanical brains, are sophisticated electronic
devices which can perform many functions of human brain. In this computer era,
computers are affecting every aspect of our lives.
5|Page
Today, the use of computers is increasing because of the increasing computing speed,
reducing size, reducing energy consumption, reducing cost, large storage capacity and
accuracy. In the field of technology, science and public dealing improvement cannot
be achieved without the use of computers. Computers today help in automation of
many industrial, business systems, educational institutions, banks, railways, airways
and many more the list is endless. The major Requirements of storage and
maintenance of huge amounts of data is handled by computers.
A President of a big company says Managers who dont have the capability to use
computer, within 3 to 5 years may become organizationally dysfunctional. If our job
requires any paper work suck as reading, writing, record keeping. Maintaining
accounts and making statements or information gathering, computers can definitely
lighten our load and make our working much more productive. In other words, a time
has come when everyone should know what computers are, what they do and what
benefits we can reap from them.
INDEX
6|Page
S.NO
TOPIC
PAGE NO.
1.
COMPANY PROFILE
2.
INTRODUCTION
3.
ANALYSIS
13
4.
DESIGN
46
5.
CODING
59
6.
TESTING
117
7.
SNAPSHOTS
124
8.
REFERENCES
151
7|Page
COMPANY PROFILE
INTRODUCTION
8|Page
Entertainment
Educational Institutions
Financial Institutions
Computer hardware
Hotels and restaurants
Travel and tour agents
Shopping Malls
Government Offices
etc.
The portal aims to provide complete information about city using the following three
mechanisms:
Information compiled by the parent company from different sources is to be
presented on the web site after through verification.
Information to be collected through classifieds posted on the portal by various
social, businesses, educational and professional entities having operations in city
is to be presented.
Links of existing websites providing information about city are to be provided.
Information can be compiled by the administrative team from different sources
such as yellow pages, news paper advertisement etc.
Information is to be collected through classifieds posted on the portal by various
social, businesses, educational and professional entities having operations in city.
Links of existing websites related to city are to be provided.
OBJECTIVE
9|Page
The objective of this portal is providing a one stop shop for all information regarding
city and a local classified facility for posting free of cost advertising to social,
commercial, and educational entities operating in city.
It is the first and the foremost thing to decide the principles and objectives in
development of any application. These objectives lay down the path for the successful
completion of any application. These decide the framework on which the user can
turn his brain on and make things happen his own way. Predetermination of the
objectives makes things go easy. The application in our case is the automation of time
table. First of all we decide the reason as to why there is a need to develop such an
application. The answer for this question is not just a single reason. It includes a wide
application area via which we have successfully implemented this project. The
reasons are as follows:
1. Removal of the old manual framework.
2. Fulfilling the needs of the citizens as well as outsiders.
3. Removal of any discrepancies that may lead to human harassment due to the old
framework in action.
4. Develop a user friendly environment which a user can appreciate and use as he
desires.
5. Providing complete information of the city.
6. Making it adaptable for changing environment and alterations that can affect its
present working.
10 | P a g e
PRIMARY OBJECTIVES
The Database is the Foundation Stone of Future Application Development It
should make application development easier, cheaper faster and more flexible.
The Data Can Have Multiple Uses different users who perceive the same data
differently can employ them in different ways.
Intellectual Investment: protects existing programs and logical data structure
will not have to be redone when changes are made to the database.
Clarity: users can easily know and understand what data are available to them.
Ease of Use: Users can gain access to data in a simple fashion. Complexity is
hidden from the readers by the database management system. The data can be
used or searched in flexible ways with different access paths.
Unanticipated requests for data can be handled quickly. Spontaneous requests
for data can be handled without application programs having to be written (a
time consuming bottleneck), by means of high-level query or report generation
system.
Change is Easy: The database can grow and change without interfering with
established ways of using the data.
Low Cost: Low cost of storing and using data. And minimization of the high cost
of making changes.
Less data Proliferation: New application needs may be met with existing data
rather than creating new files, thus avoiding the excessive data proliferation in
todays tape libraries.
Performance: Data requests can be satisfied with speed suitable to the usage of
data.
11 | P a g e
SECONDARY OBJECTIVES
Physical data Independence: Storage hardware and physical storage techniques
can be changed without causing application program re-writing
Logical data Independence: New item data can be added or the overall logical
structures expanded without existing programs having to be re-written.
Controlled Redundancy: Data items will be stored only once except where there
are technical or economic reasons for redundant storage.
Suitably fast Access: Access mechanism and addressing methods will be fast
enough for the usage in the question.
Suitably Fast Searching: The need for fast spontaneous searching of the data will
grow as inter-active systems usage spreads.
Data standardization: Within a Corporation Inter Department agreement is needed
in data format and definitions. Standardization is needed between Departments
who would otherwise create incompatible data.
Data Dictionary: A Data Dictionary, defining all data items used, is needed.
High Level Programmer Interface: Application programmer should use simple,
powerful data re1quests and be insulated from the complexities of file layout and
addressing.
End user Language: A high level query or report generation language should
permit some end users to by pass the application programming step.
Inter control: Range checks and other controls should detect data inaccuracies,
where possible.
Fast Recovery from Failures: Automatic recovery without loss of transactions.
Tenability: The database should be tunable, to improve performance without
causing application program re-writing.
Design and Monitoring Aids: Aids, which permit the designer or data
administrator to predict and optimize performance.
Automatic Reorganization or Migration: Data Migration or other automatic
physical reorganization designed to improve performance.
12 | P a g e
ANALYSIS
13 | P a g e
14 | P a g e
EXISTING SYSTEM
The age in which we are living is characterized by rapid change in technology,
lifestyle and values. All this will be soon controlled by computers, which has already
touched nearly every aspect of life. This web application is being developed in order
to surf through the city.
DRAWBACKS
1. AT present there isnt any specific syatem to provide detailed information of
the city throughout.
2. No facility to send quick responses via email.
3. Lack of proper communication.
4. Poor Management.
5. No proper guidance for usage of the resources available.
6.No proper resource to get information about various places of the city.
15 | P a g e
EASY SEARCH
The project consists of several components which works together to allow you use
various services over the internet.
The project gives facility to:Information about various companies
Information of the banks.
Students can get information about company requirements
Informaion of the various religious places in the city.
It helps the student for applying for companies
Websites of almost all the organizations like banks, hotels, hospitals etc are
provided.
Provides quick and easy exchange and retrieval of information at one place,
saving time, money and effort
Quick responses via email
Project Category
This project comes under the category of Web Based Technology
16 | P a g e
EASY SEARCH
SYSTEM
REQUIREMENTS SPECIFICATION
17 | P a g e
EASY SEARCH
Software Interface
Following software are required for developing web based application
1.
2.
3.
4.
Operating system
Environment
Front end Tool
Technology
6.
7.
Backend tool
Data Access Tool
Oracle 10g
JDBC
Hardware Interfaces
Its a web-based project, so a robust hardware configuration is required. The hardware
requirements are:
1.
2.
3.
4.
Processor
Mother board
Ram
Hard Disk
PROJECT PLANNING
I took assignment for developing a computerized system of online surfing of the city.
Planning of this project will include following things:
Topic understanding
18 | P a g e
EASY SEARCH
Database requirements
TOPIC UNDERSTANDING
It is vital that the field of application as introduced in the project may be
totally a new field. So as soon as I took this project, I carefully went through the
project to identify the requirements of the project.
MODULAR BREAK-UP OF THE SYSTEM
It consists of following phases:
administrator gives right to the user of the web site. User can modify the profile of its
account.
DATABASE REQUIREMENTS
Identify the various tables required.
Fields for these tables,
19 | P a g e
EASY SEARCH
The various key fields (For example primary key and foreign key),
Identify the various constraints like not null. Unique etc,
20 | P a g e
EASY SEARCH
21 | P a g e
EASY SEARCH
Simplicity. Java is a simpler language to master than most others you use in server
applications because of its consistent enforcement of the object model. The large
standard set of class libraries brings powerful tools to Java developers on all
platforms.
Portability. Java is ubiquitous due to its portability across platforms. It is possible to
write platform-dependent code in Java, but it is also simple to write programs that
move seamlessly across machines. Server applications, which by their nature do not
support graphical user interfaces directly on the platform that hosts them, also tend to
avoid the few real platform portability issues that Java has.
Automatic Storage Management. The Java virtual machine automatically performs
all memory allocation and deallocation during program execution. Java programmers
can neither alloc nor free memory explicitly. Instead, they depend on the virtual
machine to perform these bookkeeping operations, allocating memory as they create
new objects and deallocating memory when the objects are no longer referenced. The
latter operation is known as garbage collection.
Strong Typing. Before you use a Java variable, you must declare the class of the
object it will hold. Java's strong typing makes it possible to provide a reasonable and
safe solution to inter-language calls in the case of Java and PL/SQL and to integrate
Java and SQL. Languages without strong typing are typically more flexible at
development time but make it difficult to build safe programs because they cannot
take advantage of type information at compile time.
No Pointers. Although Java retains much of the flavor of C in its syntax, it does not
support direct pointers or pointer manipulation. You pass all parameters except
primitive types by reference (that is, object identity is preserved), not by value. Java
does not provide C's low level, direct access to pointers, thereby eliminating the major
source of bugs, memory corruption, and memory leaks that plague C programs and
that in turn prevents Oracle from allowing such programs to execute in the same
address space as the RDBMS.
22 | P a g e
EASY SEARCH
Exception Handling. Exception handling is a feature of the Java language. Java
exceptions are objects. Exception handling is a powerful tool for developers to build
robust programs. Java even goes as far as requiring developers to declare which
exceptions may be thrown (or signaled) by methods in any particular class.
Flexible Namespace. Java defines classes and holds them within a hierarchical
structure that mirrors the Internet's domain namespace. This approach enables you to
distribute Java applications while avoiding the possibility of name collisions. Java
extensions such as the Java Naming and Directory Interface (JNDI) that Oracle uses,
for example, in its EJB implementation even provide a framework for multiple name
services to be federated. Java's namespace approach is flexible enough for Oracle to
incorporate the concept of a schema in the way class names are resolved while fully
complying with the language specification.
Security. The design of Java bytecodes and the virtual machine allow for built-in
mechanisms to verify that Java binary code has not been tampered with in ways that
would violate the safety and security restrictions the language supports. Oracle8i is
installed with an instance of SecurityManager that uses Oracle security to further
enhance the features the language supports. The SecurityManager uses Oracle roles to
restrict access to sensitive functionality such as disk file manipulation while fully
complying with the requirements of the JLS.
Standards for Connectivity to Relational Databases. JDBC and SQLJ provide
important and standard ways for programs you write in a general purpose objectoriented programming language-- Java--to access and manipulate data resident in
relational databases. Vendors such as Oracle provide vendor-specific drivers that
allow vendor-independent, portable Java code to access a specific relational database.
Java developers can use vendor-specific extensions to access vendor-specific features.
EASY SEARCH
ways. One popular approach is to use a Just in Time (JIT) compiler. JITs quickly
compile Java bytecodes to native (platform-specific) machine code, allowing Java
code that is run frequently to be executed at speeds closer to languages such as C.
Oracle has adopted a Way Ahead of Time (WAT) approach to gain speed. In the WAT
approach, Aurora translates Java bytecodes to platform-independent C code, which a
standard C compiler then compiles for the target platform.
INTRODUCTION TO ORACLE
Database
It is a coherent collection of data with some inherent meaning, designed, built and
populated with data for a specific purpose. It stores data which is useful to us. Those
systems which enable users to manage data this data stored in the database efficiently
are called database management system (DBMS) like Oracle, Power builder, Sybase,
MS-Access, Ingress, etc. In order to successfully design and maintain databases we
have to do the following:
Identify what specific objects in that part of the worlds data are of interest
to us.
24 | P a g e
EASY SEARCH
RDBMS
Relational database is a body of related information store in two-dimensional tables.
Relational database seldom consist of single table; This is because by creating several
tables of interrelated information, we can perform more complex and powerful
operations on our data. To maintain flexibility the rows of a table are in no particular
order. This is an aspect of the database. We can order information as we retrieve it.
RDBMS consists of several tables of interrelated information through which we can
perform complex and powerful operations.
The power of database lays in the relationship that we can construct n the pieces of
information, rather in the pieces of information themselves.
To maintain flexibility, the rows of a table are by definition in no particular
order. This is an aspect of a database. We can order the information as we want, as we
require it. Oracle is a company that produces the most widely used server based multiuser RDBMS.
Oracle is the largest database company and the second largest software company in
thee world.
Oracle products is primarily divided into
1. Oracle server tools
2. Oracle client tools
Oracle server
The Oracle server is a program that produces the most widely used Server based
multi-user RDBMS. In the Oracle servers hard disk drive this program must be
loaded in RAM so that it can process user request.
The Oracle server product is either called:
Oracle workgroup server
OR
Oracle enterprise server
The functionality of both these is identical. However the Oracle workgroup server
restricts the number of concurrent user who can query the server. Oracle enterprise
25 | P a g e
EASY SEARCH
server has no such restrictions. Either product must be loaded on a multi-user
operating system. The Oracle server takes care of the following functions:
Functions
Optimizing queries.
Provides information about the content and structure of the system tables.
Concepts
A relational system must be able to manage database entirely through its relational
capabilities. Any DBMS that advise user to the some none relational methods to
acceptable performances should be interrupted as an apology by the vendor.
Information representation
In the relational model all the information is explicitly and logically
represented by the data values in the table. This means that even information such as
view, column names and etc. should be contained somewhere as a table form. This
makes it necessary for the provision for an active data dictionary that itself is
relational in nature. Some system implements the dictionary information system in a
file structure. However these systems cannot be called truly relational in nature
26 | P a g e
EASY SEARCH
because of their lack of ability to store Meta data (data about data) in an integrated
relational form.
27 | P a g e
EASY SEARCH
Oracle client
Oracle client mainly consists of the SQL *PLUS tool which is made up of two distinct
parts:
Interactive SQL
PL/SQL
Interactive SQL
Interactive SQL is designed to create access and maintain all structures like tables,
indexes and etc. It can also be used for interactive data manipulations.
PL/SQL
Programmers can use PL/SQL to create program validation and manipulation
of table data. PL/SQL adds to the power of interactive SQL and provides the user with
all the facility of a standard, modern day programming environment. Via PL/SQL the
user cannot manipulate data but also can use procedural techniques such as writing
loops or branching to another block of code.
28 | P a g e
EASY SEARCH
29 | P a g e
EASY SEARCH
System Analysis user here is the application of the system approach to the study and
solution of problems using Computer based systems. System thinking is integral to
the system interrelated interlocking subsystems. The system approach is a way of
thinking about the analysis and design of computer based application. It provides a
framework of visualizing the system. System analysis and Design focus on system,
process and technology.
The SDLC is how all systems are created. It is a very powerful technique user
for creation of applications to solve problems using computer systems. With its help
you get closest view of the system which then helps to create it because you are
familiar with all sorts of components of the system. It provides a perfect outline for
the system using which the system is created successfully.
What is SDLC?
SDLC is an acronym for System Development Life Cycle, a methodology that
consists of development activities that have a prescribed order. Once a problem or
opportunity for a new system is recognized a request for developing a new system is
forwarded for approval. If it is approved, a study is carried out to ensure that the
proposed system is feasible. If it is feasible, then the systems requirements are
specified and are followed by phases of system analysis, system design, system
implementation, and post implementation. A recycling of development may occur
again following system evaluation if the system still requires modification or
redevelopment.
The stages of system development life cycle are:
NEEDS ANALYSIS
FEASIBILITY
STUDY
SYSTEM ANLYSIS
30 | P a g e
SYSTEM DESIGN
EASY SEARCH
IMPLEMENTATION
POST
IMPLEMENTATION
SYSTEM
MAINTENANCE
What are the users demonstrable needs and how does the
candidate system meet them?
2)
3)
31 | P a g e
EASY SEARCH
The result of the feasibility study is a formal proposal. This is simply a report-a
formal document detailing the nature and scope of proposed solution. The proposal
summarizes what is known and what is going to be done.
Feasibility is a preliminary study to investigate the info needs of prospective ends
users and objectives, constraints, resource requirements, cost, benefits and feasibility
of a proposed system. It helps to finalize a statement specifying the scope and
objective of the problem and obtain a rough "Ball Park" estimating the development
cost of the project. It is test of system proposals according to its workability, impact
on the organization ability to meet the users need and effective use of resources. The
goal of feasibility study is to evaluate alternative system and to propose the most
feasible and desirable systems for development.
The feasibility of a proposed system can be obtained by four major categories
described as:
Organizational Feasibility: This study helps us to find out how well a
proposed System supports the objectives of organization's strategic plan for
information system. As I am making e-banking site it fall under banking
organization and it directly supports the objectives of the banking
organizations
Operational Feasibility: People are inherently resistant to change, so this
study find out willingness and ability of management, employees customers,
suppliers and so on to operate, use and support a proposed system. Due to
User - Friendly forms, Interaction with Electronic site will be a success in
terms of Operational Feasibility.
Economic Feasibility: Economic analysis is the most frequently method used
for evaluating the effectiveness of a candidate system.
Technical Feasibility: Whether reliable hardware and software capable of
meeting of proposed system can be acquired or developed by the business in
required time. As our Package is developed in J2EE which gives features like
Portability, Security etc.
32 | P a g e
EASY SEARCH
3. SYSTEM ANALYSIS
It is a detailed study of the various operations performed by a system and their
relationships within and outside of the system. A key question is:
What must be done to solve a problem?
During analysis, data are collected on the available files, decision points and
transactions handled by the present system. Data flow diagrams, interviews, on site
observations, questionnaires are system models and tools that are used in Analysis.
Training experience and common sense are required for the collection of the
information needed to do the analysis.
We define the analysis is to define the boundaries of the system and to determine
whether or not a system should consider other related systems. During analysis, data
is collected on available files, decision points, transactions handled by the resent
system. There are several modes and tools used in analysis, for exampleinterviews,
questionnaires etc.
An Organizational
organizational
STRUCTURE,
its
information
PEOPLE,
its
its
MANAGEMENT
business
ACTIVITES,
EASY SEARCH
Need/User-requirement Analysis:
Determining end users specific information needs.
(a)
4.SYSTEM DESIGN
The term design refers to the technical specification that will be applied and
implementing the candidate system. It also includes the construction of programs and
program testing.
The first step is to determine how to output is to be produced and in what format
samples of output are also presented.
Second input data and master files have to be designed to meet the requirements of
the proposed output. The operational phases are handled through program
construction and testing, including the list of programs needed to meet the system
objective and complete documentation.
Finally details related to justification and estimate of the impact of the candidate
system of the user and organization are documented and evaluated by management as
a step towards implementation.
34 | P a g e
EASY SEARCH
5. IMPLEMENTATION:
It is primary concern with the user training, site preparation and file conversion.
During the final testing user acceptance is tested, followed by user training.
Depending on the nature of the system, extensive user training may be required.
System testing checks the readiness and accuracy of the system to access, update and
review from new files. Once the programs become available, test data are read into
the computer and processed against the files provided for testing. If successful, the
programs are then run with live data. Otherwise, a diagnostic procedure is user to
locate and correct errors in the program.
PROJECT TERMINATION
A system project may be dropped at any time prior to implementation, although it
becomes more difficult (and costly) when it goes past the design phase. Generally,
projects are dropped if, after a review process, it is learned that:
~~ Changing objectives or requirements of the user cannot be met by the existing
design.
35 | P a g e
EASY SEARCH
~~ Benefits realized from the candidate system do not justify commitment to
implementation.
~~ There is a sudden change in the users budget or an increase in design costs
beyond the estimate made during the feasibility study.
~~ The project greatly exceeds the time and cost schedule
The first step is to design the output format. Sample of the output are prepared.
Second step is to design the set of the inputs that are to given for the processing. It
includes E-R diagrams and Data flow diagrams (DFDs).
DATABASE TABLES
BankNames
Sub_Bank_Detail
AtmNames
ATM_Bank_Detail
Hotels
Hospitals
College
Sub_College
University
PoliceStation
36 | P a g e
EASY SEARCH
ReligiousPlaces
Schools
Sub_Schools
Malls_Jalandhar
Cinemas_Jalandhar
IT_Companies_JALANDHAR
DATABASE TABLES
Column name
Bank_id
Bank_name
Constraints
Primary key
Primary key
Constraints
Foreign Key
Foreign Key
Not null
Not null
EASY SEARCH
Column name
ATM_id
ATM_name
Column name
ATM_id
ATM_Bank_Name
ATM_location
Column name
Hotel_id
Hotel_name
Hotel_location
Contact_No
Hotel_Website
Column name
Hospital_id
Hospital_name
Location
Contact_No
38 | P a g e
Constraints
Primary key
Primary key
Constraints
primary key
Not Null
Not null
Not null
Not null
Constraints
primary key
Not null
Not null
EASY SEARCH
Column name
College_id
College_Categories
Column name
College_id
College_Categories
College_Name
Location
Contact_No
Website
Column name
University_id
University_name
University_location
Contact_No
University_Website
Column name
PoliceStation_id
PoliceStation_Name
Location
Contact_No
Website
39 | P a g e
Constraints
primary key
primary key
Constraints
primary key
Not null
Not null
Constraints
primary key
Not null
Not null
EASY SEARCH
Column name
School_id
School_Category
Column name
School_id
School_Category
School_Name
Location
Contact_No
Website
Constraints
primary key
Primary key
Constraints
foreign key
foreign key
Not null
Not null
Column name
Mall_id
Mall_Name
Location
Contact_No
Column name
Cinema_id
Cinema_Name
Location
40 | P a g e
EASY SEARCH
Contact_No
varchar2(15)
41 | P a g e
EASY SEARCH
DESIGN LAYOUT
1. ER- DIAGRAM
ENTITY RELATIONSHIP MODEL:
As a database designer one should use an Entity Relationship (ER) diagram as a tool
to build the logical database design of a system. An ER diagram represents the
following three elements:
ENTITIES: An entity is an object with a distinct set of properties that is easily
identified. Entities are the building blocks of a database. You represent an entity
using a rectangular box that contains the name of the entity.
ATTRIBUTES: An attribute is a property of an entity that differentiates it from
other entities and provides information about the entity. An attribute type is a
property of an entity type.
42 | P a g e
EASY SEARCH
Attribute
Multi valued Attribute
Relationship
43 | P a g e
EASY SEARCH
EASY SEARCH
Data flow diagrams are used to study information flow and information through a
computer based system. DFDs were introduced by De Marso (1978) and Gane and
Sarson (1979) and is the important tool used by system analysist. The main advantage
of DFD is that it can provide an overview of what data a system would process, what
transformation of data are done, what data are stored and which stored data are used
and where the result stores. The graphic illustration of a system makes it easy between
a user and where the result stores. DFDs are structured in such a way that starting
forms a diagram, which gives a broad overview at a glance; they can be extended to a
hierarchy of diagrams giving more and more detail. We have not found the
consistency and redundancy at the time of normalization.
DFD SYMBOLS: -
45 | P a g e
EASY SEARCH
VIEWER
Registration
Search Information
View Information
Search Ads
Login
Easy Search
View Ads
Send Response
View Responses
Post Information
Edit Information
ADMINISTRATOR
46 | P a g e
POSTER
EASY SEARCH
Search
Informatio
n
Viewer
Database
View
Ads
Search
Ads
Send
Response
Database
View
Respons
es
Post
Ads
Ads
Category
Edit
Ads
Login
Process
Poster
New Poster
Maintain
Category
Registered Users
View
Registere
d Users
Administrator
Send
Notificatio
n
Manage
Info
Maintain
Advertisers
Details
Database
47 | P a g e
EASY SEARCH
3. Registration Process:
Through this module new posters can registered them.
After giving their details, they will get a user id and
password. Then to get entry into poster section they
need to provide this id and password and only poster
with valid id and password will get entry into poster
zone. This is also a security feature to avoid entry of
unauthorized user.
4. Manage Information:
Through this module works to provide
information details about various companies, institutes,
banks, famous places and social activities etc.
5. Poster :
Through this module a poster can post a new ad,
update ad details. He can update including user name
and password and search and shortlist the Viewers,
check the status of advertisementss response. He can
reply to the viewers In short this module deals with the
whole advertisement process.
6. Administrator:
This is the Administrators module by which he keep the eye on whole site and
maintain and upgrade the sites service for sake of users. Administrator can show
banner ads of others, which help the site in revenue
48 | P a g e
EASY SEARCH
CODING
49 | P a g e
EASY SEARCH
Web.xml
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<context-param>
<param-name>Connectiondriver</param-name>
<param-value>oracle.jdbc.driver.OracleDriver</param-value>
</context-param>
<context-param>
<param-name>urlconnection</param-name>
<param-value>jdbc:oracle:thin:@localhost:1521:XE</param-value>
</context-param>
<context-param>
<param-name>username</param-name>
<param-value>neha</param-value>
</context-param>
<context-param>
<param-name>password</param-name>
<param-value>neha</param-value>
</context-param>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
</web-app>
50 | P a g e
EASY SEARCH
Index.jsp
<%-Document : index
Created on : Nov 23, 2011, 4:00:04 PM
Author : Administrator
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="css.css" />
<script type="text/javascript" src="search.js"></script>
</head>
<body>
<%@include file="header.jsp"%>
<!------------------------------------------------------------------------->
<div id="container">
<div id="center" class="column">
<!-- MIDDLE COLUMN -->
<div class="box">
<div class="box-header">
</div>
<div class="box-body">
<div class="box-side">
<div class="box-content">
<center> <font color="blue" size="10" face="Brush Script Std">
Welcome to Jalandhar City</font></center>
<div id="searchform">
<div class="form-container">
</div>
</div>
</div>
</div>
<div class="box">
<div class="box-header">
<div class="box-side"><h1>Browsing Options</h1></div>
</div>
<div class="box-body">
<div class="box-side">
<div class="box-content">
<div id="content">
<div align="center" style="width: 100%; margin: 10px 0 30px
0;">
<div style="float: left; width: 50%">
51 | P a g e
EASY SEARCH
<ul class="category_list">
<li class="category_list" style="background: none;">
<a href="contentpage.jsp?attribute=Bank"><img border="0"
src="images/Bankimage.jpg" heheight="50" width="50"
alt="Search_Bank_Information"/></a>
<div class="category">
<a href="contentpage.jsp?attribute=Bank">Jalandhar
Bank Information</a>
<br />
</div>
</li>
<li class="category_list" style="background: none;">
<a href="contentpage.jsp?attribute=ATM"><img border="0"
src="images/Atmimage.jpg" width="50" height="50" alt="ATM information" /></a>
<div class="subcategories">
<a href="contentpage.jsp?attribute=ATM"><b>Jalandhar ATM
Informations<b></a>
</div>
</li>
<li class="category_list" style="background: none;">
<a href="Singlecontentpage.jsp?attribute=Hotels"><img
border="0" src="images/hotels.jpg" height="50" width="50" alt="Hotel
Informations" /></a>
<div class="category">
<a href="Singlecontentpage.jsp?
attribute=Hotels"><b>Jalandhar Hotels Informations</b> </a>
<br />
</div>
</li>
<li class="category_list" style="background: none;">
<a href="Singlecontentpage.jsp?attribute=Hospitals"><img
border="0" src="images/hospitalimage.jpg" height="50" width="50" alt="Hospital
Information" /></a>
<div class="category">
<a href="Singlecontentpage.jsp?
attribute=Hospitals"><b>Jalandhar Hospitals Informations</b> </a>
<br />
</div>
</li>
<li class="category_list" style="background: none;">
<a href="contentpage.jsp?attribute=Colleges"><img border="0"
src="images/colleges-and-universities.jpg" height="50" width="50" alt="colleges
Informations" /></a>
<div class="category">
<a href="contentpage.jsp?
attribute=Colleges"><b>Jalandhar Colleges Informations</b></a>
<br />
</div>
</li>
52 | P a g e
EASY SEARCH
<li class="category_list" style="background: none;">
<a href="Singlecontentpage.jsp?attribute=ITCompany"><img
border="0" src="images/ITCompany.jpg" height="50" width="50" alt="IT
Companies Informations" /></a>
<div class="category">
<a href="Singlecontentpage.jsp?
attribute=ITCompany"><b>Jalandhar IT Companies Informations</b></a>
<br />
</div>
</li>
</ul>
</div>
<div style="float: left; width: 50%">
<ul class="category_list">
<li class="category_list" style="background: none;">
<a href="Singlecontentpage.jsp?attribute=university"><img
border="0" src="images/universityimages.jpg" height="50" width="50"
alt="University Information" /></a>
<div class="category">
<a href="Singlecontentpage.jsp?
attribute=university">Jalandhar Universities Informations</a>
<br />
</div>
</li>
<li class="category_list" style="background: none;">
<a href="Singlecontentpage.jsp?attribute=Cinamas"><img
border="0" src="images/cinemas.jpg" height="50" width="50" alt="Cinemas
Informations" /></a>
<div class="category">
<a href="Singlecontentpage.jsp?
attribute=Cinamas">Jalandhar Cinemas Informations</a>
<br />
</div>
</li>
<li class="category_list" style="background: none;">
<a href="Singlecontentpage.jsp?attribute=policestation"><img
border="0" src="images/policestationimage.jpg" width="50" height="50" alt="police
station informations" /></a>
<div class="category">
<a href="Singlecontentpage.jsp?
attribute=policestation"><b>Jalandhar Police Stations Informations</b></a>
</div>
</li>
<li class="category_list" style="background: none;">
<a href="contentpage.jsp?attribute=schools"><img border="0"
src="images/Schools.jpg" alt="Schools Informations" width="50" height="50" /></a>
53 | P a g e
EASY SEARCH
<div class="category">
<a href="contentpage.jsp?
attribute=schools"><b>Jalandhar Schools Informations </b></a>
</div>
</li>
<li class="category_list" style="background: none;">
<a href="Singlecontentpage.jsp?attribute=relious"><img
border="0" src="images/religious-symbols_2.png" height="50" width="50"
alt="Religious Places" /></a>
<div class="category">
<a href="Singlecontentpage.jsp?
attribute=relious">Jalandhar Religious Places</a>
</li>
<li class="category_list" style="background: none;">
<a href="Singlecontentpage.jsp?attribute=Malls"><img
border="0" src="images/Mallsimage.jpg" width="50" height="50" alt="Malls
Informations" /></a>
<div class="category">
<a href="Singlecontentpage.jsp?
attribute=Malls"><b>Jalandhar Malls Informations</b></a>
</div>
</li>
</ul>
</div>
</div>
<br class="clear" />
<br class="clear" />
<br />
</div>
</div>
</div>
</div>
<%@include file="footer.jsp"%>
</body>
</html>
header.jsp
<%-Document : header
Created on : Nov 23, 2011, 4:33:57 PM
Author : Administrator
--%>
<%@page contentType="text/html" pageEncoding="UTF-8" import="java.util.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
54 | P a g e
EASY SEARCH
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="css.css" />
<script type="text/javascript" src="search.js"></script>
<script type="text/javascript">
function startTime()
{
var today=new Date();
var h=today.getHours();
var m=today.getMinutes();
var s=today.getSeconds();
// add a zero in front of numbers<10
m=checkTime(m);
s=checkTime(s);
document.getElementById('txt').innerHTML=h+":"+m+":"+s;
t=setTimeout('startTime()',500);
}
function checkTime(i)
{
if (i<10)
{
i="0" + i;
}
return i;
}
</script>
</head>
<body onload="startTime()">
<div id="header">
<div id="status-line">
<span id="breadcrumbs">
<a href="index.jsp">
<img id="home" src="images/icon_home.gif">
</a>
<a href="index.jsp">Home</a>
|
<a href="Contactus.jsp">Contact Us</a>
|
</span>
<img id="logo" src="images/easy_search_logo.png" border="0" alt="" />
<div class="ad" align="right">
<a href="index.jsp">
<img src="images/easy_search.jpg" class="ad"/></a>
</div>
<div class="ad1" align="right">
55 | P a g e
EASY SEARCH
<a href="index.jsp">
<img src="images/add_your_business.png" class="ad1"/></a>
</div>
<div class="ad1" align="right">
</div>
<b> <font color="red"> <div id="txt"></div></font></B>
</div>
</body>
</html>
Footer.jsp
<%-Document : footer
Created on : Nov 23, 2011, 4:59:27 PM
Author : Administrator
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="css.css" />
<script type="text/javascript" src="search.js"></script>
</head>
<body>
<div id="footer">
<div align="center">
© Copyright 2011 Easy Search </p>
<br /><br />
</div>
</div>
</html>
Css.css
/* Reset CSS Styles */
* { margin: 0px; padding: 0px; }
* html body {
overflow: hidden;
}
h1, h2, h3, h4, h5, h6 { margin: 15px 0; }
p { margin: 10px 0; }
/* General Styles */
56 | P a g e
EASY SEARCH
html, body {
font-family: Arial, Helvetica, sans-serif;
font-size: 12px;
color: #000;
margin: 0;
padding: 0;
border: 0;
}
body {
min-width: 950px; /* 2x (LS fullwidth + CC Padding) + RC fullwidth */
background: url(./images/mainBg.jpg) repeat-x left top;
}
.clear {
height: 0px;
line-height: 0px;
clear: both;
}
a:link,
a:visited,
a:active {
color: #3c3b3b;
text-decoration: none;
}
a:hover {
color: #ca8501;
text-decoration: underline;
}
h1 {
border-bottom: 2px solid #EBEBEB;
font-size: 160%;
margin: 0 0 5px;
color: #000 !important;
}
h2 {
border-bottom: 1px solid #EEEEEE;
57 | P a g e
EASY SEARCH
margin: 0 0 5px;
padding: 20px 0 3px;
font-size: 120%;
}
h3 {
font-size: 110%;
font-weight: bold;
margin: 0 0 5px 0;
padding: 0;
}
a:focus, a:active {
outline: 0;
}
/* Layout */
#container {
padding-top: 10px;
padding-left: 210px; /* LC fullwidth */
padding-right: 230px; /* RC fullwidth + CC padding */
}
#container .column {
position: relative;
float: left;
}
#logo {
padding: 30px 0px 15px 20px;
}
#header {
border-bottom: #000 1px solid;
background: #4890b3 url(./images/header-bg.gif) no-repeat center;
border: none;
}
#center {
padding: 0px 10px; /* CC padding */
width: 100%;
}
#page_right{ float:right; width:700px;}
#page_left{ float:left; width:150px;}
#left {
width: 200px; /* LC width */
58 | P a g e
EASY SEARCH
padding-left: 10px; /* LC padding */
margin-left: -100%;
right: 230px; /* LC fullwidth + CC padding */
}
#right {
width: 200px; /* RC width */
padding-right: 10px; /* RC padding */
margin-right: -230px; /* RC fullwidth + CC padding*/
}
#footer {
padding: 10px 0px;
clear: both;
background-color: #4890b3;
color: #000000;
}
#footer a
{
color: #515151;
font-size: 11px;
text-decoration: underline;
}
#left {
*left: 210px; /* RC fullwidth */ /*** IE6 Fix ***/
}
#content {
height: 100%;
overflow: hidden;
padding: 5px;
}
#content_detail {
float: left;
width: 50%;
padding: 0 50px 0 0;
}
#content_detail_2 {
float: right;
padding: 5px 0 0;
width: 40%;
59 | P a g e
EASY SEARCH
}
/* Search Form */
#searchform #keyword {
width: 150px;
}
#searchform #category {
width: 130px;
}
#searchform #location {
width: 150px;
}
#searchform #location_id {
width: 110px;
}
#searchform #zip_miles {
width: 120px;
}
/* Forms */
div.form-container {color: #000;}
/* Fix IE7 double margin bug */
div.form-container form {
width: 100%;
}
div.form-container form p {
margin: 0
}
div.form-container form p.note {
margin-left: 165px;
font-size: 90%;
color: #333333;
margin-top: 3px;
clear: both;
}
div.form-container form p.note img {
padding: 0px;
}
div.form-container div.controlset { margin-left: 165px; float: none; margin-top: 1px; }
div.form-container div.custom { }
/* Asterisk Next to required form fields */
div.form-container em {
font-weight: bold;
font-style: normal;
60 | P a g e
EASY SEARCH
position: absolute;
color: #C00;
line-height: normal;
top: -2px;
}
div.form-container div.controlset input {
vertical-align: -2px;
}
div.form-container div.controlset div.item {
margin-bottom: 5px;
}
div.form-container select.page-numbers { width: 50px; padding: 1px; font-size: 90%;
}
fieldset li {
list-style: none;
padding: 5px;
margin: 0;
clear: both;
position: static;
}
/* Removed position: relative to fix IE7 expanding tree overlap */
fieldset label {
font-size: 12px;
margin-right: 15px;
width: 150px;
display: block;
float: left;
text-align: right;
position: relative;
}
fieldset label em a {
font-size: 9px;
font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif;
font-weight: bold;
61 | P a g e
EASY SEARCH
vertical-align: top;
padding-right: 2px;
}
label.error {
color: #C00;
}
div.form-container fieldset.buttonrow {
border: 0px;
margin: 0px;
padding: 0px 0px 10px 190px;
}
span.label {
font-size: 12px;
margin-right: 10px;
padding: 0px 10px 0 0;
width: 120px;
display: block;
float: left;
color: #666666;
}
fieldset {
margin-bottom: 15px;
padding: 10px;
border: 5px solid #F1F1F1;
-moz-border-radius: 5px;
}
fieldset.hidden {
border: 0px;
}
fieldset img {
padding-left: 10px;
}
fieldset div div img { padding: 0px; } /* fix for tree selects */
legend {
font-weight: bold;
62 | P a g e
EASY SEARCH
color: #777777;
font-size: 1.2em;
padding: 0px 5px 0px 5px;
}
input.submit {
background: #FFFFFF url(./images/gradient_silver.gif) repeat-x scroll 0 0;
border: 1px solid #484848;
color: #000;
padding: 2px 5px 2px 5px;
cursor: pointer;
width: auto;
font-family: inherit;
font-size: 12px;
}
input.submit:hover {
/*background-color: #f5f7fa;*/
background: url(./images/gradient_silver-hover.gif) repeat-x scroll 0 0;
border: 1px solid #d6bc06;
color: #6b5301;
}
input.text,
textarea.textarea,
select.select,
select.select_multiple {
width: 250px;
background-color: #FFFFFF;
font-size: 12px;
color: #000000;
63 | P a g e
EASY SEARCH
font-family: inherit;
border: 1px solid #C0C0C0;
padding: 3px 5px 3px 5px;
}
textarea.textarea {
height: 150px;
}
select.select,
select.select_multiple {
width: 262px;
padding: 2px 3px 2px 3px;
}
select.select option,
select.select optgroup,
select.select_multiple option,
select.select_multiple optgroup {
padding-left: 5px;
}
input.text:focus,
textarea.textarea:focus,
64 | P a g e
EASY SEARCH
input.text.error:focus,
textarea.textarea.error:focus {
background-color: #f5f7fa;
border: 1px solid #79a8f5;
}
input.text.error,
textarea.textarea.error {
border: 1px solid #C00;
background-color: #FEF;
}
/* Table List */
div.table-list table { width: 100%; margin-bottom: 10px;}
div.table-list table, div.table-list td { border: 1px solid #CCC; border-collapse:
collapse; font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; }
div.table-list thead th, div.table-list tbody th { background: #FFF
url(./images/gradient_silver.gif) repeat-x; color: #666; padding: 0px 10px; border-left:
1px solid #CCC; text-align: left; height: 26px; }
div.table-list tbody th { background: #fafafb; border-top: 1px solid #CCC; text-align:
left; font-weight: normal; }
div.table-list tbody tr td { padding: 5px 10px; color: #666; }
div.table-list tbody tr.odd,
div.table-list tbody tr.odd th { background: #f6f6f6; }
div.table-list tbody tr:hover { background: #FFF url(./images/table_tr_background.gif)
repeat; }
div.table-list tbody tr:hover th { background: #FFF
url(./images/table_tr_background.gif) repeat; color: #454545; }
65 | P a g e
EASY SEARCH
/* Box Styles */
div.box { width: 100%; margin: 0px auto; padding: 0 0 10px 0; }
.box .box-header {
background:transparent url(d:/searchbg.gif) no-repeat 0px 0px; }
66 | P a g e
EASY SEARCH
/* Star Rating */
.star-rating {
background:transparent url(./images/star_rating.gif) repeat-x scroll left top;
height:16px;
list-style-image:none;
list-style-position:outside;
list-style-type:none;
margin:0px;
67 | P a g e
EASY SEARCH
padding:0px;
position:relative;
width:80px;
}
.star-rating li { float:left; margin:0px; padding:0px; clear: none; }
.star-rating li a {
display: block;
height: 16px;
line-height: 16px;
overflow: hidden;
padding: 0px;
position: absolute;
text-decoration: none;
text-indent: -9000px;
width: 16px;
z-index: 20;
}
.star-rating li a:hover {
background: transparent url(./images/star_rating.gif) repeat scroll left center;
border: medium none;
left: auto;
z-index: 2;
}
.star-rating a.one-star { left:0px; }
68 | P a g e
EASY SEARCH
.star-rating a.one-star:hover { width:16px; }
.star-rating a.two-stars { left:16px; }
.star-rating a.two-stars:hover { width:32px; }
.star-rating a.three-stars { left:32px; }
.star-rating a.three-stars:hover { width:48px; }
.star-rating a.four-stars { left:48px; }
.star-rating a.four-stars:hover { width:64px; }
.star-rating a.five-stars { left:64px; }
.star-rating a.five-stars:hover { width:80px; }
.star-rating ul { padding: 0px; }
.star-rating li.current-rating {
background:transparent url(./images/star_rating.gif) repeat scroll left bottom;
display: block;
height: 16px;
position: absolute;
text-indent: -9000px;
z-index: 1;
padding: 0px;
padding-left: 0px;
}
/* Status Line */
div#status-line {
background-color: #3D3737;
border-bottom: 1px solid #C6C3C6;
69 | P a g e
EASY SEARCH
overflow: auto;
padding: 8px 5px 5px 10px;
font: normal 14px segoe UI, Arial, Helvetica, sans-serif ;
}
div#status-line a {
color: #FFF;
text-decoration: none;
}
div#status-line a:hover {
color: #83C6EB;
text-decoration: none;
}
div#status-line a:active {
color: #83C6EB;
text-decoration: none;
}
#status-line span#login-status {
color: #FFF;
font-size: 14px;
float: right;
}
#status-line span#breadcrumbs {
color: #FFF;
font: normal 14px segoe UI, Arial, Helvetica, sans-serif ;
float: left;
}
#status-line img#home {
vertical-align: bottom;
70 | P a g e
EASY SEARCH
}
/* Maintenance */
div#maintenance-line {
background-color: #ffeaea;
border-bottom: 1px solid #e82a2a;
overflow: auto;
padding: 5px 5px 5px 10px;
height: 17px;
text-align: center;
font-weight: bold;
color: #e82a2a;
}
div#maintenance-message {
background-color: #ffeaea;
border: 1px solid #e82a2a;
overflow: auto;
padding: 20px 20px 20px 20px;
text-align: center;
font-weight: bold;
color: #e82a2a;
margin: 20px;
font-size: 14px;
}
71 | P a g e
EASY SEARCH
/* Messages */
#messages div.error,
#messages div.success,
#messages div.notice {
-moz-border-radius: 5px;
margin-bottom: 10px;
padding: 10px 5px 10px 35px;
border-width: 5px;
border-style: solid;
font-size: 1.2em;
}
#messages div.error {
border-color: #ffb9b9;
background: #ffeaea url(./images/message_error.gif) no-repeat 10px center;
}
#messages div.success {
border-color: #aedf7c;
background: #e2fbc8 url(./images/message_success.gif) no-repeat 10px center;
}
#messages div.notice {
72 | P a g e
EASY SEARCH
border-color: #f9ff85;
background: #dffac2 url(./images/message_notice.gif) no-repeat 10px center;
}
/* Map */
#map {
border: 5px solid #C6C3C6;
width: 500px;
text-align: center;
height: 500px;
}
/* Sideboxes */
#sidebox_popular_categories .count {
color: #000;
font-size: 11px;
73 | P a g e
EASY SEARCH
#sidebox-login a {
font-size: 11px;
}
#sidebox-login input {
width: 120px;
}
#sidebox-login input.submit {
width: 50px;
margin: 5px 0px 0px 5px;
}
EASY SEARCH
#sidebox-login fieldset {
padding: 0px;
margin: 0px;
}
/* Search form */
#searchform div.form-container p.note {
margin-left: 0;
color: #3c3b3b;
font-size: 11px;
}
75 | P a g e
EASY SEARCH
/* Options */
#options select {
width: 100px;
}
/* Category Styles */
ul.category_list li.category_list { font-size: 12px; list-style-image: none; list-styleposition: outside; list-style-type: none; margin: 0pt; background:transparent
url(images/icon_categories.gif) no-repeat scroll 0px 0px; padding: 0px 20px 20px
20px; }
li.category_list { clear: both; }
ul.category_list { font-weight: bold; text-decoration : none; color: #888888; }
ul.category_list .category { font-size: 12px; color: #000; }
ul.category_list .category a { font-size: 12px; }
ul.category_list .category_description { font-size: 11px; }
ul.category_list .subcategories { font-size: 9px; font-weight: normal; }
ul.category_list .subcategories a { font-size: 11px; font-weight: normal; }
76 | P a g e
EASY SEARCH
ul.category_list img { float: left; margin: 0px 10px 20px 0px; padding: 5px;
border:#b5b5b5 solid 1px; background-color: #FFF; }
ul.location_list li.location_list { font-size: 12px; list-style-image: none; list-styleposition: outside; list-style-type: none; margin: 0pt; background:transparent
url(images/icon_categories.gif) no-repeat scroll 0px 0px; padding: 0px 20px 20px
20px; }
ul.location_list { font-weight: bold; text-decoration : none; color: #888888; }
ul.location_list .location { font-size: 12px; }
ul.location_list .location a { font-size: 12px; }
ul.location_list .location_description { font-size: 10px; }
ul.location_list .sublocations { font-size: 9px; font-weight: normal; }
ul.location_list .sublocations a { font-size: 9px; font-weight: normal; }
ul.location_list img { float: left; padding: 0px 10px 20px 0px; }
ul.listing_results li.listing_results { font-size: 12px; list-style-image: none; list-styleposition: outside; list-style-type: none; margin: 5px; height: 120px;background-color:
#fafafa; }
ul.listing_results { margin: 0px; }
li.listing_results { padding: 10px; border: #DDD 1px solid; overflow: auto; }
ul.listing_results .listing_results_listing { }
ul.listing_results .listing_results_title { padding-bottom: 5px; }
ul.listing_results .listing_results_score { float: left; }
ul.listing_results .listing_results_zip_distance { float: left; }
ul.listing_results .listing_results_logo { padding-right: 10px; float: left; width: auto; }
ul.listing_results .listing_results_address { padding-bottom: 5px; }
ul.listing_results .listing_results_rating { float: right; vertical-align: top; }
ul.listing_results .listing_results_description { }
77 | P a g e
EASY SEARCH
ul.listing_options li.listing_options { font-size: 12px; list-style-image: none; list-styleposition: outside; list-style-type: none; margin: 0px; padding-left: 30px; }
li.listing_options { line-height: 22px; padding-bottom: 5px; }
/* Images Search */
.image_results ol {
margin: 0 0 10px 0;
padding: 0;
}
.image_results li {
list-style: none;
padding: 20px;
margin: 0;
clear: both;
border: #DDD 1px solid;
}
.image_results .image {
float: left;
vertical-align: middle;
margin-right: 20px;
}
78 | P a g e
EASY SEARCH
.image_results .image_details {
vertical-align: middle;
}
.image_results .image_title {
font-weight: bold;
}
/* Documents Search */
.document_results ol {
margin: 0 0 10px 0;
padding: 0;
}
.document_results li {
list-style: none;
padding: 20px;
margin: 0;
clear: both;
border: #DDD 1px solid;
}
.document_results .document_details {
vertical-align: middle;
79 | P a g e
EASY SEARCH
}
.document_results .document_title {
font-weight: bold;
}
/* Classifieds Search */
.classifieds_results ol {
margin: 0 0 10px 0;
padding: 0;
}
.classifieds_results li {
list-style: none;
padding: 20px;
margin: 0;
clear: both;
border: #DDD 1px solid;
overflow: auto;
}
.classifieds_results .image {
float: left;
vertical-align: middle;
margin-right: 20px
80 | P a g e
EASY SEARCH
.classifieds_results .classifieds_details {
vertical-align: middle;
}
.classifieds_results .classifieds_title {
font-weight: bold;
}
/* Lists */
li.sitemap_li {}
ul.sitemap_ul {
margin-left: 10px;
padding-left: 1.0em;
padding-top: 0.2em;
list-style-image: url('./images/point.gif')
}
.listing_default {
font-family: Verdana, Arial, Sans-Serif;
font-size: 12px;
text-decoration: underline;
font-weight: bold;
81 | P a g e
EASY SEARCH
color: #3C3B3B;
}
/* Tree */
.dhtmlx_tree_wrapper {
padding: 5px;
height: 150px;
width: 250px;
border: #C0C0C0 1px solid;
}
/* Image Gallery */
#image_gallery {
list-style: none;
width: 500px;
margin-top: 10px;
}
#image_gallery li {
float: left;
display: block;
cursor: pointer;
border: 3px solid #fff;
outline: 1px solid #ddd;
margin-right: 14px;
82 | P a g e
EASY SEARCH
margin-bottom: 14px;
}
#image_gallery li img {
border: 0;
}
#classified_image_gallery li {
float: left;
display: block;
cursor: pointer;
border: 3px solid #fff;
outline: 1px solid #ddd;
margin-right: 14px;
margin-bottom: 14px;
}
83 | P a g e
EASY SEARCH
#classified_gallery li img {
border: 0;
}
#classified_image_gallery_image {
border: 3px solid #fff;
outline: 1px solid #ddd;
margin: 10px 0 10px 0;
}
/* FAQ */
.faq_category {
font-size: 14px;
font-weight: bold;
color: #777777;
display: block;
margin: 15px 0 3px 0;
}
.faq_category_hr {
color: #CCCCCC;
height: 1px;
line-height: 1px;
}
84 | P a g e
EASY SEARCH
.faq_question {
display: block;
margin: 5px 0 0 0;
}
.faq_question_open,
.faq_question_open:visited,
.faq_question_open:link {
text-decoration: underline;
}
.faq_answer {
margin: 0 0 10px 0;
padding: 0 0 0 20px;
}
/* Table */
table.frame {
border-collapse : collapse;
border-color: #EBEBEB;
border-style: solid solid none;
border-width: 1px 0 0 1px;
margin:0 0 10px;
padding: 0;
85 | P a g e
EASY SEARCH
}
.table {
border-collapse : collapse;
width: 100%;
}
.table .label {
width: 150px;
background-color:#F5F5F5;
color:#333333;
text-align: right;
}
.table tr td {
padding: 10px;
background-color:#FFFFFF;
border-bottom: 1px solid #EBEBEB;
border-right: 1px solid #EBEBEB;
}
EASY SEARCH
margin: 0px;
}
#user_orders_view_listing_links li {
padding: 5px 0;
}
#user_orders_view_listing_links li img {
vertical-align: text-top;
padding: 0 5px 0 0;
border: 0;
}
/* Password Strength */
/* Password Strength */
div.password_strength_container {
height: 12px;
margin: 5px 0 0 165px;
font-size: 90%;
display: none;
}
div.password_strength {
background-image:url('./images/password_strength.jpg');
87 | P a g e
EASY SEARCH
width: 100px;
display: inline-block;
}
.ad{
float:right;
padding-top:10px;
}
.ad img{
border:none;
margin-left: 10px;
width:100px;
height:100px;
}
.ad1{
float:right;
padding-top:10px;
width:300px;
height:100px;
}
.Text{
font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
font-size : 13px;
font-style : inherit;
font-variant : inherit;
font-weight : inherit;
}
.Heading{
font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
font-size : 18px;
color : #bf601a;
}
P{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 9 pt;
font-style : inherit;
font-variant : inherit;
88 | P a g e
EASY SEARCH
font-weight : inherit;
}
.Heading{
font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
font-size : 18px;
color : #bf601a;
}
.Text{
font-family : Verdana, Tahoma, Arial, Helvetica, sans-serif;
font-size : 13px;
font-style : inherit;
font-variant : inherit;
font-weight : inherit;
}
Singlecontentpage.jsp
<%-Document : Singlecontentpage
Created on : Nov 25, 2011, 4:08:13 PM
Author : amitDreamweavers
--%>
<%@page contentType="text/html" pageEncoding="UTF-8" %>
89 | P a g e
EASY SEARCH
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>jalandhar <%=request.getParameter("attribute")%></title>
</head>
<body>
<%@include file="header.jsp"%>
<%
session.setAttribute("fortablename",request.getParameter("attribute"));
%>
<center> <%out.println("<font color='green' size='10' face='Brush Script
Std'>Jalandhar "+request.getParameter("attribute")+" "+"Informations</font>");
%></center>
<%@include file="Singlecontentpagedisplay.jsp"%>
<%@include file="footer.jsp"%>
</body>
</html>
Singlecontentpagedisplay.jsp
<%-Document : Singlecontentpagedisplay
Created on : Nov 25, 2011, 4:10:57 PM
Author : amitDreamweavers
--%>
90 | P a g e
EASY SEARCH
<%@page contentType="text/html" pageEncoding="UTF-8" import="java.util.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<center>
<%!
ArrayList<String>columnnames;
String item;
ArrayList<String>doubledata[][]=null;
String array[][]=null;
%>
<jsp:useBean id="bean" class="bean.beandemo"/>
<%
bean.getConnection((String)application.getInitParameter("Connectiondriver"),
(String)application.getInitParameter("urlconnection"),
(String)application.getInitParameter("username"),
(String)application.getInitParameter("password"));
if(bean.getDataFromSubTable((request.getParameter("names")),
(String)session.getAttribute("fortablename")))
{
columnnames=(ArrayList)bean.getColumnName();
Iterator column=columnnames.iterator();
%>
<table bgcolor="gray" cellspacing="10" cellpadding="10">
<tr>
<%
// obtain all column details
while(column.hasNext())
{
out.println("<td><font size='4'>"+(String)column.next()
+"</font></td>");
}
%>
</tr>
<%
array=(String[][])bean.getSubtabledata();
int rownumber=bean.getRowNumber();
int columncount=bean.getColumncount();
for(int i=0;i<rownumber;i++)
{
out.println("<tr><font color='green' size='5' face='Arno Pro'>");
for(int j=0;j<columncount;j++)
{
out.println("<td>"+array[i][j]+"</td>");
91 | P a g e
EASY SEARCH
}
out.println("</td></font>");
}
%>
</font>
</table>
<%
}
else
{ out.println(" There is a problem ");}
%>
</center>
</body>
</html>
subContentDisplay.jsp
<%-Document : subContentDisplay.jsp
Created on : Nov 24, 2011, 11:58:56 PM
Author : amitDreamweavers
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
92 | P a g e
EASY SEARCH
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="css.css" />
<script type="text/javascript" src="search.js"></script>
</head>
<body>
<%@include file="header.jsp"%>
<br/>
<%@ include file="subcontentDisplayjavacode.jsp"%>
<%@include file="footer.jsp"%>
</body>
</html>
subContentDispayJavacode.jsp
<%-Document : subcontentDisplayjavacode
Created on : Nov 25, 2011, 12:25:38 AM
Author : amitDreamweavers
--%>
93 | P a g e
EASY SEARCH
<%@page contentType="text/html" pageEncoding="UTF-8" import="java.util.*"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<center>
<%!
ArrayList<String>itemnames;
ArrayList<String>columnnames;
String item;
ArrayList<String>doubledata[][]=null;
String array[][]=null;
%>
<jsp:useBean id="bean" class="bean.beandemo"/>
<%
bean.getConnection((String)application.getInitParameter("Connectiondriver"),
(String)application.getInitParameter("urlconnection"),
(String)application.getInitParameter("username"),
(String)application.getInitParameter("password"));
out.println("<font color='green' size='10' face='Brush Script Std'>Jalandhar
"+session.getAttribute("fortablename")+" "+"Informations</font>");
if(bean.getDataFromSubTable((request.getParameter("names")),
(String)session.getAttribute("fortablename")))
{
columnnames=(ArrayList)bean.getColumnName();
Iterator column=columnnames.iterator();
%>
<table bgcolor="gray" cellspacing="10" cellpadding="10">
<tr>
<%
// obtain all column details
while(column.hasNext())
{
out.println("<td><font size='4' color='green' style='Arno Pro'>"+
(String)column.next()+"</font></td>");
}
%>
</tr>
<%
array=(String[][])bean.getSubtabledata();
int rownumber=bean.getRowNumber();
int columncount=bean.getColumncount();
for(int i=0;i<rownumber;i++)
{
out.println("<tr><font size='5' style='Arno Pro'>");
94 | P a g e
EASY SEARCH
for(int j=0;j<columncount;j++)
{
out.println("<td>"+array[i][j]+"</a></td>");
}
out.println("</td></font>");
}
%>
</table>
<%
}
else
{
out.println(" Sorry for interruption");
}
%>
</center>
</body>
</html>
Contact_detail.jsp
<%-Document : contact_detail
Created on : Nov 24, 2011, 1:07:30 PM
Author : amitDreamweavers
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
95 | P a g e
EASY SEARCH
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
contact detail.jsp
<center>
<table>
<tr>
<td>
<img src="images/contactus.JPG"/>
</td>
</tr>
</table>
</center>
</body>
</html>
Contactus.jsp
<%-Document : Contactus
Created on : Nov 24, 2011, 12:58:07 PM
Author : amitDreamweavers
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
96 | P a g e
EASY SEARCH
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<link rel="stylesheet" type="text/css" href="css.css" />
<script type="text/javascript" src="search.js"></script>
</head>
<body>
<%@include file="header.jsp"%>
<!------------------------------------------------------------------------->
<%@include file= "contact_detail.jsp"%>
<%@include file="footer.jsp"%>
</body>
</html>
Contentdisplay.jsp
<%-Document : contentdisplay
Created on : Nov 24, 2011, 4:51:34 PM
Author : amitDreamweavers
--%>
<%@page contentType="text/html" pageEncoding="UTF-8" import="java.util.*"%>
97 | P a g e
EASY SEARCH
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
</head>
<body>
<br>
<center>
<%!
ArrayList<String>itemnames;
ArrayList<String>columnnames;
String item;
%>
<%out.println("<font color='green' size='10' face='Brush Script Std'>Jalandhar
"+request.getParameter("attribute")+" "+"Informations</font>"); %>
<jsp:useBean id="bean" class="bean.beandemo"/>
<%
bean.getConnection((String)application.getInitParameter("Connectiondriver"),
(String)application.getInitParameter("urlconnection"),
(String)application.getInitParameter("username"),
(String)application.getInitParameter("password"));
// Maintain sessions here
session.setAttribute("fortablename",request.getParameter("attribute"));
if(bean.getDataFromTable((String)session.getAttribute("fortablename")))
{
itemnames=(ArrayList)bean.getItemsNames();
columnnames=(ArrayList)bean.getColumnName();
Iterator items=itemnames.iterator();
Iterator column=columnnames.iterator();
%>
<table bgcolor="gray">
<tr>
<td>
<%
while(column.hasNext())
{
out.println("<font size='10'>"+(String)column.next()+"</font>");
%>
</td></tr>
<%
while(items.hasNext())
{
item =(String)items.next();
%>
<tr><td><a href="subContentDisplay.jsp?names=<%=item%> "><font
color="yellow" size="5"><%=item%></font></a></td></tr>
<%
98 | P a g e
EASY SEARCH
}
}
%>
</table>
<%
}
else
{
out.println(" Sorry for interruption");
}
%>
</center>
</body>
</html>
Contentpage.jsp
<%-Document : contentpage
Created on : Nov 24, 2011, 2:03:37 PM
Author : amitDreamweavers
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
99 | P a g e
EASY SEARCH
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Jalandhar <%=request.getParameter("attribute")%> </title>
</head>
<body>
<%@include file="header.jsp"%>
<%@include file="contentdisplay.jsp"%>
<%@include file="footer.jsp"%>
</body>
</html>
Bean.beandemo.java
package bean;
import java.sql.*;
import java.util.*;
public class beandemo
{
Connection con=null;
ArrayList<String> itemnames=null;
100 | P a g e
EASY SEARCH
ArrayList<String>columnname=null;
ArrayList doubledata[][];
String array[][]=null;
int rownumber=0;
int jindex=0;
String data=null;
public Connection getConnection(String connectiondriver,String urlcon,String
username,String password)
{
try
{
System.out.println("kkkkkkkkkk");
Class.forName(connectiondriver);
System.out.println("kkkknn "+urlcon);
con=DriverManager.getConnection(urlcon,username,password);
System.out.println("Connection is maintained");
}
catch(Exception e)
{
System.out.println("Data base connection problem" +e.getMessage());
}
return con;
}
public boolean getDataFromTable(String data)
{
boolean flag=false;
Statement st=null;
String table=null;
try{
System.out.println(" I m in getDataFromTable........................................");
this.data=data;
if(data.equals("Bank"))
{
table="select * from banknames";
flag=true;
}
if(data.equals("ATM"))
{
table="select * from atmnames";
flag=true;
}
if(data.equals("Colleges"))
{
table="select * from college";
flag=true;
}
if(data.equals("schools"))
{
table="select * from schools";
101 | P a g e
EASY SEARCH
flag=true;
}
if(flag==true)
{
st = con.createStatement();
ResultSet rst =st.executeQuery(table);
ResultSetMetaData c=rst.getMetaData();
columnname=new ArrayList<String>();
columnname.add(c.getColumnName(2));
itemnames=new ArrayList<String>();
while(rst.next())
{
itemnames.add(rst.getString(2));
}
flag=true;
}
else
{
flag=false;
}
}catch(Exception e)
{
System.out.println(e.getMessage());
}
finally
{
try
{
con.close();
}catch(Exception e)
{
flag=false;
System.out.println(e.getMessage());
}
}
return flag;
}
public ArrayList getColumnName()
{
return columnname;
}
public ArrayList getItemsNames()
{
return itemnames;
}
////////////////////////////////////get data form sub tablesb
public boolean getDataFromSubTable(String columnitem,String bankname)
{
boolean flag=false;
102 | P a g e
EASY SEARCH
String parameter=null;
PreparedStatement st=null;
String subtable=null;
try{
if(bankname.equals("Bank"))
{
parameter="doubletable";
subtable="select * from sub_bank_detail where bank_name=?";
flag=true;
}
if(bankname.equals("ATM"))
{
subtable="select * from atm_bank_detail where ATM_BANK_NAME=?";
flag=true;
parameter="doubletable";
}
if(bankname.equals("Colleges"))
{
subtable="select * from SUB_COLLEGE where college_CATEGORIES=?";
System.out.println(bankname+ " "+subtable);
flag=true;
parameter="doubletable";
}
if(bankname.equals("Hotels"))
{
subtable="select * from Hotels";
flag=true;
parameter="singletable";
}
if(bankname.equals("Hospitals"))
{
subtable="select * from Hospitals";
flag=true;
parameter="singletable";
}
if(bankname.equals("policestation"))
{
subtable="select * from policestation";
flag=true;
parameter="singletable";
}
if(bankname.equals("university"))
{
subtable="select * from UNIVERSITY";
flag=true;
parameter="singletable";
}
if(bankname.equals("Cinamas"))
{
103 | P a g e
EASY SEARCH
subtable="select * from CINEMAS_JALANDHAR";
flag=true;
parameter="singletable";
}
if(bankname.equals("schools"))
{
subtable="select * from SUB_SCHOOLS where SCHOOL_CATEGORY=?";
flag=true;
parameter="doubletable";
}
if(bankname.equals("relious"))
{
subtable="select * from RELIGIOUSPLACES";
flag=true;
parameter="singletable";
}
if(bankname.equals("Malls"))
{
subtable="select * from MALLS_JALANDHAR";
flag=true;
parameter="singletable";
}
if(bankname.equals("ITCompany"))
{
subtable="select * from IT_Companies_JALANDHAR";
flag=true;
parameter="singletable";
}
if(flag==true)
{
//Statement
st=con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCU
R_READ_ONLY);
st=con.prepareStatement(subtable,ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_UPDATABLE);
System.out.println(columnitem+" ................................");
if(parameter.equals("doubletable"))
{
st.setString(1,columnitem);
}
ResultSet rst =st.executeQuery();
ResultSetMetaData c=rst.getMetaData();
columnname=new ArrayList<String>();
for(int i=2;i<=c.getColumnCount();i++)
{
columnname.add(c.getColumnName(i));
}
// get the rows and columns of the table where foreign key is applied
rst.last();
104 | P a g e
EASY SEARCH
rownumber= rst.getRow();
rst.beforeFirst();
jindex=c.getColumnCount()-1; // count no of columns
System.out.println("No of columns"+jindex+"...............");
System.out.println("No of rows"+rownumber+"...............");
array=new String[rownumber][jindex];
// doubledata=new ArrayList[c.getColumnCount()][rownumber];
int j=0 ; // for rows
while(rst.next())
{
int p=2;
for(int i=0;i<jindex;i++)
{
array[j][i]=rst.getString(p);
System.out.println(j+" "+i+"="+array[j][i]);
p++;
}
System.out.println(" Next row................................................................. ");
j++;
}
flag=true;
}
else
{
flag=false;
}
}catch(Exception e)
{
System.out.println(e.getMessage());
}
finally
{
try
{
con.close();
}catch(Exception e)
{
flag=false;
System.out.println(e.getMessage());
}
}
return flag;
}
public String[][] getSubtabledata()
{
return array;
}
public int getRowNumber()
{
105 | P a g e
EASY SEARCH
return rownumber;
}
public int getColumncount()
{
return jindex;
}
}
106 | P a g e
EASY SEARCH
TESTING PHASE
TESTING
Testing is the major quality control measure employed during software development.
Testing is the process of executing a program with the intent of finding an error. No
piece of code is completely ready unless it has been fully tested. This stage is very
important as at this stage it is verified whether the code developed meet the
requirement specifications or not. Moreover, all validations are also checked in the
testing stage.
107 | P a g e
EASY SEARCH
Unit testing.
2.
Integration testing.
3.
System testing.
4.
Acceptance testing.
These different levels of testing attempt to detect different types of faults. The
relation of the faults introduced in different phases, and the different levels of testing
are shown: Unit Testing:
The first level of testing is unit testing. In this different modules are tested against the
specifications produced during design for the modules. Unit testing is essential for
verification of the code produced during the coding phase and hence the goal is to test
the internal logic of the modules.
Integration Testing:
108 | P a g e
EASY SEARCH
The next level of testing is often called integration testing. In this many tested
modules are combined into sub-systems, which are then tested. The goal there is to
see if the modules can be integrated properly, the emphasis being on testing interfaces
between modules. This activity can be considered as testing the design, and hence the
emphasis on testing module interactions.
System Testing:
The next level of testing is system testing. Here the entire software system is tested.
The reference document for this process is requirement document, and the goal is to
see if the software meets its requirements. This is essentially a validation exercise.
Acceptance Testing:
The last level of testing is acceptance testing. Acceptance testing is performed with
realistic data of the client to demonstrate that the software is working satisfactorily.
Testing here focuses on the external behavior of the system, the internal logic of the
program is not emphasized.
Selection of Test Cases
For
There are two different approaches to selecting cases- Functional Testing and
Structural Testing.
In Functional testing, the software or the module to be tested is treated as a
black box, and the test cases are decided bases on the specifications of the system or
the module. For this reason this type of testing is also called black box testing. The
focus here is on testing the external behavior of the system.
In Structural Testing the test cases are decided bases on the logic of the
module to be tested. A common approach here is to achieve some type of coverage of
the statements in the code. One common coverage criterion is statement coverage,
109 | P a g e
EASY SEARCH
which requires that test cases be selected so that together they execute each statement
exactly once.
Test Plan
Testing is an extremely critical and time consuming activity. It requires proper
planning of the overall testing process. Testing process starts with a test plan. This
plan identifies all the testing related activities that must be performed and specifies
the schedule, allocates the resources, and specified guidelines for testing. The test
plan specifies conditions that should be tested, different units to be tested, and the
manner in which the modules will be integrated together.
Steps Followed In Testing Overall Software:
1)
First of all units testing was performed. Each and every module of the
system was tested separately so that there are no syntax and logical errors.
2)
3)
4)
5)
110 | P a g e
EASY SEARCH
MAINTENANCE
111 | P a g e
EASY SEARCH
Maintenance
Once the website is launched, it enters the maintenance phase. All systems need
maintenance. Maintenance is required because there are often some residual errors
remaining in the system that must be removed as they are discovered. Maintenance
involves understanding the effects of the change, making the changes to both the code
and the documents, testing the new parts and retesting the old parts that were not
changed. Maintenance is mainly of two types:
1. Corrective Maintenance
2. Adaptive Maintenance
Corrective Maintenance:
Almost all software that is developed has residual errors or bugs in them.
Many of these surfaces only after the system have been in operation,
sometimes for a long time. These errors once discovered need to be removed,
leading to the software to be changed. This is called Corrective Maintenance.
Adaptive Maintenance:
Even without bugs, software frequently undergoes change. The software often must
be upgraded and enhanced to include more features and provide more services. This
requires modification of the software. This type of maintenance is known as the
Adaptive Maintenance
FUTURE ENHANCEMENTS
An extensive effort has been put in to incorporate the maximum features in the
product. A few more features that can be added to the product are:
112 | P a g e
EASY SEARCH
During this tenure of six months of the development of my project my gains are as
follows:
I have gained knowledge about web site development using .NET framework.
I have come to know how to make forms and implement them together.
I have come to know how to use Microsoft Visual Studio for development of
systems.
113 | P a g e
EASY SEARCH
SCREEN SHOTS
114 | P a g e
EASY SEARCH
SNAPSHOTS: EASYSEARCH
SNAPSHOT: Home Page
115 | P a g e
EASY SEARCH
116 | P a g e
EASY SEARCH
117 | P a g e
EASY SEARCH
118 | P a g e
EASY SEARCH
119 | P a g e
EASY SEARCH
120 | P a g e
EASY SEARCH
121 | P a g e
EASY SEARCH
122 | P a g e
EASY SEARCH
123 | P a g e
EASY SEARCH
124 | P a g e
EASY SEARCH
125 | P a g e
EASY SEARCH
126 | P a g e
EASY SEARCH
127 | P a g e
EASY SEARCH
128 | P a g e
EASY SEARCH
129 | P a g e
EASY SEARCH
130 | P a g e
EASY SEARCH
131 | P a g e
EASY SEARCH
132 | P a g e
EASY SEARCH
133 | P a g e
EASY SEARCH
134 | P a g e
EASY SEARCH
135 | P a g e
EASY SEARCH
136 | P a g e
EASY SEARCH
137 | P a g e
EASY SEARCH
138 | P a g e
EASY SEARCH
139 | P a g e
EASY SEARCH
SNAPSHOT: Contact Us
140 | P a g e
EASY SEARCH
BIBLIOGRAPHY
&
REFERENCES
141 | P a g e
EASY SEARCH
BIBLIOGRAPHY
BOOKS
OReilly - Java Programming with Oracle ODBC
O'Reilly - Java Swing 1998
The Complete Reference Java 2
Thinking In Java - Second Edition
Java Certification Khaled Mughal
Struts-The Complete Reference
OReilly - Database Porgramming With Jdbc And Java 2nd Edition
Web Site
www.google.co.in
www.java2s.com
www.roseindia.net
www.w3schools.com/js/
142 | P a g e