1X3 BK Gol HP Sheet Blood Bank Management Systembb
1X3 BK Gol HP Sheet Blood Bank Management Systembb
Bachelor of Technology
In
Computer Science & Engineering
Under the Supervision of
By
Asha Sharma
(1122510023)
Kamya Raj
(1122510044)
Computer Science and Engineering
2011-2015
1
DECLARATION
This is to certify that Report entitled “GSM based defending Robot” which is
submitted by me in partial fulfillment of the requirement for the award of degree
Bachelor of Technology in Computer Science & Engineering to Accurate Institute of
Management and Technology, Greater Noida. Uttar Pradesh Technical University,
Lucknow comprises only my own work and due acknowledgement has been made in
the text to all other material used.
Approved By:
HOD
Computer Science and engineering
Accurate Institute Of Management and Technology
2
Certificate
This is to certify that Report entitled “GSM based wireless defending Robot” which is
submitted by Arunesh Shankar Mishra And Himanshi Sharma in partial fulfillment of
the requirement for the award of degree Bachelor of Technology in Computer Science
& Engineering to Accurate Institute of Management and Technology, Greater Noida.
Uttar Pradesh Technical University, Lucknow is a record of the candidate own work
carried out by him under my/our supervision. The matter embodied in this thesis is
original and has not been submitted for the award of any other degree.
Date:
Mr. Gurpreet Singh
Asst. Pro.
Computer Science and engineering
Accurate Institute Of Management and Technology
Approved By:
HOD
Computer Science and engineering.
Accurate Institute Of Management and Technology
3
Acknowledgement
We’ve taken efforts in this project however, it would have not been possible without
the kind support and help of many individuals and organizations. We would like to
extend my sincere thanks to all of them. We are highly indebted to Gurpreet Singh
Saini Asst. Professor for the guidance and constant supervision as well as for
providing necessary information regarding the project and also for their support in
completing the project.
We would like to express our gratitude towards our parent and members of Accurate
Institute of Management and Technology, for their kind cooperation and
encouragement which help us in completion of the project.
Our individual thanks and gratitude goes to our respective colleague in developing the
project and people who have willingly helped us with their abilities.
Name of Students:
Asha Sharma
(1122510023)
Kamya Raj
(1122510044)
Section: A
.
4
Table of Content:
Declaration 2
Acknowledgment 4
1.1 Introduction 9
1.2 Objectives 10
1.3 Advantage 11
1.6 Need 16
2. System Study
3. System Analysis
4. System Design
4.5 Modules 48
5
4.8 Scheduling 53
5. System Development
6. Testing
7. System Implementation
6
7
List Of Figure:
8
List Of Table:
9
1. INTRODUCTION
I have tried my best to make the complicated process of the Blood banks as simple as possible using
Structured & Modular technique & Menu oriented interface. I have tried to design the software in
such a way that user may not have any difficulty in using this package & further expansion is
possible without much effort. Even though I cannot claim that this work to be entirely exhaustive,
the main purpose of my exercise is perform each user’s activity in computerized way rather than
manually which is time consuming. People will no longer get caught in hospital red tape to procure
blood. Detailed information about the blood stock position, blood group, blood components and the
procedure of getting blood is now available on the Internet. It is Web Based Blood Bank
Management System.
• Provides the stock of blood for various groups in the various blood banks.
• Provides online registration to people who are willing to donate blood.
• Gives the details of blood donation camps.
• GroupWise listing of various blood groups.
• Citizens get information about the next coming blood donation camp via post or email after
registration.
• Online submission of registration forms.
• All the process of submission of registration form is quite simple.
• Department can collect information regarding various blood groups.
• People can get registration by sitting at home.
• Before any blood donation camp the registered citizens gets all the details regarding the camp.
I am confident that this software package can be readily used by non-programming personal
avoiding human handled chance of error.
10
1.2 Objectives of the project
I am confident that this software package can be readily used by non-programming personal avoiding
human handled chance of error. This project is used by two types of users
-->Administrator.
Online users can enquire about the blood donation if he/she wants to donate or receive blood.
Doctors, Nodal Hospitals can also register through this site. Administrator can maintain daily
updates in the requests of the users, doctors, hospitals etc. Administrator is must be an authorized
user. He can further change the password. There is the facility for password recovery, logout etc. The
main objectives of the project are:
1.3. ADVANTAGE:
I have designed the given proposed system in the JSP And My Sql to automate the process of Blood
Banks. Blood donation, the voluntary act of allowing one's blood to be drawn out of body has many
advantages besides giving that wonderful feeling of saving someone's life. Most of the time it is an
act of charity, though sometimes many people donate blood for money and other incentives. The
blood donated is stored in blood banks, to be subsequently used for transfusion.
No doubt the first and foremost advantage of donating blood is the exalted feeling of saving
someone's life. If we donate the little excess blood in our body, it could save someone's life without
creating any problem for us. Instead it would help to alleviate some major health problems like heart
diseases. Blood donation is an excellent way to get rid of excess iron accumulated in our body due to
its overconsumption. Excess iron in the body can stimulate the formation of free radicals, which are
11
responsible for causing damage to body cells and tissues. Free radicals are also associated with many
diseases like heart diseases and cancer.
Iron overloading is also thought to increase the risk of heart diseases. Besides, iron oxidizes
cholesterol, which is harmful for the arteries. Hemochromatosis is a genetic disease characterized by
excess accumulation of iron in the tissues due to improper metabolism. The disease can cause
damage to many organs like pancreas, adrenal glands, etc. It may also cause diabetes, liver diseases
and heart diseases. So, donating blood on a regular basis would help you to regulate the level of iron
in your body. Studies have shown that donating blood regularly can be beneficial for the heart and
circulatory system and can reduce the risk of heart diseases, especially among young people.
Besides, blood donation also burns the extra calories and reduces your cholesterol level. After
donating blood, the count of blood cells decreases in our body, which stimulates the bone marrow to
produce new red blood cells in order to replenish the loss. So, it stimulates the production of new
blood cells and refreshes the system.
Before donating blood, your hemoglobin level will be tested. If it is low, then you will not be
allowed to donate blood. Besides hemoglobin, your blood pressure level and body weight will also
be checked. In addition, your blood will also be examined for detecting the presence of five diseases,
namely, hepatitis B, hepatitis C, Syphilis, HIV/AIDS and malaria. If you are not suffering from these
diseases, only then you will be allowed to donate your blood.
There are no major disadvantages of donating blood, except that sometimes one may experience a
drop in blood pressure due to hypovolemia (a state of reduced blood volume), which may necessitate
cancellation of donation. Sometimes, one may also experience mild nausea or dizziness for a short
while. But if you compare the health benefits and mental satisfaction that comes from saving a life,
you will feel that benefits of this act of charity is not only restricted to the recipient, but also helps
the donor immensely.
The following steps that give the detailed information of the need of proposed system are:
Performance: During past several decades, the company records are supposed to be manually
handled for all the activities. The manual handling of the record is time consuming and highly
prone to error. To improve the performance of the Company system, the computerized system is to
12
be undertaken. The computerized project is fully computerized and user friendly even that any of the
members can see the report and status of the company.
Efficiency: The basic need of the project is efficiency. The project should be efficient so that
whenever a new customer record is added, or record is modified or deleted, the record is updated
automatically.
Control: The complete control of the project is under the hands of authorized person who has the
password to access this project and illegal access is not supposed to deal with. All the control is
under the administrator and the other members have the rights to just see the records not to change
any transaction or entry.
Security: Security is the main criteria for the proposed system. Since illegal access may corrupt the
database. So security has to be given in this project.
Key Features Are:
System Connectivity
No data duplication
Time Efficient
Cost Efficient
13
Maintaining records of customers & Crystal Report generation
14
1.4 DRAWBACKS OF CURRENT MANUAL- SYSTEM
The current manual system has a lot of paper work and it does not deal with old and
new car purchase and sale.
To maintain the records of sale and service manually, is a Time-consuming job.
With the increase in database, it will become a massive job to maintain the database.
Requires large quantities of file cabinets, which are huge and require quite a bit of space
in the office, which can be used for storing records of previous claims.
The retrieval of records of employees will be a tedious job.
Lack of security for the records, anyone disarrange the records of your system.
1. Problem of Reliability: Current system is not reliable. It seems to vary in quality from one
month to the next. Some times it gives good output, but some times the output is worst.
3. Problem of timeliness: In the current system the reports and output produced is mostly late and
in most of the cases it is useless because it is not on time.
4. Problem of Validity: The output and reports mostly contains misleading information. The
customer's information is sometimes not valid.
5. Problem of Economy: The current system is very costly. We have to spend lots of money to
keep the system up and going, but still not get the desired results.
15
6. Problem of Capacity: The current system is suffering from problem of capacity also. The staff
for organization is very less and the workload is too much. Few peoples cannot handle all the
work.
1. Details: The new proposed system stores and maintains all the Blood bank details,
donators details, nodal hospital details etc.
2. Calculations: The new proposed system updates tables and other information automatically
and it is very fast and accurate.
3. Registers: There is no need of keeping and maintaining salary and information manually. It
remembers each and every record and we can get any report at any time.
4. Speed: The new proposed system is very fast with 100% accuracy and saves time.
5. Manpower: The new proposed system needs less manpower. Less people can do the large
work.
6. Efficiency: The new proposed systems complete the work of many people in less time.
7. Past details: The new proposed system contains the details of every past claims taken by
the employees.
8. Reduces redundancy: The most important benefit of this system is that it reduces the
redundancy of data within the data.
9. Work load: Reduces the work load of the data store by helping in easy updates of the
products and providing them with the necessary details together with financial
transactions management.
16
10. Easy statements: Month-end and day-end statement easily taken out without getting
headaches on browsing through the day end statements.
1.6 NEED
I have designed the given proposed system in the JSPto automate the process of Blood Bank
Management System. This project is useful for the authorities who keep track of all the Blood bank
details.
The following steps that give the detailed information of the need of proposed system are:
Performance: During past several decades, the records are supposed to be manually
handled for all activities. The manual handling of the record is time consuming and
highly prone to error. To improve the performance of the system, the computerized
system is to be undertaken. The computerized project is fully computerized and user
friendly even that any of the members can see the report and status of the Blood bank.
Efficiency: The basic need of this website is efficiency. The website should be efficient
so that whenever a new user submits his/her details the website is updated automatically.
This record will be useful for other users instantly.
Control: The complete control of the project is under the hands of authorized person who
has the password to access this project and illegal access is not supposed to deal with. All
the control is under the administrator and the other members have the rights to just see the
records not to change any transaction or entry.
Security: Security is the main criteria for the proposed system. Since illegal access may
corrupt the database. So security has to be given in this project.
The need of today’s software development is competence in a GUI based front-end tool, which can
connect to Relational Database engines. This gives the programmer the opportunity to develop client
server based commercial applications.
17
FRONT END
JSP programming tools are complete programming environments. It allows programmers to build a
GUI program using the various on-screen controls such as buttons, text, menus, boxes etc. These
controls are placed on a form and then the processing details related with each control are filled in.
In the business world, competitive strategies have become the order of the day to improve quality,
cut costs and provide a high response customer service base. Most organizations today need to be
market driven and do a lot of value addition to their products and services. This naturally calls for
rational decision making, which requires information. Information Technology or IT provides that
effective channel to support and implement this strategy. Client/Server is the technology that
empowers the desktop, thus setting a trend for the way successful organizations will use technology
in the next decade.
18
o INTRODUCTION TO JSP
The character sequences <%= and %> enclose Java expressions, which are evaluated at run time.
This is what makes it possible to use JSP to generate dyamic HTML pages that change in response to
user actions or vary from user to user.
Exercise: Write a JSP to output the values returned by [Link] for various system
properties such as [Link], [Link], [Link], [Link], [Link], [Link] etc.
Scriptlets
We have already seen how to embed Java expressions in JSP pages by putting them between the <
%= and %> character sequences.
But it is difficult to do much programming just by putting Java expressions inside HTML.
JSP also allows you to write blocks of Java code inside the JSP. You do this by placing your Java
code between <% and %> characters (just like expressions, but without the = sign at the start of the
sequence.)
19
This block of code is known as a "scriptlet". By itself, a scriptlet doesn't contribute any HTML
(though it can, as we will see down below.) A scriptlet contains Java code that is executed every
time the JSP is invoked.
Here is a modified version of our JSP from previous section, adding in a scriptlet.
<HTML>
<BODY>
<%
// This is a scriptlet. Notice that the "date"
// variable we declare here is available in the
// embedded expression later on.
[Link]( "Evaluating date now" );
[Link] date = new [Link]();
%>
Hello! The time is now <%= date %>
</BODY>
</HTML>
If you run the above example, you will notice the output from the "[Link]" on the server
log. This is a convenient way to do simple debugging (some servers also have techniques of
debugging the JSP in the IDE. See your server's documentation to see if it offers such a technique.)
By itself a scriptlet does not generate HTML. If a scriptlet wants to generate HTML, it can use a
variable called "out". This variable does not need to be declared. It is already predefined for
scriptlets, along with some other variables. The following example shows how the scriptlet can
generate HTML output.
<HTML>
<BODY>
<%
// This scriptlet declares and initializes "date"
[Link]( "Evaluating date now" );
[Link] date = new [Link]();
%>
Hello! The time is now
<%
// This scriptlet generates HTML output
[Link]( [Link]( date ));
20
%>
</BODY>
</HTML>
Here, instead of using an expression, we are generating the HTML directly by printing to the "out"
variable. The "out" variable is of type [Link].
A "request" in server-side processing refers to the transaction between a browser and the server.
When someone clicks or enters a URL, the browser sends a "request" to the server for that URL, and
shows the data returned. As a part of this "request", various data is available, including the file the
browser wants from the server, and if the request is coming from pressing a SUBMIT button, the
information the user has entered in the form fields.
The JSP "request" variable is used to obtain information from the request as sent by the browser. For
instance, you can find out the name of the client's host (if available, otherwise the IP address will be
returned.) Let us modify the code as shown:
<HTML>
<BODY>
<%
// This scriptlet declares and initializes "date"
[Link]( "Evaluating date now" );
[Link] date = new [Link]();
%>
Hello! The time is now
<%
[Link]( date );
[Link]( "<BR>Your machine's address is " );
[Link]( [Link]());
%>
</BODY>
</HTML>
A similar variable is "response". This can be used to affect the response being sent to the browser.
For instance, you can call [Link]( anotherUrl ); to send a response to the browser that
21
it should load a different URL. This response will actualy go all the way to the browser. The
browser will then send a different request, to "anotherUrl". This is a little different from some other
JSP mechanisms we will come across, for including another page or forwarding the browser to
another page.
Exercise: Write a JSP to output the entire line, "Hello! The time is now ..." but use a scriptlet for the
complete string, including the HTML tags.
We have already seen how to use the "out" variable to generate HTML output from within a
scriptlet. For more complicated HTML, using the out variable all the time loses some of the
advantages of JSP programming. It is simpler to mix scriptlets and HTML.
Suppose you have to generate a table in HTML. This is a common operation, and you may want to
generate a table from a SQL table, or from the lines of a file. But to keep our example simple, we
will generate a table containing the numbers from 1 to N. Not very useful, but it will show you the
technique.
<TABLE BORDER=2>
<%
for ( int i = 0; i < n; i++ ) {
%>
<TR>
<TD>Number</TD>
<TD><%= i+1 %></TD>
</TR>
<%
}
%>
</TABLE>
You would have to supply an int variable "n" before it will work, and then it will output a simple
table with "n" rows.
22
The important things to notice are how the %> and <% characters appear in the middle of the "for"
loop, to let you drop back into HTML and then to come back to the scriptlet.
The concepts are simple here -- as you can see, you can drop out of the scriptlets, write normal
HTML, and get back into the scriptlet. Any control expressions such as a "while" or a "for" loop or
an "if" expression will control the HTML also. If the HTML is inside a loop, it will be emitted once
for each iteration of the loop.
Another example of mixing scriptlets and HTML is shown below -- here it is assumed that there is a
boolean variable named "hello" available. If you set it to true, you will see one output, if you set it to
false, you will see another output.
<%
if ( hello ) {
%>
<P>Hello, world
<%
} else {
%>
<P>Goodbye, world
<%
}
%>
It is a little difficult to keep track of all open braces and scriptlet start and ends, but with a little
practice and some good formatting discipline, you will acquire competence in doing it.
Exercise: Make the above examples work. Write a JSP to output all the values returned by
[Link] with "<BR>" embedded after each property name and value. Do not output the
"<BR>" using the "out" variable.
JSP Directives
We have been fully qualifying the [Link] in the examples in the previous sections. Perhaps
you wondered why we don't just import [Link].*;
23
It is possible to use "import" statements in JSPs, but the syntax is a little different from normal Java.
Try the following example:
The first line in the above example is called a "directive". A JSP "directive" starts with <%@
characters.
This one is a "page directive". The page directive can contain the list of all imported packages. To
import more than one item, separate the package names by commas, e.g.
There are a number of JSP directives, besides the page directive. Besides the page directives, the
other most useful directives are include and taglib. We will be covering taglib separately.
The include directive is used to physically include the contents of another file. The included file can
be HTML or JSP or anything else -- the result is as if the original JSP file actually contained the
included text. To see this directive in action, create a new JSP
<HTML>
<BODY>
Going to include [Link]...<BR>
<%@ include file="[Link]" %>
</BODY>
</HTML>
View this JSP in your browser, and you will see your original [Link] get included in the new JSP.
Exercise: Modify all your earlier exercises to import the [Link] packages.
24
JSP Declarations
The JSP you write turns into a class definition. All the scriptlets you write are placed inside a single method of this class.
You can also add variable and method declarations to this class. You can then use these variables
and methods from your scriptlets and expressions.
To add a declaration, you must use the <%! and %> sequences to enclose your declarations, as shown
below.
JSP Tags
Another important syntax element of JSP are tags. JSP tags do not use <%, but just the < character.
A JSP tag is somewhat like an HTML tag. JSP tags can have a "start tag", a "tag body" and an "end
tag". The start and end tag both use the tag name, enclosed in < and > characters. The end starts
with a / character after the < character. The tag names have an embedded colon character : in them,
the part before the colon describes the type of the tag. For instance:
<some:tag>
body
</some:tag>
If the tag does not require a body, the start and end can be conveniently merged together, as
<some:tag/>
Here by closing the start tag with a /> instead of > character, we are ending the tag immediately, and
without a body. (This syntax convention is the the same as XML.)
25
Tags can be of two types: loaded from an external tag library, or predefined tags. Predefined tags
start with jsp: characters. For instance, jsp:include is a predefined tag that is used to include other
pages.
We have already seen the include directive. jsp:include is similar. But instead of loading the text of
the included file in the original file, it actually calls the included target at run-time (the way a
browser would call the included target. In practice, this is actually a simulated request rather than a
full round-trip between the browser and the server). Following is an example of jsp:include usage
<HTML>
<BODY>
Going to include [Link]...<BR>
<jsp:include page="[Link]"/>
</BODY>
</HTML>
Try it and see what you get. Now change the "jsp:include" to "jsp:forward" and see what is the
difference. These two predefined tags are frequently very useful.
Exercise: Write a JSP to do either a forward or an include, depending upon a boolean variable (hint:
The concepts of mixing HTML and scriptlets work with JSP tags also!)
JSP Sessions
On a typical web site, a visitor might visit several pages and perform several interactions.
If you are programming the site, it is very helpful to be able to associate some data with each visitor.
For this purpose, "session"s can be used in JSP.
A session is an object associated with a visitor. Data can be put in the session and retrieved from it,
much like a Hashtable. A different set of data is kept for each visitor to the site.
Here is a set of pages that put a user's name in the session, and display it elsewhere. Try out
installing and using these.
<HTML>
<BODY>
<FORM METHOD=POST ACTION="[Link]">
26
What's your name? <INPUT TYPE=TEXT NAME=username SIZE=20>
<P><INPUT TYPE=SUBMIT>
</FORM>
</BODY>
</HTML>
The target of the form is "[Link]", which saves the user's name in the session. Note the
variable "session". This is another variable that is normally made available in JSPs, just like out and
request variables. (In the @page directive, you can indicate that you do not need sessions, in which
case the "session" variable will not be made available.)
<%
String name = [Link]( "username" );
[Link]( "theName", name );
%>
<HTML>
<BODY>
<A HREF="[Link]">Continue</A>
</BODY>
</HTML>
The [Link] saves the user's name in the session, and puts a link to another page,
[Link].
<HTML>
<BODY>
Hello, <%= [Link]( "theName" ) %>
</BODY>
</HTML>
If you bring up two different browsers (not different windows of the same browser), or run two
browsers from two different machines, you can put one name in one browser and another name in
another browser, and both names will be kept track of.
27
My SQL
Introduction
My SQL is an application used to create computer databases for the Microsoft Windows family of
server operating systems. It provides an environment used to generate databases that can be accessed
from workstations, the web, or other media such as a personal digital assistant (PDA). MY SQL is
probably the most accessible and the most documented enterprise database environment right now.
This also means that you can learn it a little quicker than most other database environments on the
market
To start, you must have a computer that runs an appropriate operating system like Microsoft
Windows >= XP Home Edition: that includes Windows XP Home Edition, Windows XP
Professional, Windows 2000 Professional, or any version of Windows Server 2003. In this case, you
must install MY SQL Yog.
What is SQL Used for:
Using SQL one can create and maintain data manipulation objects such as table, views, sequence etc.
These data manipulation objects will be created and stored on the server's hard disk drive, in a
tablespace, to which the user has been assigned.
Once these data manipulation objects are created, they are used extensively in commercial
applications.
28
DML, DCL, DDL:
In addition to the creation of data manipulation objects, the actual manipulation of data within these
objects is done using SQL.
The SQL sentences that are used to create these objects are called DDL's or Data Definition
Language. The SQL sentences used to manipulate data within these objects are called DML's or Data
Manipulation Language. The SQL sentences, which are used to control the behavior of these objects,
are called DCL's or Data Control Language.
Data Type
In My Sql, each object (such as column, variable, or parameter) has a related data type, which is an
attribute that specifies the type of data that the object can hold.
My SQL supports user-defined data types too. User-defined data types provide a mechanism for
applying a name to a data type that is more descriptive of the types of values to be held in the object.
Using user-defined data type can make it easier for a programmer or database administrator to
understand the intended use of any object defined with the data type. The user-defined data types are
based on the system data types and can be used to predefine several attributes of a column, such as
its data type, length, and whether it supports NULL values. To create a user-defined data type, you
can use the sp_addtype system stored procedure or you could add one using the Enterprise Manager.
When you create a user-defined data type, you should specify the following three properties:
29
2.1 PRELIMINARY INVESTIGATION
System development, a process consisting of two major steps of system analysis and design, start
when management or sometimes system development personnel feel that a new system or an
improvement in the existing system is required. The system development life cycle is classically
thought of as the set of activities that analysts, designers and users carry out to develop and
implement an information system. The system development life cycle consists of the following
activities:
Preliminary investigation
Determination of system requirements
Design of system
Development of software
System testing
Implementation, evaluation, and maintenance
A request to take assistance from information system can be made for many reasons, but in each
case someone in the organization initiates the request is made, the first system activity the
preliminary investigation begins. This activity has three parts:
1) Request clarification
2) Feasibility study
3) Request approval
Request clarification: Many requests from employees and users in the organizations are not
clearly defined, therefore it becomes necessary that project request must be examined and
clarified properly before considering systems investigation.
30
2.2 SYSTEM DEVELOPMENT LIFE CYCLE
Systems are created to solve problems. One can think of the systems approach as an organized way
of dealing with a problem. In this dynamic world, the subject System Analysis and Design (SAD),
mainly deals with the software development activities.
DEFINING A SYSTEM
A collection of components that work together to realize some objective forms a system. Basically
there are three major components in every system, namely input, processing and output.
In a system the different components are connected with each other and they are interdependent.
For example, human body represents a complete natural system. We are also bound by many
national systems such as political system, economic system, educational system and so forth. The
objective of the system demands that some output is produced as a result of processing the suitable
inputs.
System life cycle is an organizational process of developing and maintaining systems. It helps in
establishing a system project plan, because it gives overall list of processes and sub-processes
required for developing a system.
System development life cycle means combination of various activities. In other words we can say
that various activities put together are referred as system development life cycle. In the System
Analysis and Design terminology, the system development life cycle means software development
life cycle.
31
Following are the different phases of software development cycle:
System study
Feasibility study
System analysis
System design
Coding
Testing
Implementation
Maintenance
32
The Different Phases Of Software Development Life Cycle Are Shown Below.
PRELIMINARY
PRELIMINARY
INVESTIGATION
INVESTIGATION
REVIEW
REVIEWRUNNING
RUNNING DETERMINATION
DETERMINATIONOF
OF
SYSTEM
SYSTEMAND
ANDSYSTEM
SYSTEM REQUIREMENTS
REQUIREMENTS
MAINTENANCE
MAINTENANCE
DEVELOPMENT
DEVELOPMENTOF
OF
PROTOTYPE
PROTOTYPESYSTEM
SYSTEM
SYSTEM
SYSTEM DESIGN
DESIGNOF
OFSYSTEM
SYSTEM
IMPLEMENTATION
IMPLEMENTATION
DEVELOPMENT
DEVELOPMENTOF
OF
SYSTEM
SYSTEMTESTING SOFTWARE
TESTING SOFTWAREAND
ANDCODING
CODING
SYSTEM
ANALYSIS
50%
DESIGN
DESIG
N OF
SYSTE
M
30%
CODING
20%
33
A system analysis is a separation of a substance into parts for study and their implementation and
detailed examination.
Before designing any system it is important that the nature of the business and the way it currently
operates are clearly understood. The detailed examination provides the specific data required
during designing in order to ensure that all the client's requirements are fulfilled. The investigation
or the study conducted during the analysis phase is largely based on the feasibility study. Rather it
would not be wrong to say that the analysis and feasibility phases overlap. High-level analysis
begins during the feasibility study. Though analysis is represented as one phase of the system
development life cycle (SDLC), this is not true. Analysis begins with system initialization and
continues until its maintenance. Even after successful implementation of the system, analysis may
play its role for periodic maintenance and up gradation of the system.
One of the main causes of project failures is inadequate understanding, and one of the main causes
of inadequate understanding of the requirements is the poor planning of system analysis.
Analysis requires us to recall the objectives of the project and consider following three questions:
What are the potential problems that may make the task more difficult?
Transaction System
Decision Support System
Transaction System:
A transaction is a record of some well-defined single and usually small occurrence in a system.
Transactions are input into the computer to update the database files. It checks the entering data for
its accuracy. This means that numeric data appears in numeric field and character data in character
field. Once all the checks are made, transaction is used to update the database. Transaction can be
34
inputted in on-line mode or batch mode. In on-line mode, transactions are entered and updated into
the database almost instantaneously. In batch mode, transactions are collected into batches, which
may be held for a while and inputted later.
It assists the user to make analytical decision. It shows the various data in organized way called
analysis. This analysis can be made to syrdy preferences and help in making decisions.
Computer system works out best with record maintenance. It will tell you which customer would get
how much pending/reports statements. It will also help to search the information about a particular
person by simply entering his telephone number. User can store information as per requirement,
which can be used for comparison with other reports.
Principles:
1. Understand the problem before you begin to create the analysis model.
2. Develop prototypes that enable a user to understand how human machine interaction will
occur.
3. Record the origin of and the reason for every requirement.
4. Use multiple views of requirements like building data, function and behavioral models.
5. Work to eliminate ambiguity.
A Complete Structure:
The limited time and resources have restricted us to incorporate, in this project, only the main
activities that are performed in news sites, but utmost care has been taken to make the system efficient
and user friendly.
For the optimum use of practical time it is necessary that every session is planned. Planning of this
project will include the following things:
35
Topic Understanding.
Modular Break – Up of the System.
Processor Logic for Each Module.
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 the project was allocated to me, I carefully went through the project to identify the
requirements of the project.
The design document that we will develop during this phase is the blueprint of the software. It
describes how the solution to the customer problem is to be built. Since solution to complex
problems isn’t usually found in the first try, iterations are most likely required. This is true for
software design as well. For this reason, any design strategy, design method, or design language
must be flexible and must easily accommodate changes due to iterations in the design. Any technique
or design needs to support and guide the partitioning process in such a way that the resulting sub-
problems are as independent as possible from each other and can be combined easily for the solution
to the overall problem. Sub-problem independence and easy combination of their solutions reduces
the complexity of the problem. This is the objective of the partitioning process. Partitioning or
decomposition during design involves three types of decisions: -
Identify the proper level of detail when design should stop and implementation should start.
36
Basic design principles that enable the software engineer to navigate the design process suggest a set
of principles for software design, which have been adapted and extended in the following list:
Free from the suffer from "tunnel vision." A good designer should consider alternative approaches,
judging each based on the requirements of the problem, the resources available to do the job.
The design should be traceable to the analysis model. Because a single element of the design model
often traces to multiple requirements, it is necessary to have a means for tracking how requirements
have been satisfied by the design model.
The design should not repeat the same thing. Systems are constructed using a set of design patterns,
many of which have likely been encountered before. These patterns should always be chosen as an
alternative to reinvention. Time is short and resources are limited! Design time should be invested in
representing truly new ideas and integrating those patterns that already exist.
The design should "minimize the intellectual distance" between the software and the problem as it
exists in the real world. That is, the structure of the software design should (whenever possible)
mimic the structure of the problem domain.
The design should exhibit uniformity and integration. A design is uniform if it appears that one
person developed the entire thing. Rules of style and format should be defined for a design team
before design work begins. A design is integrated if care is taken in defining interfaces between
design components.
The design activity begins when the requirements document for the software to be developed is
available. This may be the SRS for the complete system, as is the case if the waterfall model is being
followed or the requirements for the next "iteration" if the iterative enhancement is being followed or
the requirements for the prototype if the prototyping is being followed. While the requirements
specification activity is entirely in the problem domain, design is the first step in moving from the
problem domain toward the solution domain. Design is essentially the bridge between requirements
specification and the final solution for satisfying the requirements.
The design of a system is essentially a blueprint or a plan for a solution for the system. We consider
a system to be a set of components with clearly defined behavior that interacts with each other in a
37
fixed defined manner to produce some behavior or services for its environment. A component of a
system can be considered a system, with its own components. In a software system, a component is a
software module.
The design process for software systems, often, has two levels. At the first level, the focus is on
deciding which modules are needed for the system, the specifications of these modules, and how the
modules should be interconnected. This is what is called the system design or top-level design. In the
second level, the internal design of the modules, or how the specifications of the module can be
satisfied, is decided. This design level is often called detailed design or logic design. Detailed design
essentially expands the system design to contain a more detailed description of the processing logic
and data structures so that the design is sufficiently complete for coding.
Because the detailed design is an extension of system design, the system design controls the major
structural characteristics of the system. The system design has a major impact on the testability and
modifiability of a system, and it impacts its efficiency. Much of the design effort for designing
software is spent creating the system design.
The input to the design phase is the specifications for the system to be designed. Hence, reasonable
entry criteria can be that the specifications are stable and have been approved, hoping that the
approval mechanism will ensure that the specifications are complete, consistent, unambiguous, etc.
The output of the top-level design phase is the architectural design or the system design for the
software system to be built. This can be produced with or without using a design methodology.
Reasonable exit criteria for the phase could be that the design has been verified against the input
specifications and has been evaluated and approved for quality.
38
when a function oriented design approach is being followed, is the definition of all the major data
structures in the system, all the major modules of the system, and how the modules interact with each
other. Once the designer is satisfied with the design he has produced, the design is to be precisely
specified in the form of a document. To specify the design, specification languages are used.
Producing the design specification is the ultimate objective of the design phase. The purpose of this
design document is quite different from that of the design notation. Whereas a design represented
using the design notation is largely to be used by the designer, a design specification has to be so
precise and complete that it can be used as a basis of further development by other programmers.
Generally, design specification uses textual structures, with design notation helping in understanding
Data dictionaries are an integral component of structured analysis, since data flow diagrams by
themselves do not fully describe the subject of the investigation . The data flow diagrams provide
the additional details about the project/system.
39
DATA TABLES
Login Table
Field Type constraint
Username Char(30) Not Null
Password Char(30) Not Null
Email Char(30) Not Null
Security question Char(30) Not Null
Answer Char(30) Not Null
Admin Table
Field Type constraint
Username Char(30) Not Null
Password Char(30) Not Null
Feedback table
Donator’s Table
Receiver’s table
40
Diabetic Bit Not Null
Blood Pressure Bit Not Null
Weight Number Not Null
Remark Number Not Null
No_of_bottles_req Number Not Null
Doctor_name Char(30) Not Null
Hospital Char (50) Not Null
Disease Char (50) Not Null
Hospital table
Camps table: Store details of the temporary camps arranged by Rotary society
41
2. E-R DIAGRAM
Name
Nam Addres
e s
Date
Cit
Address y
Patient
Id Cit Request
y 1 Name
NBLOOD
1
NPatient / Receiver BANK
1
Dat
e
1
Receive
Implant s Assi
gn
Name of Dat
City
Hospital e
Address
NODAL N Nam
HOSPITAL Donat e
es Pin
1 Co
Doctor de
Id Cit
Dates y
Address 1 Doctor
Nam Pin
e Co
de 1
Cit Remove
Doctor y s
Id
1
Doctor
1
42
[
ADMINISTRATIVE SUPPORT
SYSTEM FOR ROTARY
BLOOD BANK
4. Doctors 5. Camp
43
4. DFD for Patient/ Receiver Request
Request
Blood 1.1 Accept
the Blood
request
PATIENT
1.2
Generate
the priority
no &
Tentative
Date
ADMINISTRATI
VE SUPPORT
SYSTEM FOR
ROTARY
Patient
BLOOD BANK
Generate Upgrade
Slip Blood bank
date
Blood Bank
Screen | Print
44
[Link] FOR DONOR REGISTRATION
Fills / Register
2.1 Accepts
the Donor
Register
DONOR
ADMINISTRATI
VE SUPPORT
SYSTEM FOR
ROTARY
BLOOD BANK
Upgrade
Upgrade the Donor
HOSPITAL Address
DONOR
NODAL HOSPITAL
45
[Link] FOR HOSPITAL REGISTRATION
Request
3.1 Accept the
Registration
request
Hospital
3.2 update
the Doctors
& Facility
lists
Update
ADMINISTRATI
VE SUPPORT
SYSTEM FOR
ROTARY
BLOOD BANK
Hospital
Screen | Print
46
[Link] for Receiving Blood
Assign
Duty 5.1 Accept
Duty to a
doctor
Blood Bank
Assign
Doctors
Collect
Blood 5.2
operate a
patient to
receive
eye
5.3 update
Blood
Bank
Patient
Blood Bank
47
[Link] for doctor registration
Apply
4:1
Accepts
Doctor data
Doctor
ADMINISTRATIVE
Informs SUPPORT SYSTEM FOR
ROTARY BLOOD BANK
Update
Print
screen
Doctor
48
4.5 MODULES
Different modules that makeup these systems are briefly described below:
Module 2: Creating new Entity (Users, Donators, Receivers, Patietns, Hospitals etc.)
In this module, whenever a new entity is required to be added the corresponding forms are opened
and the database is manipulated to check whether the data is already existing or not. If it already
exists, then it prompts that “Entry already existing” and if not than the data is entered with the
various validation checks.
Module 4: Searching
The Search page will have controls for selecting different possible values for all of the fields, as
described above. This will search for all the donators, receivers, doctors, patients in the database
which match the given criteria.
Module 5: Donators
This module is related to donators. Database is maintained for the donators. Some persons only
enquire about it but some are really interested in donations. It is important to know about their
physical or health status
49
Module 6: Receivers
This module is related to receivers. Database is maintained for the receivers.
Module 7: Hospitals
This module is related to nodal hospitals, registration of Hospitals.
Module 8: Benefits
Module 9: Queries:
In this module user can query about the donations, receiving bloods, blood problems etc.
This module is related to the terms and conditions for the donation, transplantation etc
50
in the numeric fields, likewise if there is any error occurs than it should handle that particular error
and give the required messages.
Process Logic of Module is a tool that may be useful in planning and evaluating projects. Our logic
model contains four components with Inputs-Outputs-Outcomes being central to the built in response
to the model:
Situation: The context and need that gives rise to a project or initiative; logic modules are
built in response to an existing situation.
Inputs: The resources, contributions, and investments that are made in response to the
situation. Inputs lead to Outputs.
Outputs: The activities, products, methods, and services that reach people and users. Outputs
lead to outcomes.
Outcomes: The results and benefits for individuals, groups, agencies, communities and/or
systems.
51
Reports that can be generated :
Users Reports
Donators Details
Receivers Details
Blood Bank Details
Search Donators -city ,blood group wise
Nodal Hospitals Registered.
USER
Log in
General Administrator
user
Donator
Donator
Receiver
Receivers
hospital
Patients
Patient for corneal
transplantation
Doctors
Doctor
Queries/FAQ Nodal
Hospital
52
4.7 TOOLS / PLATFORM, HARDWARE AND SOFTWARE
REQUIREMENT SPECIFICATION
HARDWARE
Pen Drive : 5 GB
SOFTWARE
Back-End : My Sql
53
4.8 SCHEDULING
Scheduling of a software project does not differ greatly from scheduling of any multi- task
engineering effort. Therefore, generalized project scheduling tools and techniques can be applied
with little modification to software projects.
Program evaluation and review technique (PERT) and critical path method (CPM) are two project
scheduling methods that can be applied to software development. Both techniques are driven by
information already developed in earlier project planning activities.
Estimates of Effort
Interdependencies among tasks may be defined using a task network. Tasks, sometimes called the
project Work Breakdown Structure (WBS) are defined for the product as a whole or for individual
functions.
Both PERT and CPM provide quantitative tools that allow the software planner to (1) determine the
critical path-the chain of tasks that determines the duration of the project; (2) establish "most likely"
time estimates for individual tasks by applying statistical models; and (3) calculate "boundary times"
that define a time window" for a particular task.
Boundary time calculations can be very useful in software project scheduling. Slippage in the design
of one function, for example, can retard further development of other functions. It describes
important boundary times that may be discerned from a PERT or CPM network: (I) the earliest time
that a task can begin when preceding tasks are completed in the shortest possible time, (2) the latest
time for task initiation before the minimum project completion time is delayed, (3) the earliest finish-
the sum of the earliest start and the task duration, (4) the latest finish- the latest start time added to
task duration, and (5) the total float-the amount of surplus time or leeway allowed in scheduling
tasks so that the network critical path maintained on schedule. Boundary time calculations lead to a
54
determination of critical path and provide the manager with a quantitative method for evaluating
progress as tasks are completed.
Both PERT and CPM have been implemented in a wide variety of automated tools that are available
for the personal computer. Such tools are easy to use and take the scheduling methods described
previously available to every software project manager.
55
5.1 SOURCE CODE
[Link]
56
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
#Layer1 {
position:absolute;
left:428px;
top:211px;
width:492px;
height:228px;
57
z-index:1;
}
.style13 {font-size: 24px}
body {
background-image: url();
}
-->
</style></head>
<body>
<form id="form4" name="form4" method="post" action="[Link]">
<label for="pass"></label></td>
</form>
58
</tr>
</table>
<p> </p>
<table width="958" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style1">Copyright© 2010 All right reserved
BloodBank</span></td>
</tr>
</table>
<div id="Layer1">
<table width="486">
<tr>
<td height="93" colspan="3" valign="middle"><div class="style13">Sign Up</div>
<div>It's free, and always will be.</div></td>
</tr>
<tr>
<td width="52"> </td>
<td width="130">Username</td>
<td width="288"><input name="t7" type="text" size="40" />
</td>
</tr>
<tr>
<td> </td>
<td>Password</td>
<td><input name="t3" type="password" size="40" /></td>
</tr>
<tr>
<td> </td>
<td>Email</td>
<td><input name="t4" type="text" size="40" /></td>
</tr>
<tr>
<td> </td>
<td>Security_Question</td>
<td><input name="t5" type="text" size="40" /></td>
</tr>
<tr>
<td> </td>
59
<td>Answer</td>
<td><input name="t6" type="text" size="40" /></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td><input type="submit" name="s1" value="Sign Up" /></td>
</tr>
</table>
</div>
</form>
</body>
</html>
Login-([Link])
String uu=[Link]("t1");
String pas=[Link]("t2");
[Link]("[Link]");
Connection con=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement st=[Link]();
int i=0;
if([Link]("Login"))
{
String query="select * from login where Email='"+uu+"' and Password='"+pas+"'";
ResultSet rs=[Link](query);
60
while([Link]())
{
i++;
}
}
if(i>0)
{
%>
<jsp:forward page="[Link]"/>
<%
}
else
%>
<jsp:forward page="[Link]"/>
</body>
</html>
61
Sign up
Sign [Link]([Link])
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
</head>
<body>
<%
String s1=[Link]("s1");
String a=[Link]("t7");
String b=[Link]("t3");
String c=[Link]("t4");
String d=[Link]("t5");
62
String e=[Link]("t6");
[Link]("[Link]");
Connection con=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement st=[Link]();
if([Link]("Sign Up"))
{
[Link]("Insert into login(Username,Password,Email,Security_Question,Answer)
values('"+a+"','"+b+"','"+c+"','"+d+"','"+e+"')");
[Link]("[Link]");
}
%>
</body>
</html>
[Link]
63
purpose of my exercise is perform each user’s activity in computerized way rather than manually which is time
consuming. People will no longer get caught in hospital red tape to procure blood. Detailed information about the blood
stock position, blood group, blood components and the procedure of getting blood is now available on the Internet. It is
Web Based Blood Bank Management System.</p>
<p>•<span class="style10"> Provides the stock of blood for various groups in the various blood banks.<br />
• Provides online registration to people who are willing to donate blood.<br />
• Gives the details of blood donation camps.<br />
• GroupWise listing of various blood groups.<br />
• Citizens get information about the next coming blood donation camp via post or email after registration.<br />
• Online submission of registration forms.<br />
• All the process of submission of registration form is quite simple.<br />
• Department can collect information regarding various blood groups.<br />
• People can get registration by sitting at home.<br />
• Before any blood donation camp the registered citizens gets all the details regarding the camp.</span></p>
<span class="style10">I am confident that this software package can be readily used by non-programming
personal avoiding human handled chance of error.</span></td>
</tr>
<tr>
<td colspan="2" class="style10"><img src="images/[Link]" width="211" height="106"
/></td>
</tr>
<tr>
<td height="154" colspan="2" class="style10">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
HelpAge India Donates money<br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</em>
</MARQUEE> </td>
</tr>
<tr>
<td colspan="8" align="right" valign="bottom" class="style10"><p><span class="style17"><span
class="style10"><a href="[Link]">Feedback</a></span></span><span class="style1"><span
class="style16"><span class="style12"><span class="style17"><span
class="style18"> </span></span></span><span
class="style18"> </span></span></span><span class="style10"><a
href="[Link]"><strong>Blood_Bank_Stock</strong></a></span><span class="style19"><span
64
class="style16"> </span></span><span class="style1"><span class="style16"><span
class="style18"> </span></span></span><span class="style10"><a href="campas_list.jsp">Camps
<strong>details</strong></a></span><span class="style1"><span class="style16"><span
class="style18"> </span></span></span><span class="style18"><span class="style10"><a
href="[Link]">Logout</a></span></span><span class="style19"><span class="style16"><a href="#"
class="style1"> </a></span></span></p>
</td>
</tr>
<tr>
<td height="17" colspan="8" align="center" valign="bottom" bgcolor="#990000" class="style10"><span
class="style1">Copyright© 2010 All right reserved BloodBank</span></td>
</tr>
</table>
</form>
<span class="style10"><span class="style3">
</body>
</html>
65
[Link]([Link])
66
-->
</style></head>
<body>
<table width="966">
<tr>
67
though I cannot claim that this work to be entirely exhaustive, the main purpose of my exercise is perform each
user’s activity in computerized way rather than manually which is time consuming. People will no longer get
caught in hospital red tape to procure blood. Detailed information about the blood stock position, blood group, blood
components and the procedure of getting blood is now available on the Internet. It is Web Based Blood Bank
Management System.</p>
<p>•<span class="style10"> Provides the stock of blood for various groups in the various blood banks.<br />
• Provides online registration to people who are willing to donate blood.<br />
• Gives the details of blood donation camps.<br />
• GroupWise listing of various blood groups.<br />
• Citizens get information about the next coming blood donation camp via post or email after registration.<br />
• Online submission of registration forms.<br />
• All the process of submission of registration form is quite simple.<br />
• Department can collect information regarding various blood groups.<br />
• People can get registration by sitting at home.<br />
• Before any blood donation camp the registered citizens gets all the details regarding the camp.</span></p>
<span class="style10">I am confident that this software package can be readily used by non-programming
personal avoiding human handled chance of error.</span></td>
</tr>
<tr>
<td colspan="2" class="style10"><img src="images/[Link]" width="211" height="106"
/></td>
</tr>
<tr>
<td height="154" colspan="2" class="style10">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
HelpAge India Donates money<br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</em>
</MARQUEE> </td>
</tr>
<tr>
<td colspan="8" align="right" valign="bottom" class="style10"><p><span class="style17"><span
class="style10"><a href="[Link]">Feedback</a></span></span><span class="style1"><span
class="style16"><span class="style12"><span class="style17"><span
class="style18"> </span></span></span><span
class="style18"> </span></span></span><span class="style10"><a
href="[Link]"><strong>Blood_Bank_Stock</strong></a></span><span class="style19"><span
68
class="style16"> </span></span><span class="style1"><span class="style16"><span
class="style18"> </span></span></span><span class="style10"><a href="campas_list.jsp">Camps
<strong>details</strong></a></span><span class="style1"><span class="style16"><span
class="style18"> </span></span></span><span class="style18"><span class="style10"><a
href="[Link]">Logout</a></span></span><span class="style19"><span class="style16"><a href="#"
class="style1"> </a></span></span></p>
</td>
</tr>
<tr>
<td height="17" colspan="8" align="center" valign="bottom" bgcolor="#990000" class="style10"><span
class="style1">Copyright© 2010 All right reserved BloodBank</span></td>
</tr>
</table>
</form>
<span class="style10"><span class="style3">
</body>
</html>
69
[Link]
70
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
71
return false;
}
else if([Link]==0)
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]==0)
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]==0)
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]==0)
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Filed should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
72
}
</script>
<head>
<body>
<form name="form2" method="post" onSubmit="return validateForm()" action="donar_code.jsp">
<table width="978">
<tr>
73
<td width="84" bgcolor="#990000"><div align="center" class="style1"><a href="Doctor_insert.jsp"
class="style1">Doctor</a></div></td>
<td width="98" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Blood- Bank</a></div></td>
<td width="117" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Contact Us</a></div></td>
<td width="106" bgcolor="#990000"><div align="center"><a href="[Link]" class="style1">About
Us</a></div></td>
</tr>
<tr>
<td colspan="2" rowspan="2"><span class="style10"><img src="images/[Link]"
width="219" height="182" /></span></td>
<td colspan="6" align="left" valign="top" bordercolor="#D4D0C8">
<table width="730" height="38" border="1">
<tr>
<td bgcolor="#999999"><div align="left" class="style1">Please Your Blood </div></td>
</tr>
</table>
<p align="left" class="style10"><img src="images/[Link]" width="735" height="12" /></p> </td>
</tr>
<tr>
<td colspan="6" align="left" valign="top">
<table width="420">
<tr>
<td width="155">Donar_id</td>
<td width="249"><label>
<input type="text" name="t1" />
</label></td>
</tr>
<tr>
<td>Name</td>
<td><label>
<input type="text" name="t2" />
</label></td>
</tr>
<tr>
<td bordercolor="1">Address </td>
<td><label>
<input type="text" name="t3" />
</label></td>
74
</tr>
<tr>
<td>City</td>
<td><label>
<input type="text" name="t4" />
</label></td>
</tr>
<tr>
<td>State</td>
<td><label>
<input type="text" name="t5" />
</label></td>
</tr>
<tr>
<td>Email</td>
<td><label>
<input type="text" name="t6" />
</label></td>
</tr>
</table> </td>
</tr>
<tr>
<td colspan="2" class="style10">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
HelpAge India Donates money<br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</em>
</MARQUEE> </td>
<td colspan="6" align="left" valign="top"
class="style10">
&n
bsp;  
; &n
bsp;  
; &n
bsp;
<div align="left">
75
<table width="417">
<tr>
<td width="155">Phone</td>
<td width="246">
<input type="text" name="t7" /> </td>
</tr>
<tr>
<td>Blood_Group</td>
<td>
<label>
<select name="s1">
<option selected="selected">Select</option>
<option>A+</option>
<option>O+</option>
<option>B+</option>
<option>B-</option>
<option>O-</option>
<option>A-</option>
<option>OTHER</option>
</select>
</label> </td>
</tr>
<tr>
<td>Physical_Status</td>
<td>
<select name="s2">
<option selected="selected">Select</option>
<option>HandiCap</option>
<option>Normal</option>
</select> </td>
</tr>
<tr>
<td>Diabetic</td>
<td>
<select name="s3">
<option selected="selected">Select</option>
<option>NORMAL</option>
<option>HIGH</option>
<option>LOW</option>
</select> </td>
76
</tr>
<tr>
<td>Blood_Pressure</td>
<td>
<select name="s4">
<option selected="selected">Select</option>
<option>NORMAL</option>
<option>HIGH</option>
<option>LOW</option>
</select> </td>
</tr>
<tr>
<td>Weight</td>
<td>
<input type="text" name="t8" /> </td>
</tr>
<tr>
<td>Remark</td>
<td><textarea name="t9"></textarea></td>
</tr>
<tr>
<td> </td>
<td>
<label>
<input type="submit" name="Submit" value="Submit" />
</label> </td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td colspan="8" align="center" valign="bottom" bgcolor="#990000" class="style10"><span
class="style1">Copyright© 2010 All right reserved Blood-Bank</span></td>
</tr>
</table>
</form>
77
<span class="style10"><span class="style3">
<span class="style5"></span>
</body>
</html>
Donar_code.jsp
<body>
<%
String a=[Link]("t1");
String b=[Link]("t2");
String c=[Link]("t3");
String d=[Link]("t4");
String e=[Link]("t5");
String f=[Link]("t6");
String g=[Link]("t7");
String h=[Link]("s1");
String i=[Link]("s2");
String j=[Link]("s3");
String k=[Link]("s4");
String l=[Link]("t8");
String m=[Link]("t9");
[Link](a+b+c+d+e+f+g+h+i+j+k+l+m);
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
78
Statement st=[Link]();
[Link]("Insert into
donar(Donar_id,Name,Address,City,State,Email,Phone,Blood_Group,Physical_Status,Diabetic,Blood_Pressure,Weight,
Remark) values('"+a+"','"+b+"','"+c+"','"+d+"','"+e+"','"+f+"','"+g+"','"+h+"','"+i+"','"+j+"','"+k+"','"+l+"','"+m+"')");
[Link]("[Link]");
%>
</body>
</html>
[Link]
79
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
80
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
.style2 {color: #00FFFF}
.style10 {font-size: 12px}
-->
</style></head>
<body>
<form id="form2" name="form2" method="post" onSubmit="return validateForm()" action="[Link]">
<table width="966">
<tr>
81
<td colspan="8"><img src="images/[Link]" width="949" height="57" align="bottom" /></td>
</tr>
<tr>
<td width="80" bgcolor="#990000"><div align="center" class="style2"><a href="[Link]"
class="style1">Home</a></div></td>
<td width="147" bgcolor="#990000"><div align="center" class="style2"><a href="[Link]"
class="style1">Donar</a></div></td>
<td width="186" bgcolor="#990000"><div align="center" class="style2"><a href="[Link]" class="style1">
Hospital </a></div></td>
<td width="147" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Receiver</a></div></td>
<td width="88" bgcolor="#990000"><div align="center" class="style1"><a href="Doctor_insert.jsp"
class="style1">Doctor</a></div></td>
<td width="103" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Blood Bank</a></div></td>
<td width="122" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Contact Us</a></div></td>
<td width="98" bgcolor="#990000"><div align="center"><a href="[Link]" class="style1">About
Us</a></div></td>
</tr>
<tr>
<td colspan="2" rowspan="2"><img src="images/[Link]" width="219" height="182"
/></td>
<td colspan="6" align="left" valign="top" bordercolor="#D4D0C8">
82
</tr>
<tr>
<td>Address</td>
<td><label>
<input type="text" name="t2" />
</label></td>
</tr>
<tr>
<td bordercolor="1">City</td>
<td><label>
<input type="text" name="t3" />
</label></td>
</tr>
<tr>
<td>State</td>
<td><label>
<input type="text" name="t4" />
</label></td>
</tr>
<tr>
<td>BloodGroup_req</td>
<td><label>
<input type="text" name="t5" />
</label></td>
</tr>
<tr>
<td>Qty_req</td>
<td><label>
<input type="text" name="t6" />
</label></td>
</tr>
<tr>
<td>Qty_avaliv</td>
<td><input type="text" name="t7" /></td>
</tr>
<tr>
<td>Details</td>
<td><input type="text" name="t8" /></td>
</tr>
<tr>
83
<td>Conatct_person</td>
<td><input type="text" name="t9" /></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Submit" /></td>
</tr>
</table> </td>
</tr>
<tr>
<td colspan="2" class="style10">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
HelpAge India Donates money<br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</em>
</MARQUEE> </td>
<td colspan="6" align="left" valign="top"
class="style10">
&n
bsp;  
; &n
bsp;  
; &n
bsp;
<div align="left"></div></td>
</tr>
<tr>
<td colspan="8" align="center" valign="bottom" bgcolor="#990000" class="style10"><span
class="style1">Copyright© 2010 All right reserved Blood-Bank</span></td>
</tr>
</table>
</form>
84
</html>
[Link]
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
85
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
.style2 {color: #00FFFF}
86
.style10 {font-size: 12px}
-->
</style></head>
<body>
<form id="form2" name="form2" method="post" onSubmit="return validateForm()" action="[Link]">
<table width="966">
<tr>
87
<tr>
<td bgcolor="#999999"><div align="left" class="style1">Hospital Registration </div></td>
</tr>
</table>
<p align="left" class="style10"> </p> </td>
</tr>
<tr>
<td colspan="6" align="left" valign="top">
<table width="420">
<tr>
<td width="155">Hospital_Name</td>
<td width="249"><label>
<input type="text" name="t1" />
</label></td>
</tr>
<tr>
<td>Address</td>
<td><label>
<input type="text" name="t2" />
</label></td>
</tr>
<tr>
<td bordercolor="1">City</td>
<td><label>
<input type="text" name="t3" />
</label></td>
</tr>
<tr>
<td>State</td>
<td><label>
<input type="text" name="t4" />
</label></td>
</tr>
<tr>
<td>BloodGroup_req</td>
<td><label>
<input type="text" name="t5" />
</label></td>
</tr>
<tr>
88
<td>Qty_req</td>
<td><label>
<input type="text" name="t6" />
</label></td>
</tr>
<tr>
<td>Qty_avaliv</td>
<td><input type="text" name="t7" /></td>
</tr>
<tr>
<td>Details</td>
<td><input type="text" name="t8" /></td>
</tr>
<tr>
<td>Conatct_person</td>
<td><input type="text" name="t9" /></td>
</tr>
<tr>
<td> </td>
<td><input type="submit" name="Submit" value="Submit" /></td>
</tr>
</table> </td>
</tr>
<tr>
<td colspan="2" class="style10">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
HelpAge India Donates money<br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</em>
</MARQUEE> </td>
<td colspan="6" align="left" valign="top"
class="style10">
&n
bsp;  
; &n
bsp;  
89
; &n
bsp;
<div align="left"></div></td>
</tr>
<tr>
<td colspan="8" align="center" valign="bottom" bgcolor="#990000" class="style10"><span
class="style1">Copyright© 2010 All right reserved Blood-Bank</span></td>
</tr>
</table>
</form>
[Link]
90
<script>
function validateForm()
{
if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
91
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]==0)
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]==0)
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]==0)
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]==0)
{
alert("Field should not be left blank");
[Link]();
return false;
92
}
else if([Link]==0)
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Filed should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
}
</script>
<head>
93
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
.style2 {color: #00FFFF}
.style10 {font-size: 12px}
-->
</style></head>
<body>
<form name="form2" method="post" onSubmit="return validateForm()" action="receiver_code.jsp">
<table width="978">
<tr>
94
<td width="117" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Contact Us</a></div></td>
<td width="106" bgcolor="#990000"><div align="center"><a href="[Link]" class="style1">About
Us</a></div></td>
</tr>
<tr>
<td colspan="2" rowspan="2"><span class="style10"><img src="images/[Link]"
width="219" height="182" /></span></td>
<td colspan="6" align="left" valign="top" bordercolor="#D4D0C8">
<table width="730" height="38" border="1">
<tr>
<td bgcolor="#999999"><div align="left" class="style1"><span class="style2">Blood Receiver Details
</span></div></td>
</tr>
</table>
<p align="left" class="style10"><img src="images/[Link]" width="735" height="12" /></p> </td>
</tr>
<tr>
<td colspan="6" align="left" valign="top">
<table width="420">
<tr>
<td width="155">Donar_id</td>
<td width="249"><label>
<input type="text" name="t1" />
</label></td>
</tr>
<tr>
<td>Name</td>
<td><label>
<input type="text" name="t2" />
</label></td>
</tr>
<tr>
<td bordercolor="1">Address </td>
<td><label>
<input type="text" name="t3" />
</label></td>
</tr>
<tr>
<td>City</td>
95
<td><label>
<input type="text" name="t4" />
</label></td>
</tr>
<tr>
<td>State</td>
<td><label>
<input type="text" name="t5" />
</label></td>
</tr>
<tr>
<td>Email</td>
<td><label>
<input type="text" name="t6" />
</label></td>
</tr>
</table> </td>
</tr>
<tr>
<td colspan="2" class="style10">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
HelpAge India Donates money<br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</em>
</MARQUEE> </td>
<td colspan="6" align="left" valign="top"
class="style10">
&n
bsp;  
; &n
bsp;  
; &n
bsp;
<div align="left">
<table width="417">
<tr>
<td width="155">Phone</td>
96
<td width="246">
<input type="text" name="t7" /> </td>
</tr>
<tr>
<td>Blood_Group</td>
<td>
<label>
<select name="s1">
<option>Select</option>
<option>A+</option>
<option>O+</option>
<option>B+</option>
<option>B-</option>
<option>O-</option>
<option>A-</option>
<option>OTHER</option>
</select>
</label> </td>
</tr>
<tr>
<td>Physical_Status</td>
<td>
<select name="s2">
<option selected="selected">Select</option>
<option>Handicap</option>
<option>Normal</option>
</select> </td>
</tr>
<tr>
<td>Diabetic</td>
<td>
<select name="s3">
<option>Select</option>
<option>NORMAL</option>
<option>HIGH</option>
<option>LOW</option>
</select> </td>
</tr>
<tr>
<td>Blood_Pressure</td>
97
<td>
<select name="s4">
<option>Select</option>
<option>NORMAL</option>
<option>HIGH</option>
<option>LOW</option>
</select> </td>
</tr>
<tr>
<td>Weight</td>
<td>
<input type="text" name="t8" /> </td>
</tr>
<tr>
<td>Remark</td>
<td><textarea name="t9"></textarea></td>
</tr>
<tr>
<td>NumberofBottelReq</td>
<td><input type="text" name="t10" /></td>
</tr>
<tr>
<td>Doctor_name</td>
<td><input type="text" name="t11" /></td>
</tr>
<tr>
<td>Hospital</td>
<td><input type="text" name="t12" /></td>
</tr>
<tr>
<td>Desease</td>
<td><select name="s5">
<option>Select</option>
<option>NORMAL</option>
<option>HIGH</option>
<option>LOW</option>
</select></td>
</tr>
<tr>
<td> </td>
98
<td>
<label>
<input type="submit" name="Submit" value="Submit" />
</label> </td>
</tr>
</table>
</div></td>
</tr>
<tr>
<td colspan="8" align="center" valign="bottom" bgcolor="#990000" class="style10"><span
class="style1">Copyright© 2010 All right reserved Blood-Bank</span></td>
</tr>
</table>
</form>
<body>
<%
String a=[Link]("t1");
String b=[Link]("t2");
String c=[Link]("t3");
String d=[Link]("t4");
String e=[Link]("t5");
String f=[Link]("t6");
99
String g=[Link]("t7");
String h=[Link]("s1");
String i=[Link]("s2");
String j=[Link]("s3");
String k=[Link]("s4");
String k1=[Link]("s5");
String l=[Link]("t8");
String m=[Link]("t9");
String n=[Link]("t10");
String o=[Link]("t11");
String p=[Link]("t12");
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement st=[Link]();
[Link]("Insert into
receiver(Receiver_id,Name,Address,City,State,Email,Phone,Blood_Group,Physical_Status,Diabetic,Blood_Pressure,Wei
ght,Remark,NumberofBottelReq,Doctor_name,Hospital,Desease)
values('"+a+"','"+b+"','"+c+"','"+d+"','"+e+"','"+f+"','"+g+"','"+h+"','"+i+"','"+j+"','"+k+"','"+k1+"','"+l+"','"+m+"','"+n+"','
"+o+"','"+p+"')");
[Link]("[Link]");
%>
</body>
</html>
100
Doctor_insert.jsp
101
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
102
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
.style2 {color: #00FFFF}
.style10 {font-size: 12px}
-->
</style></head>
<body>
<form id="form2" name="form2" method="post" onSubmit="return validateForm()" action="Doctor_code_insert.jsp">
<table width="966">
103
<tr>
104
<table width="730" height="50" border="1">
<tr>
<td bgcolor="#999999"><div align="left" class="style1">Doctor Details </div></td>
</tr>
</table>
<p align="left" class="style10"><img src="images/[Link]" width="709" height="12" /></p> </td>
</tr>
<tr>
<td colspan="6" align="left" valign="top">
<table width="420">
<tr>
<td width="155">DoctorId</td>
<td width="249"><label>
<input type="text" name="t1" />
</label></td>
</tr>
<tr>
<td>Name</td>
<td><label>
<input type="text" name="t2" />
</label></td>
</tr>
<tr>
<td bordercolor="1">Address </td>
<td><label>
<input type="text" name="t3" />
</label></td>
</tr>
<tr>
<td>Email</td>
<td><label>
<input type="text" name="t4" />
</label></td>
</tr>
<tr>
<td>Phone</td>
<td><label>
<input type="text" name="t5" />
</label></td>
105
</tr>
<tr>
<td>Gender</td>
<td><label>
<input type="text" name="t6" />
</label></td>
</tr>
</table> </td>
</tr>
<tr>
<td colspan="6" align="left" valign="top"
class="style10">
&n
bsp;  
; &n
bsp;  
; &n
bsp;
<div align="left">
<table width="417">
<tr>
<td width="155">Qualification</td>
<td width="246"><input type="text" name="t7" /></td>
</tr>
<tr>
<td>Experience</td>
<td><input type="text" name="t8" /></td>
</tr>
<tr>
<td>Age </td>
<td><input type="text" name="t9" /></td>
</tr>
<tr>
<td>Practising at</td>
<td><input type="text" name="t10" /></td>
</tr>
<tr>
<td>Other Details</td>
<td><input type="text" name="t11" /></td>
</tr>
106
<tr>
<td> </td>
<td>
<body>
<%
String a=[Link]("t1");
String b=[Link]("t2");
String c=[Link]("t3");
107
String d=[Link]("t4");
String e=[Link]("t5");
String f=[Link]("t6");
String g=[Link]("t7");
String h=[Link]("t8");
String i=[Link]("t9");
String j=[Link]("t10");
String k=[Link]("t11");
[Link](a+b+c+d+e+f+g+h+i+j+k);
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement st=[Link]();
[Link]("Insert into
doctor(DoctorId,Name,Adderess,Email,Phone,Gender,Qualification,Experience,Age,Practising_At,OtherDetails)
values('"+a+"','"+b+"','"+c+"','"+d+"','"+e+"','"+f+"','"+g+"','"+h+"','"+i+"','"+j+"','"+k+"')");
[Link]("[Link]");
%>
</body>
</html>
108
[Link]
109
<body>
<table width="966">
<tr>
<tr>
<td colspan="8" align="left" class="style10">
110
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr><td> </td></tr>
<tr>
111
[Link]
var xmlhttp;
function showUser(str)
{
xmlhttp=GetXmlHttpObject();
if(xmlhttp==null)
{
alert("Browser does not support HTTP Request");
return;
}
var url="bloodbanklist_location.jsp";
url=url+"?q="+str;
[Link]=stateChanged;
[Link]("GET",url,true);
[Link](null);
}
function stateChanged()
{
if([Link]==4)
{
[Link]("txHint").innerHTML=[Link];
}
}
function GetXmlHttpObject()
{
if([Link])
{
return new XMLHttpRequest();
}
if([Link])
{
return new ActiveXObject("[Link]");
}
return null;
}
112
Blood_1.jsp
113
Bloodbanklist_location
<body>
<%
String mg=[Link]("q");
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost/bloodbank","root","1234");
Statement statement=[Link]();
String query="select * from booldbanklndian where State='"+mg+"'";
ResultSet rs=[Link](query);
%>
<%
114
}
%>
</body>
</html>
[Link]
115
.style6 {font-size: 12}
.style8 {font-size: 11px}
.style10 {font-size: 36px}
.style11 {font-size: 12px}
-->
</style></head>
<body>
<tr>
116
<table width="723" align="left">
<tr>
<td width="237" height="128"><p class="style10">Contact Us</p>
<p><strong>Blood-Bank Management Pvt Ltd</strong> </p>
<p>VAISHALI SECTOR-4, <br />
<br />
<br />
<strong>T:</strong> +91-9868885505 <br />
<strong>E:</strong> <a href="[Link]
<td width="474"><img src="images/[Link]" width="466" height="174" /></td>
</tr>
</table>
<p> </p> </td>
</tr>
<tr>
<td colspan="2"><span class="style11"><img src="images/[Link]" width="219"
height="120" /></span></td>
</tr>
<tr>
<td colspan="2"><span class="style8">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
HelpAge India Donates money<br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</em>
</MARQUEE>
</span> </td>
<td colspan="6"> </td>
</tr>
<tr>
<td colspan="8" align="center" valign="bottom" bgcolor="#990000"><span
class="style1">Copyright© 2010 All right reserved Blood-Bank</span></td>
</tr>
</table>
</form>
<form id="form1" name="form1" method="post" action="">
117
<span class="style3">
<span class="style5">
<span class="style6">
</span>
</body>
</html>
[Link]
118
font-weight: bold;
}
.style1 {color: #FFFFFF}
.style2 {color: #00FFFF}
.style6 {font-size: 12}
.style8 {font-size: 11px}
.style11 {font-size: 12px}
.style12 {font-size: medium}
-->
</style></head>
<body>
<tr>
119
<td colspan="2"><img src="images/[Link]" width="219" height="160" /></td>
<td colspan="6" align="left" valign="top"><p class="style12">I am confident that this software package can be
readily used by non-programming personal avoiding human handled chance of error. This project is used by two types of
users<br />
<em>-> Online Users.
<br />
-->Administrator.</em><br />
Online users can enquire about the blood donation if he/she wants to donate or receive blood. Doctors, Nodal
Hospitals can also register through this site. Administrator can maintain daily updates in the requests of the users,
doctors, hospitals etc. Administrator is must be an authorized user. He can further change the password. There is the
facility for password recovery, logout etc. The main objectives of the project are:</p> </td>
</tr>
<tr>
<td colspan="2"><span class="style11"><img src="images/[Link]" width="219"
height="120" /></span></td>
<td colspan="6" align="left" valign="top"><ul>
<li class="style12">The objective of blood bank is to collect and distribute blood</li>
<li class="style12">Collect detailed description of the donors who are interested in blood donation.</li>
<li class="style12"> Nodal hospitals registrations.</li>
<li class="style12"> Rules, terms and conditions for Blood donation.</li>
</ul>
<p align="left"><span class="style12">I have designed the given proposed system in <strong>JSP</strong> to
automate the process of Rotary Blood Banks <br />
The complete set of rules & procedures related to a blood bank generating report is called
<strong>“</strong>Rotary Blood Bank Services<strong>”.</strong> My project gives a brief idea
regarding automated Blood Bank activities.</span></p>
</td>
</tr>
<tr>
<td colspan="2"><span class="style8">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
HelpAge India Donates money<br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</em>
</MARQUEE>
</span> </td>
120
<td colspan="6" align="left" valign="top"><p align="justify" class="style12">The following steps that give the
detailed information of the need of proposed system are:</p>
<p align="justify" class="style12"><strong>Performance:</strong> During past several decades, the company
records are supposed to be manually handled for all the activities. The manual
handling of the record is time consuming and highly prone to error. To improve the performance of the blood bank, the
computerized system is to be undertaken. The computerized project is fully computerized and user friendly even that any
of the members can see the report and status of the blood bank. </p>
<p align="justify" class="style12"><strong>Efficiency:</strong> The basic need of the project is efficiency. The
project should be efficient so that whenever a new customer record is added, or record is modified or deleted, the record
is updated automatically. </p>
<p align="justify" class="style12"><strong>Control:</strong> The complete control of the project is under the
hands of authorized person who has the password to access this project and illegal access is not supposed to deal with.
All the control is under the administrator and the other members have the rights to just see the records not to change any
transaction or entry.</p>
<p align="justify" class="style12"><strong>Security:</strong> Security is the main criteria for the proposed
system. Since illegal access may corrupt the database. So security has to be given in this project. </p></td>
</tr>
<tr>
<td colspan="8" align="center" valign="bottom" bgcolor="#CC3333"><span
class="style1">Copyright© 2010 All right reserved Blood-Bank</span></td>
</tr>
</table>
</form>
<span class="style3">
<span class="style5">
<span class="style6">
</span>
</body>
</html>
121
[Link]
122
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
.style2 {color: #00FFFF}
.style10 {font-size: 12px}
.style11 {font-size: 14px}
.style12 {color: #CCCC99}
-->
</style></head>
<body>
<table width="966">
<tr>
123
<td width="147" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Receiver</a></div></td>
<td width="88" bgcolor="#990000"><div align="center" class="style1"><a href="Doctor_insert.jsp"
class="style1">Doctor</a></div></td>
<td width="103" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Blood Bank</a></div></td>
<td width="122" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Contact Us</a></div></td>
<td width="98" bgcolor="#990000"><div align="center"><a href="[Link]" class="style1">About
Us</a></div></td>
</tr>
<tr>
<td colspan="2" rowspan="3"><span class="style12">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
H<span class="style10">elpAge India Donates money<br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</span></em>
</MARQUEE>
</span> </td>
<td colspan="6" align="left" valign="top" bordercolor="#D4D0C8"><p align="right" class="style10"><a
href="#"></a></p>
<p>User Id
<input name="user" type="text" size="25" />
</p>
<p>Password
<input name="pass" type="password" size="25" maxlength="26" />
</p>
<p>  
124
; &n
bsp;
<input type="submit" style="background-color:#990000" "name="Submit" value="Login" />
</p> </td>
</tr>
<tr>
<td colspan="6" align="left" valign="top" class="style10"><p align="justify" class="style11"> </p>
<p align="justify" class="style11"> </p>
<p align="justify" class="style11"> </p></td>
</tr>
<tr>
<td colspan="8" align="center" valign="bottom" bgcolor="#990000" class="style10"><span
class="style1">Copyright© 2010 All right reserved Blood-Bank</span></td>
</tr>
</table>
</frm>
<span class="style10"><span class="style3">
<span class="style5"></span>
</body>
</html>
[Link]
125
[Link]("[Link]");
Connection con=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement st=[Link]();
%>
</body>
</html>
126
[Link]
127
</style></head>
<body>
<table width="966">
<tr>
128
</table>
</form> <p align="left" class="style10"><img src="images/[Link]" width="912" height="8" /></p></td>
</tr>
<tr>
<td colspan="2" rowspan="2" class="style10">
<MARQUEE WIDTH=200 height="130" direction="up">
<em>
<span class="style14">HelpAge India Donates money</span><span class="style14"><br>
to Blood-Bank Hospital<br>
[January 23 2010] <br>
-The Hindu Cataract Surgery <br>
Camp.[January 30 2010]- The Hind</span></em>
</MARQUEE> </td>
<td colspan="6" align="left" valign="top"><form id="form2" name="form2" method="post" action="">
<table width="434">
<tr>
<td width="143"> </td>
<td width="279">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[Link] width="10"
height="10">
<param name="movie" value="[Link]" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
<embed src="[Link]" width="10" height="10" quality="high"
pluginspage="[Link]
type="application/x-shockwave-flash" scale="noborder" ></embed>
</object>
<a href="[Link]" class="style12">Blood-Bank List Report(INDIA)</a></td>
</tr>
<tr>
<td> </td>
<td><a href="[Link]" class="style12">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[Link] width="10"
height="10">
<param name="movie" value="[Link]" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
129
<embed src="[Link]" width="10" height="10" quality="high"
pluginspage="[Link]
type="application/x-shockwave-flash" scale="noborder" ></embed>
</object>
</a><a href="[Link]" class="style12">Blood-Receiver Report</a></td>
</tr>
<tr>
<td bordercolor="1"> </td>
<td><a href="[Link]" class="style12">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[Link] width="10"
height="10">
<param name="movie" value="[Link]" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
<embed src="[Link]" width="10" height="10" quality="high"
pluginspage="[Link]
type="application/x-shockwave-flash" scale="noborder" ></embed>
</object>
</a><a href="Donalr_new.jsp" class="style12">Donar Report</a></td>
</tr>
<tr>
<td> </td>
<td><a href="[Link]" class="style12">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[Link] width="10"
height="10">
<param name="movie" value="[Link]" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
<embed src="[Link]" width="10" height="10" quality="high"
pluginspage="[Link]
type="application/x-shockwave-flash" scale="noborder" ></embed>
</object>
</a><a href="doctor_list.jsp" class="style12">Doctor List Report</a></td>
</tr>
<tr>
<td> </td>
<td><a href="[Link]" class="style12"> </a><a href="[Link]" class="style12">
130
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[Link] width="10"
height="10">
<param name="movie" value="[Link]" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
<embed src="[Link]" width="10" height="10" quality="high"
pluginspage="[Link]
type="application/x-shockwave-flash" scale="noborder" ></embed>
</object>
</a><a href="[Link]" class="style12">Hospital Report</a></td>
</tr>
<tr>
<td> </td>
<td><a href="[Link]" class="style12">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[Link] width="10"
height="10">
<param name="movie" value="[Link]" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
<embed src="[Link]" width="10" height="10" quality="high"
pluginspage="[Link]
type="application/x-shockwave-flash" scale="noborder" ></embed>
</object>
</a><a href="Blood_bank_stock_input.jsp" class="style12">Blood_Bank_Stock</a></td>
</tr>
<tr>
<td height="22"> </td>
<td>
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[Link] width="10"
height="10">
<param name="movie" value="[Link]" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
<embed src="[Link]" width="10" height="10" quality="high"
pluginspage="[Link]
type="application/x-shockwave-flash" scale="noborder" ></embed>
</object>
131
<a href="campas_list_input.jsp" class="style12">Camps Details</a></td>
</tr>
<tr>
<td> </td>
<td><a href="[Link]" class="style12">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[Link] width="10"
height="10">
<param name="movie" value="[Link]" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
<embed src="[Link]" width="10" height="10" quality="high"
pluginspage="[Link]
type="application/x-shockwave-flash" scale="noborder" ></embed>
</object>
</a><a href="[Link]" class="style12">UserListReport</a></td>
</tr>
<tr>
<td> </td>
<td>
<span class="style12">
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="[Link] width="10"
height="10">
<param name="movie" value="[Link]" />
<param name="quality" value="high" />
<param name="SCALE" value="noborder" />
<embed src="[Link]" width="10" height="10" quality="high"
pluginspage="[Link]
type="application/x-shockwave-flash" scale="noborder" ></embed>
</object>
</span><a href="feedback_report.jsp" class="style12">Feedback Report</a></td>
</tr>
</table>
</form> </td>
</tr>
<tr>
<td colspan="6" align="left" valign="top"
class="style10">
&n
132
bsp;  
; &n
bsp;  
; &n
bsp; </td>
</tr>
<tr>
<td colspan="8" align="center" valign="bottom" class="style10"><p><img src="images/[Link]" width="912"
height="8" /></p>
<p> </p></td>
</tr>
<tr>
<td colspan="8" align="center" valign="bottom" bgcolor="#990000" class="style10"><span
class="style1">Copyright© 2010 All right reserved Blood-Bank</span></td>
</tr>
</table>
</form>
<form id="form1" name="form1" method="post" action="">
</body>
</html>
133
[Link]
134
font-weight: bold;
}
-->
</style></head>
<body>
<table width="966">
<tr>
135
<td align="right"><div align="center" class="style13"><span class="style14">Welcome tO Admin Report
</span> <img src="images/[Link]" width="75" height="44"
/></div></td>
</tr>
</table>
</form> <p align="left" class="style10"><img src="images/[Link]" width="912" height="8" /></p></td>
</tr>
<tr>
<td colspan="8" class="style10">
<%
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement statement=[Link]();
String query="select * from booldbanklndian";
ResultSet rs=[Link](query);%>
<table width="954">
<tr>
<%
while([Link]())
{
%>
<tr>
<td align="center"><%=[Link](1)%></td>
<td align="center"><%=[Link](2)%></td>
136
<td align="center"><%=[Link](3)%></td>
<td align="center"><%=[Link](4)%></td>
<td align="center"><%=[Link](5)%></td>
<td align="center"><%=[Link](6)%></td>
<td align="center"><%=[Link](7)%></td>
<td align="center"><%=[Link](8)%></td>
<%
}
%>
</td>
</tr>
<tr>
137
[Link]
138
-->
</style></head>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="966">
<tr>
139
<td align="right"><div align="center" class="style13"><span class="style14">Welcome tO Admin Report
</span> <img src="images/[Link]" width="75" height="44"
/></div></td>
</tr>
<tr>
</p>
140
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement statement=[Link]();
String query="select * from receiver";
ResultSet rs=[Link](query);
while([Link]())
{
%>
<td style="font-size:12px"><%=[Link](1)%></td>
<td style="font-size:12px"><%=[Link](2)%></td>
<td style="font-size:12px"><%=[Link](3)%></td>
<td style="font-size:12px"><%=[Link](4)%></td>
<td style="font-size:12px"><%=[Link](5)%></td>
<td style="font-size:12px"><%=[Link](6)%></td>
<td style="font-size:12px"><%=[Link](7)%></td>
<td style="font-size:12px"><%=[Link](8)%></td>
<td style="font-size:12px"><%=[Link](9)%></td>
<td style="font-size:12px"><%=[Link](10)%></td>
<td style="font-size:12px"><%=[Link](11)%></td>
<td style="font-size:12px"><%=[Link](12)%></td>
<td style="font-size:12px"><%=[Link](13)%></td>
<td style="font-size:12px"><%=[Link](14)%></td>
<td style="font-size:12px"><%=[Link](15)%></td>
<td style="font-size:12px"><%=[Link](16)%></td>
<td style="font-size:12px"><%=[Link](17)%></td>
</tr>
<%
}
%>
</table>
<img src="images/[Link]" width="912" height="8" />
<p> </p>
<table width="961" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style1">Copyright© 2010 All right
reserved Blood-Bank</span></td>
</tr>
</table>
</form>
141
<span class="style10"><span class="style3">
<span class="style5"></span>
</body>
</html>
142
Donalr_new.jsp
143
<body>
<form id="form1" name="form1" method="post" action="">
<table width="966">
<tr>
144
<tr>
</p>
while([Link]())
{
%>
<td style="font-size:14px"><%=[Link](1)%></td>
145
<td style="font-size:14px"><%=[Link](2)%></td>
<td style="font-size:14px"><%=[Link](3)%></td>
<td style="font-size:14px"><%=[Link](4)%></td>
<td style="font-size:14px"><%=[Link](5)%></td>
<td style="font-size:14px"><%=[Link](6)%></td>
<td style="font-size:14px"><%=[Link](7)%></td>
<td style="font-size:14px"><%=[Link](8)%></td>
<td style="font-size:14px"><%=[Link](9)%></td>
<td style="font-size:14px"><%=[Link](10)%></td>
<td style="font-size:14px"><%=[Link](11)%></td>
<td style="font-size:14px"><%=[Link](12)%></td>
<td style="font-size:14px"><%=[Link](13)%></td>
</tr>
<%
}
%>
</table>
<img src="images/[Link]" width="912" height="8" />
<p> </p>
<table width="961" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style1">Copyright© 2010 All right
reserved Blood-Bank</span></td>
</tr>
</table>
</form>
146
[Link]
147
-->
</style></head>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="966">
<tr>
148
<td align="right"><div align="center" class="style13"><span class="style14">Welcome tO Admin Report
</span> <img src="images/[Link]" width="75" height="44"
/></div></td>
</tr>
<tr>
</p>
</tr>
<tr><td colspan="17"><hr ></td></tr>
<tr>
<%
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement statement=[Link]();
String query="select * from doctor";
ResultSet rs=[Link](query);
while([Link]())
{
%>
<td style="font-size:14px"><%=[Link](1)%></td>
149
<td style="font-size:14px"><%=[Link](2)%></td>
<td style="font-size:14px"><%=[Link](3)%></td>
<td style="font-size:14px"><%=[Link](4)%></td>
<td style="font-size:14px"><%=[Link](5)%></td>
<td style="font-size:14px"><%=[Link](6)%></td>
<td style="font-size:14px"><%=[Link](7)%></td>
<td style="font-size:14px"><%=[Link](8)%></td>
<td style="font-size:14px"><%=[Link](9)%></td>
<td style="font-size:14px"><%=[Link](10)%></td>
<td style="font-size:14px"><%=[Link](11)%></td>
</tr>
<%
}
%>
</table>
<img src="images/[Link]" width="912" height="8" />
<p> </p>
<table width="961" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style1">Copyright© 2010 All right
reserved Blood-Bank</span></td>
</tr>
</table>
</form>
150
[Link]
151
-->
</style></head>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="966">
<tr>
152
<td align="right"><div align="center" class="style13"><span class="style14">Welcome tO Admin Report
</span> <img src="images/[Link]" width="75" height="44"
/></div></td>
</tr>
<tr>
</p>
<table width="957">
<tr>
<td width="124" align="center"><span class="style20">Hospital_Name</span></td>
<td width="103" align="center"><span class="style20">Address</span></td>
<td width="70" align="center"><span class="style20">City</span></td>
<td width="72" align="center"><span class="style20">State</span></td>
<td width="131" align="center"><span class="style20">BloodGroup_req</span></td>
<td width="92" align="center"><span class="style20">Qty_req</span></td>
<td width="100" align="center"><span class="style20">Qty_avaliv</span></td>
<td width="84" align="center"><span class="style20">Details</span></td>
<td width="123" align="center"><span class="style20">Conatct_person</span></td>
</tr>
<%
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement statement=[Link]();
String query="select * from hospital";
ResultSet rs=[Link](query);
while([Link]())
{
%>
<tr>
<td align="center"><span style="font-size:14px"><%=[Link](1)%></span></td>
<td align="center"><span style="font-size:14px"><%=[Link](2)%></span></td>
<td align="center"><span style="font-size:14px"><%=[Link](3)%></span></td>
<td align="center"><span style="font-size:14px"><%=[Link](4)%></span></td>
<td align="center"><span style="font-size:14px"><%=[Link](5)%></span></td>
153
<td align="center"><span style="font-size:14px"><%=[Link](6)%></span></td>
<td align="center"><span style="font-size:14px"><%=[Link](7)%></span></td>
<td align="center"><span style="font-size:14px"><%=[Link](8)%></span></td>
<td align="center"><span style="font-size:14px"><%=[Link](9)%></span></td>
</tr>
<%
}
%>
</table>
<p><img src="images/[Link]" width="912" height="8" /></p>
<table width="961" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style1">Copyright© 2010 All right
reserved Blood-Bank</span></td>
</tr>
</table>
</form>
154
Blood_bank_stock_input.jsp
155
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
#Layer1 {
position:absolute;
left:367px;
top:186px;
width:364px;
height:228px;
z-index:1;
}
.style13 {font-size: 24px}
.style14 {font-size: 12px}
.style16 {font-size: 10px}
.style17 {color: #FFFFFF; font-size: 12px; }
-->
</style></head>
<body>
<form id="form2" name="form2" method="post" onsubmit="return validateForm()" action="bloodbankstock_code.jsp">
156
<td height="18" colspan="6" align="right" valign="middle"><table width="956">
<tr>
<td width="570"><img src="images/[Link]" width="444" height="37" /></td>
<td width="375"><img src="images/[Link]" width="213" height="69" align="right" /></td>
</tr>
<tr>
<td colspan="2"><img src="images/[Link]" width="949" height="57" /></td>
</tr>
<tr>
<td colspan="2" align="right" bgcolor="#990000"><a href="#" class="style1"></a></td>
</tr>
</table>
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
157
</label>
<div id="Layer1">
<table width="292">
<tr>
<td width="421" height="36" valign="top"><p class="style13"><strong>Blood Bank Stock</strong></p></td>
</tr>
<tr>
<td height="46" valign="top"><p class="style14"><img src="images/[Link]" width="286" height="69"
align="right" /></p></td>
</tr>
<tr>
<td>Bank_group:</td>
</tr>
<tr>
<td><input name="t1" type="text" size="35" /></td>
</tr>
<tr>
<td>Qty_available:</td>
</tr>
<tr>
<td><input name="t2" type="password" size="35" /></td>
</tr>
<tr>
<td>Qty_required:</td>
</tr>
<tr>
<td><input name="t3" type="text" size="35" /></td>
</tr>
<tr>
<td><input type="submit" name="s1" value="Summit" /></td>
</tr>
</table>
</div>
<p><img src="images/[Link]" width="1000" height="8" /></p>
<p>
</p>
<table width="958" border="1">
<tr>
158
<td align="center" bgcolor="#990000"><span class="style17">Copyright© 2010 All right reserved
Blood-Bank</span></td>
</tr>
</table>
</form>
</body>
</html>
159
Bloodbankstock_code.jsp
<body>
<%
String st1=[Link]("s1");
String a=[Link]("t1");
String b=[Link]("t2");
String c=[Link]("t3");
[Link]("[Link]");
Connection con=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement st=[Link]();
if([Link]("Summit"))
{
[Link]("Insert into blood_bank_stock values('"+a+"','"+b+"','"+c+"')");
[Link]("[Link]");
}
%>
</body>
</html>
160
Campus_list_input.jsp
161
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
#Layer1 {
position:absolute;
left:367px;
top:186px;
162
width:313px;
height:228px;
z-index:1;
}
.style13 {font-size: 24px}
.style14 {font-size: 12px}
.style16 {font-size: 10px}
.style17 {color: #FFFFFF; font-size: 12px; }
-->
</style></head>
<body>
<form id="form2" name="form2" method="post" onsubmit="return validateForm()"
action="campas_list_input_code.jsp">
<br />
<br />
<br />
163
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</label>
<div id="Layer1">
<table width="318">
<tr>
<td width="421" height="36" valign="top"><p class="style13"><strong>Camps Details </strong><strong>Rotary
society</strong></p></td>
</tr>
<tr>
<td height="46" valign="top"><p class="style14"><img src="images/[Link]" width="286" height="69"
align="right" /></p></td>
</tr>
<tr>
<td>Camp_no:</td>
</tr>
<tr>
<td><input name="t1" type="text" size="35" /></td>
</tr>
<tr>
164
<td>Timings:</td>
</tr>
<tr>
<td><input name="t2" type="text" size="35" /></td>
</tr>
<tr>
<td>Date:</td>
</tr>
<tr>
<td><input name="t3" type="text" size="35" /></td>
</tr>
<tr>
<td>Place:</td>
</tr>
<tr>
<td><input name="t4" type="text" size="35" /></td>
</tr>
<tr>
<td>Phone</td>
</tr>
<tr>
<td><input name="t5" type="text" size="35" /></td>
</tr>
<tr>
<td>Contact_person</td>
</tr>
<tr>
<td><input name="t6" type="text" size="35" /></td>
</tr>
<tr>
<td><input type="submit" name="s1" value="Summit" /></td>
</tr>
</table>
</div>
165
<table width="958" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style17">Copyright© 2010 All right reserved
Blood-Bank</span></td>
</tr>
</table>
</form>
</body>
</html>
166
campas_list_input_code.jsp
<body>
<%
String st1=[Link]("s1");
String a=[Link]("t1");
String b=[Link]("t2");
String c=[Link]("t3");
String d=[Link]("t4");
String e=[Link]("t5");
String f=[Link]("t6");
[Link]("[Link]");
Connection con=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement st=[Link]();
if([Link]("Summit"))
{
[Link]("Insert into camps_table values('"+a+"','"+b+"','"+c+"','"+d+"','"+e+"','"+f+"')");
[Link]("[Link]");
}
%>
</body>
</html>
167
[Link]
168
</style></head>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="966">
<tr>
169
</tr>
<tr>
</p>
<table width="957">
<tr><td colspan="5"><hr ></td></tr>
<tr>
<td width="126" ><span class="style20">Username</span></td>
<td width="105" ><span class="style20">Password</span></td>
<td width="71" ><span class="style20">Email</span></td>
<td width="73" ><span class="style20">Security_Question</span></td>
<td width="133"><span class="style20">Answer</span></td>
</tr>
<tr><td colspan="5"><hr ></td></tr>
<%
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement statement=[Link]();
String query="select * from login";
ResultSet rs=[Link](query);
while([Link]())
{
%>
<tr>
<td ><span style="font-size:14px"><%=[Link](1)%></span></td>
<td ><span style="font-size:14px"><%=[Link](2)%></span></td>
<td ><span style="font-size:14px"><%=[Link](3)%></span></td>
<td ><span style="font-size:14px"><%=[Link](4)%></span></td>
<td ><span style="font-size:14px"><%=[Link](5)%></span></td>
</tr>
<%
}
%>
170
</table>
<p><img src="images/[Link]" width="912" height="8" /></p>
<table width="961" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style1">Copyright© 2010 All right
reserved Blood-Bank</span></td>
</tr>
</table>
</form>
171
<%@ page contentType="text/html; charset=iso-8859-1" language="java" import="[Link].*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"[Link]
<html xmlns="[Link]
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
.style2 {color: #00FFFF}
.style10 {font-size: 12px}
.style13 {font-size: 30px}
.style14 {color: #CCCCCC}
.style20 {font-size: 14px}
-->
</style></head>
<body>
<form id="form1" name="form1" method="post" action="">
<table width="966">
<tr>
172
<td width="80" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Receiver</a></div></td>
<td width="80" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Doctor</a></div></td>
<td width="100" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Blood- Bank</a></div></td>
<td width="80" bgcolor="#990000"><div align="center" class="style1"><a href="[Link]"
class="style1">Contact Us</a></div></td>
<td width="80" bgcolor="#990000"><div align="center"><a href="[Link]" class="style1">About
Us</a></div></td>
</tr>
<tr>
<td colspan="8">
</table>
<table width="954" >
<tr>
<td align="right"><div align="center" class="style13"><span class="style14">Welcome tO Admin Report
</span> <img src="images/[Link]" width="75" height="44"
/></div></td>
</tr>
<tr>
</p>
<table width="957">
<tr><td colspan="5"><hr ></td></tr>
<tr>
<td width="215" ><span class="style20">Name</span></td>
<td width="175" ><span class="style20">Phone</span></td>
<td width="183" ><span class="style20">Email</span></td>
<td width="238" ><span class="style20">Suggestions_Feedback</span></td>
</tr>
<tr><td colspan="5"><hr ></td></tr>
<%
173
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement statement=[Link]();
String query="select * from feedback";
ResultSet rs=[Link](query);
while([Link]())
{
%>
<tr>
<td ><span style="font-size:14px"><%=[Link](1)%></span></td>
<td ><span style="font-size:14px"><%=[Link](2)%></span></td>
<td ><span style="font-size:14px"><%=[Link](3)%></span></td>
<td ><span style="font-size:14px"><%=[Link](4)%></span></td>
</tr>
<%
}
%>
</table>
<p><img src="images/[Link]" width="912" height="8" /></p>
<table width="961" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style1">Copyright© 2010 All right
reserved Blood-Bank</span></td>
</tr>
</table>
</form>
174
[Link]
175
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
else if([Link]=="")
{
alert("Field should not be left blank");
[Link]();
return false;
}
}
</script>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
#Layer1 {
position:absolute;
left:367px;
top:186px;
width:429px;
height:228px;
z-index:1;
}
.style13 {font-size: 24px}
.style14 {font-size: 12px}
.style16 {font-size: 10px}
.style17 {color: #FFFFFF; font-size: 12px; }
-->
</style></head>
<body>
<form id="form2" name="form2" method="post" onsubmit="return validateForm()" action="feedback_code.jsp">
176
<td height="18" colspan="6" align="right" valign="middle"><table width="956">
<tr>
<td width="570"><img src="images/[Link]" width="444" height="37" /></td>
<td width="375"><img src="images/[Link]" width="213" height="69" align="right" /></td>
</tr>
<tr>
<td colspan="2"><img src="images/[Link]" width="949" height="57" /></td>
</tr>
<tr>
<td colspan="2" align="right" bgcolor="#990000"><a href="#" class="style1"></a></td>
</tr>
</table>
177
</tr>
<tr>
<td>E-mail ID:</td>
</tr>
<tr>
<td><input name="t3" type="text" size="35" /></td>
</tr>
<tr>
<td>Suggestions / Feedback:</td>
</tr>
<tr>
<td><textarea name="t4" cols="65"></textarea>
<span class="style16">Note: Please provide a valid and active e-mail ID so that we could get in touch with
you.</span></td>
</tr>
<tr>
<td><input type="submit" name="s1" value="Summit" /></td>
</tr>
</table>
</div>
<label for="pass"><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
178
<br />
</label>
<table width="958" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style17">Copyright© 2010 All right reserved
Blood-Bank</span></td>
</tr>
</table>
</form>
</body>
</html>
feedback_code.jsp
<body>
<%
String st1=[Link]("s1");
String a=[Link]("t1");
String b=[Link]("t2");
String c=[Link]("t3");
String d=[Link]("t4");
[Link]("[Link]");
Connection con=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement st=[Link]();
if([Link]("Summit"))
179
{
[Link]("Insert into feedback(Name,Phone,Email,Suggestions_Feedback)
values('"+a+"','"+b+"','"+c+"','"+d+"')");
[Link]("[Link]");
}
%>
</body>
</html>
180
[Link]
181
.style15 {
font-size: 16px;
font-weight: bold;
}
-->
</style></head>
<body>
<table width="966">
<tr>
182
<tr>
<td align="right"><div align="center" class="style13"><span class="style14">Welcome tO Admin Report
</span> <img src="images/[Link]" width="75" height="44"
/></div></td>
</tr>
</table>
</form> <p align="left" class="style10"><img src="images/[Link]" width="912" height="8" /></p></td>
</tr>
<tr>
<td colspan="8" class="style10">
<%
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement statement=[Link]();
String query="select * from blood_bank_stock";
ResultSet rs=[Link](query);%>
<table width="954">
<tr>
<%
while([Link]())
{
%>
<tr>
<td align="center"><%=[Link](1)%></td>
<td align="center"><%=[Link](2)%></td>
<td align="center"><%=[Link](3)%></td>
183
<%
}
%>
</td>
</tr>
<tr>
184
[Link]
185
.style15 {
font-size: 16px;
font-weight: bold;
}
-->
</style></head>
<body>
<table width="966">
<tr>
186
<tr>
<td align="right"><div align="center" class="style13"><span class="style14">Welcome tO Admin Report
</span> <img src="images/[Link]" width="75" height="44"
/></div></td>
</tr>
</table>
</form> <p align="left" class="style10"><img src="images/[Link]" width="912" height="8" /></p></td>
</tr>
<tr>
<td colspan="8" class="style10">
<%
[Link]("[Link]");
Connection connection=[Link]("jdbc:mysql://localhost:3306/bloodbank","root","1234");
Statement statement=[Link]();
String query="select * from camps_table";
ResultSet rs=[Link](query);%>
<table width="954">
<tr>
<%
while([Link]())
{
%>
<tr>
<td align="center"><%=[Link](1)%></td>
<td align="center"><%=[Link](2)%></td>
<td align="center"><%=[Link](3)%></td>
187
<td align="center"><%=[Link](4)%></td>
<td align="center"><%=[Link](5)%></td>
<td align="center"><%=[Link](6)%></td>
<%
}
%>
</td>
</tr>
<tr>
188
[Link]
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style type="text/css">
<!--
body,td,th {
font-weight: bold;
}
.style1 {color: #FFFFFF}
#Layer1 {
position:absolute;
left:428px;
top:211px;
width:492px;
189
height:228px;
z-index:1;
}
.style13 {font-size: 24px}
body {
background-image: url();
}
-->
</style></head>
<body>
<%if ([Link]()==true)
[Link]([Link]("[Link]"));%>
<%[Link]();%>
<h4 align="center"> You were being Logged out </h4> <br>
<a href = "[Link]"> Login </a><br>
<b>Session ID: </b><%= [Link]()
%>
<form>
<td height="18" colspan="6" align="right" valign="middle"><table width="956">
<tr>
<td> <img
src="images/[Link]" width="802" height="43" /></td>
</tr>
<tr>
<td><img src="images/[Link]" width="949" height="57" /></td>
</tr>
<tr>
<td align="right" bgcolor="#990000"><span class="style1">Email</span>
<input type="text" name="t1" />
<span class="style1">Password</span>
<input type="password" name="t2" />
<a href="#" class="style1"></a></td>
</tr>
</table>
<label for="pass"></label></td>
190
</form>
<p><img src="images/[Link]" width="946" height="340" /></p>
<table width="958" border="1">
<tr>
<td align="center" bgcolor="#990000"><span class="style1">Copyright© 2010 All right reserved
BloodBank</span></td>
</tr>
</table>
</body>
</html>
191
5.2 CODE EFFICIENCY
Reviewing of Code efficiency for a module is carried out after the module is successfully compiled
and all the syntax errors eliminated. Code efficiency review is extremely cost-effective strategies for
reduction in coding errors in order to produce high quality code. Normally, two types of efficiency
are carried out on the code of a module - code optimization and code inspection. The procedure and
final objective of these two efficiency techniques are very different as discussed below.
OPTIMIZATION OF CODE
Code optimization is an informal code analysis technique. In this technique, after a module has been
coded, it is successfully compiled and all syntax errors are eliminated. Some members of the
development team are given the code a few days before the optimization meeting to read and
understand the code. Each member selects some test cases and simulates execution of the code by
hand (i.e. trace execution through each statement and function execution). The main objectives of the
optimization are to discover the algorithmic and logical errors in the code. The members note down
their findings to discuss these in a optimization meeting where the coder of the module is also
present.
Even though a code optimization is an informal analysis technique, several guidelines have evolved
over the years for making this naïve technique more effective and useful. Of course, these guidelines
are based on personal experience, common sense, and several subjective factors. Therefore are based
on personal experience, common sense, and several subjective factors. Therefore, guidelines should
be considered as examples rather than as rules to be applied dogmatically. Some of these guidelines
are the following:
The team performing the code optimization should not be either too big or too small. Ideally, it
should consist of three to seven members.
192
6.1 TESTING PHASE
One of the purposes of the testing is to validate and verify the system. Verification means checking
the system to ensure that it is doing what the function is supposed to do and Validation means
checking to ensure that system is doing what the user wants it to do.
No program or system design is perfect; communication between the user and the designer is not
always complete or clear, and time is usually short. The result is errors and more errors.
Theoretically, a newly designed system should have all the pieces in working order, but in reality,
each piece works independently. Now is the time to put all the pieces into one system and test it to
determine whether it meets the user's requirements. This is the best chance to detect and correct
errors before the system is implemented. The purpose of system testing is to consider all the likely
variations to which it will be subjected and then push the system to its limits. If we implement the
system without proper testing then it might cause the problems.
Theoretically, a new designed system should have all the pieces in working order, but in reality, each
piece works independently. Now is the time to put all the pieces into one system and test it to
determine whether it meets the requirements of the user. The process of system testing and the steps
taken to validate and prepare a system for final implementation are:
193
6.2 LEVELS OF TESTING
UNIT TESTING
VALIDATION
INTEGRATION
SYSTEM
1. UNIT TESTING:
This is the smallest testable unit of a computer system and is normally tested
using the white box testing. The author of the programs usually carries out unit tests.
2. INTEGRATION TESTING:
In integration testing, the different units of the system are integrated together to
form the complete system and this type of testing checks the system as whole to ensure that it is
doing what is supposed to do. The testing of an integrated system can be carried out top-down,
bottom-up, or big-bang. In this type of testing, some parts will be tested with white box testing and
some with black box testing techniques. This type of testing plays very important role in increasing
the systems productivity. We have checked our system by using the integration testing techniques.
194
3. SYSTEM TESTING:
A part from testing the system to validate the functionality of software against
the requirements, it is also necessary to test the non-functional aspect of the system. Some examples
of non-functional tools include tests to check performance, data security, usability/user friendliness,
volume, load/stress that we have used in our project to test the various modules.
1. Program(s) testing.
2. String testing.
3. System testing.
4. System documentation.
5. User acceptance testing.
4. FIELD TESTING:
This is a special type of testing that may be very important in some projects. Here
the system is tested in the actual operational surroundings. The interfaces with other systems and the
real world are checked. This type of testing is very rarely used. So far our project is concerned; we
haven't tested our project using the field testing.
5. ACCEPTANCE TESTING:
After the developer has completed all rounds of testing and he is satisfied
with the system, then the user takes over and re-tests the system from his point of view to judge
whether it is acceptable according to some previously identified criteria. This is almost always a
tricky situation in the project because of the inherent conflict between the developer and the user. In
this project, it is the job of the bookstores to check the system that whether the made system fulfills
the goals or not.
195
WHY SYSTEM TESTING?
Testing is vital to the success of the system. System testing makes a logical assumption that if
all the parts of the system are correct, the goal will be successfully achieved. Inadequate testing
results in two types of problems:
1. The time lag between the cause and the appearance of the problem.
2. The effect of system errors on the files and records within the system.
PREPARE TEST: A workable test plan must be prepared in accordance with established design
specifications. It includes the following items:
Outputs expected from the system.
Criteria for evaluating outputs.
A volume of test data.
Procedure for using test data.
Personnel and training requirements.
196
PREPARE TEST DATA FOR PROGRAM TESTING
As each program is coded, test data are prepared and documented to ensure that all aspects of the
program are properly tested.
• The system group has time available to spend on training while the programs are being
written.
• Initiating a user-training program gives the systems group a clearer image of the user's
interest in the new system.
• A trained user participates more effectively in system testing.
The training plan is followed by preparation of the user training manual and other text materials.
COMPILE / ASSEMBLE PROGRAMS
All programs have to be compiled / assembled for testing.
197
SYSTEMS TESTING
The computer department to ensure that the system functions as specified does this testing. This testing is
important to ensure that a working system is handed over to the user for acceptance testing.
ACCEPTANCE TESTING
The user to ensure that the system functions, as the user actually wanted performs this testing. With
prototyping techniques, this stage becomes very much a formality to check the accuracy and completeness
of processing. The screen layouts and output should already have been tested during the prototyping
phase.
An error in the program code can remain undetected indefinitely. To prevent this from happening
the code was tested at various levels. To successfully test a system, each condition, and
combinations of conditions had to be tested. Each program was tested and linked to other programs.
This unit of program is tested and linked to other units and so on until the complete system has been
tested.
The purpose of testing is to ensure that each program is fully tested. To do so a test plan had to be
created. The test plan consists of a number of test runs such as the valid paths through the code, and
the exception and error handling paths. For each test run there is a list of conditions tested, the test
data used and the result expected. The test plan was then reviewed to check that each path through
the code is tested correctly. It is the responsibility of the programmer to collect the data that will
produce the required test condition.
198
Fig. 9 TEST CASES
TEST DATA
Specifications
for
Sumsungmrc.
com user
form1
Test Date 10-jun-12 Programmer name: Self
Sumsung
Mobile Service
Tested By: Self Project Name Centre
Management
System
199
allowed( Length
upto 32
characters)
User should be on
Check the the fields are
[Link]
1 functionality of required minimum 6 Ok Pass
User Details? And is on
Password field character.
Password Field pkg2007
User should be on
Check the the fields are
[Link]
2 functionality of required minimum 6 Ok Pass
User Details? And is on
Password field character.
Password Field 1235678
200
the fields are
[Link] enter
User should be on
Check the only letters, spaces,
[Link]
1 functionality of No numeric & Ok Pass
User Details? And is on
Anwer field special characters
Answer Field
are allowed( Length
upto 32 characters)
maya
User should be on
Check the the fields are
[Link]
1 functionality of required minimum 6 Ok Fail
User Details? And is on
Password field character.
Password Field p123
201
Test cases of customer details
TEST DATA
Specifications
for
[Link]
m add customer
details
Programmer
Test Date 27-4-2010 Pawan Kumar
name:
Administrative
Support System
Tested By: Pawan Kumar Project Name For Sumsung
Mobile Repairing
Centre
202
Phone No. only 8 or 10 digit
You may use
numbers
1 User should be on Check the functionality Gupta Will accept only letters, Ok Pass
[Link] of Last_Name field No spaces, No hyphens,
/cusomerDetails? And is on no apostrophes,No
Last_Name Field numeric & special
characters are allowed.
203
Length upto 16
characters.
Will accept only letters,
No spaces, No hyphens,
User should be on
no apostrophes,No
[Link] Check the functionality
2 numeric & special Ok Pass
/cusomerDetails? And is on of Last_Name field
characters are allowed.
Last_Name Field
Length upto 16
Verma characters.
Will accept only letters,
No spaces, No hyphens,
User should be on
no apostrophes,No
[Link] Check the functionality
3 numeric & special Ok Pass
/cusomerDetails? And is on of Last_Name field
characters are allowed.
Last_Name Field
Length upto 16
Gangadhartilak characters.
User should be on
Will accept only letters,
[Link] Check the functionality
1 [Link] upto 20 Ok Pass
/cusomerDetails? And is on of City field
characters.
City Patna
User should be on
Will accept only letters,
[Link] Check the functionality
2 [Link] upto 20 Ok Pass
/cusomerDetails? And is on of City field
characters.
city New Delhi
User should be on
[Link] Check the functionality Will accept only numeric
1 Ok Pass
/cusomerDetails? And is on of Phone number upto 8 or 10 digit .
Phone number 9899988235
User should be on
[Link] Check the functionality Will accept only numeric
2 Ok Pass
/cusomerDetails? And is on of Phone number upto 8 or 10 digit .
Phone number 112555111
204
the fields are
User should be on [Link] enter only
[Link] Check the functionality letters, numeric, special
2 Ok Pass
/cusomerDetails? And is on of Product characters,no space are
Product allowed( Length upto 32
SUMSUNG-1110i characters)
Negative Test cases for Add Customer Details form
T.C ACT
PRE-CONDITION T.C DESCRIPTION T.C DATA EXPECTED RESULT
ID UAL
User should be on
Will accept only numeric
[Link] Check the functionality Inval
1 upto 8 digit . Customer Fail
/cusomerDetails? And is on of Customer ID id
ID are required
Customer ID
205
city required.
206
6.3 VERIFICATION AND VALIDATION (V&V)
The objectives of verification, validity activities are to assess and improve the quality of the work
products generated during development and modification of the software. Quality depends upon the
various attributes like correctness, completeness, consistency, reliability, usefulness, usability,
efficiency and conformance to standards.
The terms verification and validation are used synonymously. These are defined as under: -
Verification activities include proving, testing, and reviews. Validation is the process of evaluating
software at the end of the software development to ensure compliance with the software
requirements. Testing is a common method of validation. Clearly, for high reliability we need to
perform both activities. Together, they are often called V&V activities.
The major V&V activities for software development are inspection, reviews, and testing (both static
and dynamic). The V&V plan identifies the different V&V tasks for the different phases and
specifies how these tasks contribute to the project V&V goals. The methods to be used for
performing these V&V activities, the responsibilities and milestones for each of these activities,
inputs and outputs for each V&V task, and criteria for evaluating the outputs are also specified.
The two major V&V approaches are testing and inspections. Testing is an activity that can be
generally performed only on code. It is an important activity and is discussed in detail in a later
chapter. Inspection is a more general activity that can be applied to any work product, including
code. Many of the V&V tasks are such that for them, an inspection type of activity is the only
possible way to perform the tasks (e.g. trace ability and document evaluation). Due to this,
inspections play a significant role in verification.
207
7.1 SYSTEM IMPLEMENTATION MAINTENANCE AND REVIEW
As we know, creating software is one thing and the implementation of the created software is
another. The process of implementing software is much difficult as compared to the task of creating
the project. First we have to implement the software on a small scale for removing the bugs and other
errors in the project and after removing them we can implement the software on a large scale.
Before we think in terms of implementing the Software on a large basis, we must consider the
Hardware requirements.
Whenever we develop software or project a certain hardware and software is being used by the
programmer for developing the project. The hardware and software to be used by the programmer for
developing the project should be such that it would result in the development of a project, which
would satisfy all the basic needs for which the project has been created by the programmer. The
Hardware should be such that cost constraints of the Client should also be taken into account without
affecting the performance.
When we evaluate computer hardware, we should first investigate specific physical and performance
characteristics for each hardware component to be acquired. These specific questions must be answered
concerning many important factors. These hardware evaluation factors questions are summarized in the
below figure.
Notice that there is much more to evaluating hardware than determining the fastest and cheapest
computing device. For e.g. the question of possible obsolescence must be addressed by making a
technology evaluation. The factor of ergonomics is also very important. Ergonomics is the science and
technology that tries to ensure that computers and other technologies are "user-friendly", that is safe,
comfortable and easy to use. Connectivity is another important evaluation factor, since so many
computer systems are now interconnected within wide area or local area telecommunications networks.
208
1) Performance
2) Cost
3) Reliability
4) Availability
5) Compatibility
6) Modularity
7) Technology
8) Ergonomics
9) Connectivity
10) Environmental requirements
11) Software
12) Support
Software can be evaluated according to many factors similar to the hardware evaluation. Thus the
factors of performance, cost, reliability, compatibility, modularity, technology, ergonomics, and
support should be used to evaluate proposed software acquisitions. In addition, however, the
software evaluation factors are summarized in below figure. For e.g. some software packages
require too much memory capacity and are notoriously slow, hard to use, or poorly documented.
They are not a good selection for most end users, even if offered at attractive prices.
209
4. LANGUAGE: do our computer programmers and users write it in a programming
language that is used?
5. DOCUMENTATION: is the s/w well documented? Does it include helpful user
instructions?
6. HARDWARE: does existing hardware have the features required to best use this
software?
7. Other characteristics of hardware such as its performance, what about the cost, how
much is reliable and etc.
An important aspect of is to make sure that the new design is implemented to establish standards.
The term implementation has different meanings, ranging form the conversion of a basic application
to a complete replacement of a computer system. Implementation is used here to mean the process of
converting a new or revise system into an operational one. Conversion is one aspect of
implementation. Conversion means changing form one system to another. The objective is to put the
tested system into operation while holding costs, risks, and personnel irritation to a minimum. It
involves creating computer-compatible files, training the operation staff, and installing terminal and
hardware. A critical aspect of conversion is not disrupting the functioning of the organization.
When a new system is used over and old, existing and running one, there are always compatibility
errors. These errors are caused because of the lack of equipment or personnel to work the new
system. Running any specified system at an organization does require some or other hardware or, in
this case, software requirement as well.
210
3. Implementation of a modified application to replace an existing one, using the same
computer. This type of conversion is relatively easy to handle, provided there are no major
changes in the files.
Training needs refer to the gaining of knowledge required for running the system.
First of all the system is a computer based system therefore the person should have good knowledge
about computer and its working.
He should know how to use software's on the computer.
For a better usage and working of the software the organization should appoint a person who has
good knowledge of all the required softwares. The organization gets a person trained through
different institutes present in the market. The training should be as per the above requirements.
211
8. COST ESTIMATION OF THE PROJECT
Cost in a project is due to the requirements for software, hardware, and human resources. Hardware
resources are computer time, terminal time and memory required for the project. Software resources
include the tools and compilers needed during development. The bulk of cost of software
development is due to human resources needed. Cost estimates are determined in terms of person-
months (PM).
1. Administrator
2. Senior Programmer
3. Junior Programmers
212
9. GANTT & PERT CHART
GANT CHART
Gantt charts mainly used to allocate resources to activities. The resources allocated to activities
include staff, hardware, and software. Gantt charts (named after its developer Henry Gantt) are
useful for resource planning. A Gantt chart is special type of bar chart where each bar represents an
activity. The bars are drawn along a timeline. The length of each bar is proportional to the duration
of the time planned for the corresponding activity.
Gantt chart is a project scheduling technique. Progress can be represented easily in a Gantt chart, by
coloring each milestone when completed. The project will start in the month of January and end after
4 months at the end of April.
System Design
Detailed Design
Coding
Unit Testing
Test Plan
Testing
Fig. 10.
213
Pert Chart
PERT (Project Evaluation and Review Technique) charts consist of a network of boxes and arrows.
The boxes represent activities and the arrows represent task dependencies.
1. PERT chart represents the statistical variations in the project estimates assuming a normal
distribution. Thus in a PERT chart instead of making a single estimate for each task,
pessimistic, likely, and optimistic estimates are also made. The boxes of PERT charts are
usually annotated with the pessimistic, likely, and optimistic estimates for every task. Since
all possible completion times between the minimum and maximum durations for every task
have to be considered, there are many critical paths, depending on the permutations of the
estimates for each task. This makes critical path analysis in PERT charts very complex. A
critical path in a PERT chart is shown by using thicker arrows. The PERT chart
representation of the Blood Bank Management System problem of Figure A. is shown
in Figure B.
Task ES EF LS LF ST
Specification Part 0 15 0 15 0
Design Database
Part 15 60 15 60 0
Design GUI Part 15 45 90 120 75
Code Database
Part 60 165 60 165 0
Code GUI Part 45 90 120 165 75
Integrate and Test 165 285 165 285 0
Write User Manual 15 75 225 285 210
Different Tasks for the Blood Management System shown in above table.
214
Design Code
Database part Database part
40, 45, 60 95,105,120
Specification Integrated
12, 15, 20 And test
100,120,140 Finish
0
Design GUI Code
part GUI part
24, 30, 38 4538,, 52
Write user
Manual
50, 60, 70
PERT charts are a more sophisticated form of activity chart. In activity diagrams only the estimated
task durations are represented. Since the actual durations might vary from the estimated durations,
the utility of the activity diagrams is limited.
215
10. SECURITY AND VALIDATION CHECKS
While entering the data into the form it will check for the name of the client is properly filled
& it should not be null.
Whenever we enter the data for the new customer, company, or user will automatically check
the details from the database tables and also generate the connection number automatically.
Almost for all fields we have used the validation for example if name of the fields requires
the text type of data then it will check for the string and if the data is numeric then it will
check if the number entered is proper numeric or not.
216
11. SCOPE OF FUTURE APPLICATION
This website will be developed for the Online interested in information about Blood donation.
Utmost care and back-up procedures must be established to ensure 100% successful implementation
of the Online Blood Bank Management System. In case of system failure, the organization should be
in a position to process the transaction with another organization or if the worst comes to the worst, it
should be in a position to complete it manually.
The decision to automate generally depends on the needs to have accurate, consistent and timely data
in a variety of reporting formats. But the most important factor that should be considered is –
Be sure to take future growth into consideration and evaluate whether the software
package could be modified if the organization expands in the future or you need to revise
the system.
The next generation of systems would take advantage of the latest technologies, including
Microsoft Windows XP and Orcale11i to offer access and integrate with all aspects of a
business. Keeping this in view we could develop systems that would work efficiently and
integrate seamlessly in virtually any industry setting, even up to mid-sized corporations
and divisions of larger organizations.
Consider another setting, where the users are not comfortable on computers, for such
users we can develop systems where the users can have their own personalized menu
setup in the accounting software so that they no longer have to search around to find what
they need.
217
Now consider the Internet. This wide open information exchange network comes with
many benefits for businesses, including breaking down physical barriers as to where
he/she can consult to the companies.
NOTE: In a nutshell we have a lot of scope to further enhance the futures and functionalities
of the proposed Solution.
218
12. CONCLUSION
This project is designed to meet the requirements of the users for Blood Bank Management system It
has been developed in JSP,AJAX, keeping in mind the specifications of the system.
For designing the system we have used simple data flow diagrams.
Using system analysis and design techniques like data flow diagram in designing the system.
Understanding the database handling and query processing using My SQL .
219
13. BIBLIOGRAPHY
1. Senn James A : Analysis and Design of Information Systems, McGraw Hill, International Ed,
1989.
4. Wetherebe James : Systems Analysis and Design, Galgotia Publications Pvt Ltd, New
Delhi, 1990
220
14. GLOSSARY
TEXT BOX
A text Box control, sometimes called an edit field or edit control, displays information entered at
design time, entered by the user, or assigned to the control in code at run time.
BUTTON
Use a Command Button control to begin, interrupt, or end a process. When chosen, a Command
Button appears pushed in and so is sometimes called a push button.
LIST BOX
A List Box control displays a list of items from which the user can select one or more. If the number
of items exceeds the number that can be displayed, a scroll bar is automatically added to the List Box
control.
LABEL
A Label control is a graphical control you can use to display text that a user can’t change directly.
GROUPBOX
A GROUPBOX control provides an identifiable grouping for controls. You can also use a Frame to
subdivide a form functionally – for example, to separate groups of Option Button controls.
COMBO BOX
A Combo Box control combines the features of a text box and a list box. This control allows the user
to select an item either by typing text into the combo box, or by selecting it from the list.
TIMER
A Timer control can execute code at regular intervals by causing a Timer event to occur. The Timer
control, invisible to the user, is useful for background processing.
PICTURE BOX
The primary use for the Picture Box control is to display a picture to the user. The actual picture that
is displayed is determined by the picture property. The picture property contains the file name (and
optional path) for the picture file that you wish to display.
221
DATA GRID CONTROL
The DATA Grid control displays and operates on tabular data. It allows complete flexibility to sort,
merge, and format tables containing strings and pictures. When bound to a Data control, MSFlexGrid
displays read-only data.
A Date and Time Picker (DTP) Control provides a simple and intuitive interface through which to
exchange data and time information with a user. For example, with a DTP control you can ask the
user to enter a data and then retrieve his or her selection with ease.
OPTION BUTTON
IMAGE CONTROL
Use the Image control to display a graphic. An Image control can display a graphic from an icon,
bitmap or metafile, as well as enhanced metafile, JPEG, or GIF files.
222