0% found this document useful (0 votes)
20 views83 pages

Scope

The document describes a Ship Management System project created as a web application using Java technology. The system allows users to view information about employees, ships, and warehouses from a single interface. It provides functionality to add, update, and delete data in the different modules. The project aims to consolidate information from different systems into a single application for improved management and access. Key sections include an introduction, scope, overview, descriptions of user and product functions, objectives, tools and requirements, analysis documents including normalization, data dictionary, flow charts, ER and data flow diagrams, and design documents covering modularization, the user interface, and integrity constraints.

Uploaded by

aaa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views83 pages

Scope

The document describes a Ship Management System project created as a web application using Java technology. The system allows users to view information about employees, ships, and warehouses from a single interface. It provides functionality to add, update, and delete data in the different modules. The project aims to consolidate information from different systems into a single application for improved management and access. Key sections include an introduction, scope, overview, descriptions of user and product functions, objectives, tools and requirements, analysis documents including normalization, data dictionary, flow charts, ER and data flow diagrams, and design documents covering modularization, the user interface, and integrity constraints.

Uploaded by

aaa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 83

Introduction

The project Ship Management System is a web based application designed on Java technology
using Eclipse IDE. The project main aim is to develop a system which allows the user to have the
access to all the employees information , ship information as well as warehouse information .
Under the Employees, information the user can view all the details such as the his/her name , their
telephone no, their address , their salary .
Under the Ship, one can view details regarding the type of the ship , who is the captain of the ship
,what is the capacity of the ship, and name of the ship .
Under the Warehouse, information such as the warehouse manager name , what is the address of
the warehouse and how many free slots are available can be seen .
With the help of this project user does not need to work through different systems to find out the
information regarding his/her company.

Scope

• A way for the ship company to login into the system to perform different operations.
● A way in which the user can see all the employees, ship, warehouse information in
just a single click.
● A way for the user to use the system to add data (e.g. employee name ,address,
warehouse manager name ,etc. ) to the database.

Overview

Our Ship Management System is a java based GUI Application. The user can view details on a
single click. The user can use the system to insert, update and delete data from the front end, all
such changes will also reflect the corresponding database.

1
Description

Product Perspective
● User Details : This includes details like username and password for login.

● Add Employee details : This function is performed by the user of the system and is used
to add , update, delete description of the employee which will be available to the company
.

● Add Ship details: This function is performed by the user of the system and is used to add
, update, delete description of the Ship which show which ship has which captain its type
and its capacity.

● Add Warehouse : This function is performed by the user of the system and is used to
add , update, delete description of the warehouse which will describe the warehouse
location ,its manager mane ,its slots etc.

Product Functions

● Login : User login will perform functions corresponding to the role.

● Our services: User will be able to see all the services that the company provides.
● Employess : This function will allow the user to see the details of the employee and
modify them and delete them.

● Warehouse: This function will allow the user to see the details of the Warehouse and
modify them and delete them.

● Ship: This function will allow the user to see the details of the Ship and modify them
and delete them.

2
Objectives

Objective of Project the project “Ship Management System” is dedicated to the general
requirements of Ship Company. The main objective of the project is to create a Ship Management
processing that allows user to know about ships, the warehouses and the employees, etc.

The purpose of the project is to build an application program to reduce the manual work
for managing the ship company etc. It tracks all details about the company.

3
Tools and Requirements

Hardware Requirements:

S. NO Description

1 Processor required : minimum 2.0 GHz

2 RAM required : Min 1 GB

3 Display : 1024 x 768 or higher resolution display

4 Processor : 7th generation i5

Software Requirements:

S. NO Item Description

1 Operating System Windows 8 / 10

2 Front end (Client side) Java

3 Back end (Server) Xampp

4 Database php

5 IDE Eclipse IDE

4
Analysis Document

❖ Normalisation
The basic objective of normalization is to reduce redundancy which means that information is
to be stored only once. Storing information several times leads to wastage of storage space and
increase in the total size of the data stored. If a database is not properly designed it can give rise
to modification anomalies. Modification anomalies arise when data is added to, changed or
deleted from a database table.Normalization is the process of breaking down a table into smaller
tables.

❖ Data Dictionary

A data dictionary is a collection of the names, definitions, and attributes for data elements and
models. The data in a data dictionary is the metadata about the database. These elements are then
used as part of a database, research project, or information system. These are some of the most
common elements used in a data dictionary, though there’s variation:
• Attribute name
• Attribute type
• Entity-relationship
• Reference data
• Rules for validation, schema, or data quality
• Detailed properties of data elements
• Physical information about where data is stored

5
6
7
❖ FLOW CHART

A flowchart is simply a graphical representation of steps. It shows steps in sequential order and
is widely used in presenting the flow of algorithms, workflow or processes. Typically, a
flowchart shows the steps as boxes of various kinds, and their order by connecting them with
arrows.

8
❖ ER DIAGRAM

An Entity–relationship model (ER model) describes the structure of a database with the help of
a diagram, which is known as Entity Relationship Diagram (ER Diagram). An ER model is a
design or blueprint of a database that can later be implemented as a database. The main components
of E-R model are: entity set and relationship set.

❖ DATA FLOW DIAGRAM

DFD is the abbreviation for Data Flow Diagram. The flow of data of a system or a
process is represented by DFD.
It also gives insight into the inputs and outputs of each entity and the process itself.

9
0 – Level DFD

1 – Level DFD

10
❖ USE CASE DIAGRAM

A use case diagram is a graphical depiction of a user's possible interactions with a system. A use
case diagram shows various use cases and different types of users the system has and will often be
accompanied by other types of diagrams as well. The use cases are represented by either circles or
ellipses. The actors are often shown as stick figures.

11
Design Document

Modularisation

When the system is broken down into small modules i.e. functions this process is referred to as
modularization. In this project There are various modules which perform different function .
The modules are as follows :-

● User Login

This module checks user id and password. If it is correct then the system is directed to the
user page else it is redirected to the login page.

● User Form

User page is the actual user interface where the user works, This interface provides the
user with various menus such as viewing the employee details , ships details, warehouse
details and our services.

• Employees

Employees is the form that will be available to the user after a successful login. In this
form, the details of all the employees are available. The user can add details ,view details
and delete details .

• Ships

Ship is the form that will be available to the user after a successful login. In this form, the
details of all the ships are available. The user can add details ,view details and delete details.

• Warehouse

Warehouse is the form that will be available to the user after a successful login. In this
form, the details of all the ships are available. The user can add details ,view details and
delete details.

12
User Interface

The user interface is made in such a way that users can use it easily. Just as I declared
earlier this project is dependent softwares that supports java GUIs. The User Interface Is Designed
with Eclipse IDE Java.

Integrity Constrain

• Integrity Constraints are a set of rules. It is used to maintain the quality information.

• Integrity Constraints Ensure that the Data Insertion, updating, and other processes must be
performed in such a way that data integrity is not affected.

• Thus, integrity constraints are used to guard against accidental damage to the database.

So there are many types of Integrity Constraints

Types of Integrity Constraints

A. Domain constraints
● Domain constraints can be defined as the definition of a valid set of values for an

attribute.

13
● The data type of domain includes string, character, integer, time, date, currency, etc.

The value of the attribute must be available in the corresponding domain.

B. Entity integrity constraints


● The entity integrity constraint states that primary key value can't be null.

● This is because the primary key value is used to identify individual rows in relation and if

the primary key has a null value, then we can't identify those rows.

● A table can contain a null value other than the primary key field.

C. Referential Integrity Constraints


● A referential integrity constraint is specified between two tables.

● In the Referential integrity constraints, if a foreign key in Table 1 refers to the

Primary Key of Table 2, then every value of the Foreign Key in Table 1 must be null

or be available in Table 2.

D. Referential Integrity Constraints


● A referential integrity constraint is specified between two tables.

● In the Referential integrity constraints, if a foreign key in Table 1 refers to the

Primary Key of Table 2, then every value of the Foreign Key in Table 1 must be null

or be available in Table 2.

14
Program Code

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"


pageEncoding="ISO-8859-1"%>

<!DOCTYPE html>
<html>
<head>

<meta charset="ISO-8859-1">
<title>login</title>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Main page</title>
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>
<!-- Web header -->
<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->

<form action="loginaction.jsp" method="post">


<p style="text-align: center" >

User Name : <input type="text" name="usr" /><br><br>


Password : <input type="password" name="password" /><br><br>

<input type="submit" value="submit"/> </form>

15
</p>
<!-- Web footer -->
<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"


pageEncoding="ISO-8859-1"%>
<%@ page import="java.sql.*"%>
<%@ page import="javax.sql.*"%>
<%
String userid=request.getParameter("usr");
//session.putValue("userid",userid);
String password=request.getParameter("password");
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection con =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject","root","");
out.println("Conn created");
Statement st= con.createStatement();
System.out.println("select * from login where userid='"+userid+"' and
password='"+password+"'");
ResultSet rs=st.executeQuery("select * from login where userid='"+userid+"' and
password='"+password+"'");

16
try{
rs.next();
out.println("Item selected");
String userid1=rs.getString("userid");
if(rs.getString("password").equals(password)&&rs.getString("userid").equals(userid))
{
out.println("Welcome hjvhuj " +userid);
//out.showMessageDialog(null, "Amount has been Transfered to the Beneficiary Account.....");
//<a href="index.jsp">
response.sendRedirect("index.jsp");
///System.out.println(rs.getString("password"));
}
else{
out.println("Invalid password or username.");
//response.sendRedirect("login.jsp");
}
}
catch (Exception e) {
out.println("Catch");
e.printStackTrace();
}
%>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"


pageEncoding="ISO-8859-1"%>

<%
//response.sendRedirect("login.jsp");

%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Main page</title>
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
</head>
<body>
<!-- Web header -->
<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">

17
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col3">
<div id="featured_slide">
<div id="featured_wrap">
<ul id="featured_tabs">
<li><a href="#fc1">employees<br />
</a></li>
<li><a href="#fc2">cargo <br />
</a></li>
<li><a href="#fc3" >Warehouseing<br />
</a></li>
<li class="last"><a href="#fc4">ship<br />
</a></li>
</ul>
<div id="featured_content">
<div class="featured_box" id="fc1"><img src="images/Image3.jpg" width="1200" height="900"
/>

</div>

18
<div class="featured_box" id="fc2"><img src="images/Image1.jpg" width="940" height="290"
/>

</div>
<div class="featured_box" id="fc3"><img src="images/Image2.jpg" width="940" height="290"
/>

</div>
<div class="featured_box" id="fc4"><img src="Image0.jpg" width="940" height="290" />

</div>
</div>
</div>
</div>
</div>
<!-- Web footer -->
<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

19
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<title>Our Services</title>
</head>
<body>
<!-- Web header -->
<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col3">
<div id="breadcrumb">
<h3 align="center">Our Services</h3>
</div>
</div>

<div class="wrapper col4">

20
<div id="container">
<div id="hpage">
<ul>
<li>
<h2>Employee</h2>
<div class="imgholder"><a ><img src="images/sea-cargo-service-sea-freight-logistics-
shipping.jpg_200x200.jpg" width="200" height="140" /></a></div>
<p>We provides customized relation forwarding capabilities beside whole company and across
global market .Our community spans across 4 continents yet is continuously growing.</p>
</li>
<li>
<h2>Cargo</h2>
<div class="imgholder"><a ><img src="images/import-clearance-of-aluminum-foil-from-jnpt-
port-250x250.jpg" width="200" height="140" /></a></div>
<p>Our skilled staff perform deal with the cargo rapidly to secure your goods are cleared out of
the ports with no trouble</p>
</li>
<li>
<h2>Warehouseing</h2>
<div class="imgholder"><a ><img src="images/coolest-warehouse-clip-art-airpro-transport-
2009-services-warehousing-warehouse-clip-art-35bsm7r9l57o41dwm0a87e.png" width="200"
height="140" /></a></div>
<p>Providing storage facilities for India.</p>
</li>
<li class="last">
<h2>ship</h2>
<div class="imgholder"><a ><img src="images/door-to-door-delivery-250x250.png"
width="200" height="140" /></a></div>
<p>Providing with the best ships to carry forward the operations.</p>
</ul>
<br class="clear" />
</div>
</div>
</div>
<!-- Web footer -->
<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>

21
</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<title></title>
</head>
<body>
<!-- Web header -->
<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>

22
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<ul>
<li><a href="Employee.jsp" >Enter Employee Details</a></li>
<li><a href="Emp_view.jsp" >View Employee Details</a></li>
<li><a href="Emp_M.jsp" >Modify Employee Details</a></li>
<li><a href="Emp_Del.jsp" >Delete Employee Details</a></li>
</ul>
</div>
</div>
<!-- Web footer -->
<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>

23
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->

24
<div class="wrapper col4">
<div id="container">
<ul>
<li><a href="Ware House.jsp">Enter Warehouse Details</a></li>
<li><a href="wareh_view.jsp" >View Warehouse Details</a></li>
<li><a href="WareH_M.jsp">Modify Warehouse Details</a></li>
<li><a href="wareh_del.jsp">Delete Warehouse Details</a></li>
</ul>

</div>
</div>
<!-- Web footer -->
<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<title>Insert title here</title>
</head>
<body>

25
<!-- Web header -->
<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<ul>
<li><a href="Ships.jsp" >Enter Ship Details</a></li>
<li><a href="Ships_view.jsp" >View Ship Details</a></li>
<li><a href="Ships_M.jsp" >Modify Ship Details</a></li>
<li><a href="Ships_Del.jsp" >Delete Ship Details</a></li>
</ul>

</div>
</div>
<!-- Web footer -->

26
<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<script type="text/javascript" src="layout/scripts/jquery.min.js"></script>
<script type="text/javascript" src="layout/scripts/jquery.slidepanel.setup.js"></script>
<title></title>
</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

27
</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>Register</h1>
<form action="iep.jsp" method="POST">
<hr>

<label for="ID"><b>ID number</b></label>


<input type="text" placeholder="Enter ID" name="ID"><br>

<label for="Name"><b>Name</b></label>
<input type="text" placeholder="Enter Name" name="name"><br>

<label for="add"><b>Address </b></label>


<input type="text" placeholder="Enter Address" name="add"><br>

<label for="tel"><b>Telephone </b></label>


<input type="text" placeholder="Enter Telephone" name="tel"><br>

<label for="sal"><b>Salary </b></label>


<input type="text" placeholder="Enter Salary" name="sal" required><br>
<hr>

28
<input type="submit" value="Enter">
<!-- <button type="submit" class="em_registerbtn">Enter</button> -->
</form>
</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<title></title>
</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">

29
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>View employee data</h1>
<form action="empreg.jsp" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" placeholder="Enter ID number" name="ID"><br>
<button type="submit" class="em_view">View</button>
</form>

<hr>
</div>
</div>
<!-- Web footer -->

30
<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

<title></title>
<title>Insert title here</title>
</head>
<body>
<!-- Web header -->
<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

31
</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>Modify</h1>
<form action="editemp.jsp" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" placeholder="Enter ID" name="ID"><br>

<hr>

<label for="Name"><b>Name</b></label>
<input type="text" placeholder="Enter Name" name="name"><br>

<label for="add"><b>Address</b></label>
<input type="text" placeholder="Enter Address" name="add"><br>

<label for="tel"><b>Telephone</b></label>
<input type="text" placeholder="Enter Telephone" name="tel"><br>

<label for="sal"><b>Salary</b></label>
<input type="text" placeholder="Enter Salary" name="sal"><br>

32
<hr>

<button type="submit" class="em_registerbtn">Enter</button>


</form>

</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<title></title>
</head>
<body>

<!-- Web header -->

33
<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>Remove employee data</h1>
<form action="delemp.jsp" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" placeholder="Enter ID number" name="ID" ><br>
<button type="submit" class="em_del">Delete</button>
</form>
<hr>

</div>s
</div>

34
<!-- Web footer -->
<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"


pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>

35
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>View Ware house Details</h1>

<form action="warehouseview.jsp" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" name="ID"><br>
<button type="submit" class="wh_view">View</button>
<hr>
</form>
</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

36
</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">

37
</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>Modify</h1>

<form action="editwh.jsp" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" name="ID"><br>

<hr>

<label for="add"><b>Address</b></label>
<input type="text" name="add"><br>

<label for="M_Name"><b>Manager Name</b></label>


<input type="text" name="mname"><br>

<label for="fslot"><b>Free slots</b></label>


<input type="text" name="fslot"><br>

<hr>

<button type="submit" class="registerbtn">Enter</button>


</form>
</div>

38
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>

39
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>Remove Warehouse Details</h1>
<form action="deletewh.jsp" method="POST">
<label for="ID"><b>ID number</b></label>
<input type="text" name="ID"><br>
<button type="submit" class="wh_del">Delete</button>
<hr>

</form>

</div>
</div>

40
<!-- Web footer -->
<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

41
</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>Remove Warehouse Details</h1>
<form action="deletewh.jsp" method="POST">
<label for="ID"><b>ID number</b></label>
<input type="text" name="ID"><br>
<button type="submit" class="wh_del">Delete</button>
<hr>

</form>

</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">

42
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

43
<div class="topbox last">
</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>View Ship details</h1>

<form action="shipview.jsp" method="POST">


<label for="ID"><b>ID number</b></label>
<input type="text" placeholder="Enter ID number" name="ID" ><br>
<button type="submit" class="s_view">view</button>

</form>

<hr>

</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">

44
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

45
<div class="topbox last">
</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>Modify</h1>

<form action="ediship.jsp" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" placeholder="Enter ID" name="ID" ><br>

<hr>

<label for="Name"><b>Name</b></label>
<input type="text" placeholder="Enter Name" name="name"><br>

<label for="type"><b>type</b></label>
<input type="text" placeholder="Enter type" name= "type"><br>

<label for="c_name"><b>Captain name</b></label>


<input type="text" placeholder="Enter captain name" name="c_name" ><br>

<label for="capacity"><b>Capacity</b></label>
<input type="text" placeholder="Enter capacity" name="capacity" ><br>

<hr>

46
<button type="submit" class="registerbtn">Enter</button>
</form>
</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<title></title>
</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">

47
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>Remove Ship details</h1>
<form action="delship.jsp" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" placeholder="Enter ID number" name="ID"><br>
<button type="submit" class="s_del">Delete</button>

<hr>

</form>

48
</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import="java.sql.*"%>
<%@ page import="javax.sql.*"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",

49
"root","");

String id=request.getParameter("ID");
String name=request.getParameter("name");
String address=request.getParameter("type");
String tel=request.getParameter("c_name");
String sal=request.getParameter("capacity");

Statement st= conn.createStatement();


ResultSet rs;
int i=st.executeUpdate("insert into ship(S_id,S_Name,S_Type,S_Captain_Name,S_Capacity)
values ('"+id+"','"+name+"','"+address+"','"+tel+"','"+sal+"')");
conn.setAutoCommit(true);
conn.close();
response.sendRedirect("ShipMS.jsp");
}
catch(Exception e)
{
out.print(e);

%>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
//String name=request.getParameter("name");

50
Statement st= conn.createStatement();
ResultSet rs;
//System.out.println("update warehouse set
WH_MANAGER_NAME='"+tel+"',WH_Address='"+address+"',WH_Free_Slot='"+sal+"'
where WH_id="+id+")");
int i=st.executeUpdate("DELETE FROM employee where Emp_id="+id+"");
conn.setAutoCommit(true);
conn.close();
response.sendRedirect("EmployeeMS.jsp");
}
catch(Exception e)
{
out.print(e);

%>
</body>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"


pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
//String name=request.getParameter("name");

Statement st= conn.createStatement();


ResultSet rs;

51
//System.out.println("update warehouse set
WH_MANAGER_NAME='"+tel+"',WH_Address='"+address+"',WH_Free_Slot='"+sal+"'
where WH_id="+id+")");
int i=st.executeUpdate("DELETE FROM warehouse where WH_id="+id+"");
conn.setAutoCommit(true);
conn.close();
response.sendRedirect("WarehouseMS.jsp");
}
catch(Exception e)
{
out.print(e);

%>
</body>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"


pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
//String name=request.getParameter("name");

Statement st= conn.createStatement();


ResultSet rs;
//System.out.println("update warehouse set
WH_MANAGER_NAME='"+tel+"',WH_Address='"+address+"',WH_Free_Slot='"+sal+"'
where WH_id="+id+")");
int i=st.executeUpdate("DELETE FROM ship where S_id="+id+"");

52
conn.setAutoCommit(true);
conn.close();
response.sendRedirect("ShipMS.jsp");
}
catch(Exception e)
{
out.print(e);

%>
</body>

<%@ page language="java" contentType="text/html; charset=ISO-8859-1"


pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
String name=request.getParameter("name");
String address=request.getParameter("type");
String tel=request.getParameter("c_name");
String sal=request.getParameter("capacity");

Statement st= conn.createStatement();


ResultSet rs;
//System.out.println("update warehouse set
WH_MANAGER_NAME='"+tel+"',WH_Address='"+address+"',WH_Free_Slot='"+sal+"'
where WH_id="+id+")");
int i=st.executeUpdate("update ship set
S_Name='"+name+"',S_Type='"+address+"',S_Captain_Name='"+tel+"',S_Capacity='"+sal+"'
where S_id="+id+"");

53
conn.setAutoCommit(true);
conn.close();
response.sendRedirect("ShipMS.jsp");
}
catch(Exception e)
{
out.print(e);

%>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
String name=request.getParameter("name");
String address=request.getParameter("add");
String tel=request.getParameter("tel");
String sal=request.getParameter("sal");

Statement st= conn.createStatement();


ResultSet rs;
//System.out.println("update warehouse set
WH_MANAGER_NAME='"+tel+"',WH_Address='"+address+"',WH_Free_Slot='"+sal+"'
where WH_id="+id+")");
int i=st.executeUpdate("update employee set Emp_Name='"+name+"',
Emp_Telephone='"+tel+"',Emp_Address='"+address+"',Emp_Salary='"+sal+"' where
Emp_id="+id+"");

54
conn.setAutoCommit(true);
conn.close();
response.sendRedirect("EmployeeMS.jsp");
}
catch(Exception e)
{
out.print(e);

%>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
//String name=request.getParameter("name");
String address=request.getParameter("add");
String tel=request.getParameter("mname");
String sal=request.getParameter("fslot");

Statement st= conn.createStatement();


ResultSet rs;
System.out.println("update warehouse set
WH_MANAGER_NAME='"+tel+"',WH_Address='"+address+"',WH_Free_Slot='"+sal+"'
where WH_id="+id+")");
int i=st.executeUpdate("update warehouse set
WH_MANAGER_NAME='"+tel+"',WH_Address='"+address+"',WH_Free_Slot='"+sal+"'
where WH_id="+id+"");

55
conn.setAutoCommit(true);
conn.close();
response.sendRedirect("WarehouseMS.jsp");
}
catch(Exception e)
{
out.print(e);

%>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>

<!DOCTYPE html>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>

56
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>View Ware house Details</h1>

<form action="viewWarhouse" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" name="ID"><br>
<button type="submit" class="wh_view">View</button>
<hr>
</form>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
//String name=request.getParameter("name");

ResultSet resultSet = null;


Statement st= conn.createStatement();
ResultSet rs;
resultSet = st.executeQuery("select * from employee where Emp_id='"+id+"'");
while (resultSet.next()) {
%>
<tr bgcolor="#8FBC8F">

57
<td>ID=<%=resultSet.getString("Emp_id")%> </td><br />
<td>Name=<%=resultSet.getString("Emp_Name")%> </td><br />
<td>Telephone=<%=resultSet.getString("Emp_Telephone")%> </td><br />
<td>Address=<%=resultSet.getString("Emp_Address")%> </td><br />
<td>Salary=<%=resultSet.getString("Emp_Salary")%> </td><br />
</tr>

<%
}
conn.setAutoCommit(true);
conn.close();
//response.sendRedirect("index.jsp");
}
catch(Exception e)
{
out.print(e);

%>

</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>

58
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
String name=request.getParameter("name");
String address=request.getParameter("add");
String tel=request.getParameter("tel");
String sal=request.getParameter("sal");

Statement st= conn.createStatement();


ResultSet rs;
int i=st.executeUpdate("insert into
employee(Emp_id,Emp_Name,Emp_Telephone,Emp_Address,Emp_Salary) values
('"+id+"','"+name+"','"+tel+"','"+address+"','"+sal+"')");
conn.setAutoCommit(true);
conn.close();
response.sendRedirect("index.jsp");
}
catch(Exception e)
{
out.print(e);

%>
</body>

59
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />
<script type="text/javascript" src="layout/scripts/jquery.min.js"></script>
<script type="text/javascript" src="layout/scripts/jquery.slidepanel.setup.js"></script>
<title></title>
</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>

60
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>Register</h1>
<form action="shipreg.jsp" method="POST">
<hr>

<label for="ID"><b>ID number</b></label>


<input type="text" placeholder="Enter ID" name="ID"><br>

<label for="Name"><b>Name</b></label>
<input type="text" placeholder="Enter Name" name="name"><br>

<label for="add"><b>Address</b></label>
<input type="text" placeholder="Enter type" name="type"><br>

<label for="tel"><b>Telephone</b></label>
<input type="text" placeholder="Enter capacity" name="capacity"><br>

<label for="sal"><b>Salary</b></label>
<input type="text" placeholder="Enter captain name" name="captain_name" required><br>
<hr>

<input type="submit" value="Enter">


<!-- <button type="submit" class="em_registerbtn">Enter</button> -->
</form>
</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>

61
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>

<!DOCTYPE html >


<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">

62
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>View Ware house Details</h1>

<form action="viewWarhouse" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" name="ID"><br>
<button type="submit" class="wh_view">View</button>
<hr>
</form>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
//String name=request.getParameter("name");

ResultSet resultSet = null;


Statement st= conn.createStatement();
ResultSet rs;
resultSet = st.executeQuery("select * from ship where S_id='"+id+"'");
while (resultSet.next()) {
%>
<tr bgcolor="#8FBC8F">

<td> ID=<%=resultSet.getString("S_id")%></td><br />


<td> Name=<%=resultSet.getString("S_Name")%></td><br />
<td>Ship type=<%=resultSet.getString("S_Type")%></td><br />
<td>Captain name=<%=resultSet.getString("S_Captain_Name")%></td><br />

63
<td>Capacity=<%=resultSet.getString("S_Capacity")%></td><br />
</tr>

<%
}
conn.setAutoCommit(true);
conn.close();
//response.sendRedirect("index.jsp");
}
catch(Exception e)
{
out.print(e);

%>

</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>

64
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html >
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->

65
<div class="wrapper col4">
<div id="container">
<h1>View Ware house Details</h1>

<form action="viewshi.jsp" method="POST">

<label for="ID"><b>ID number</b></label>


<input type="text" name="ID"><br>
<button type="submit" class="wh_view">View</button>
<hr>
</form>
</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>
<!DOCTYPE html >
<html>
<head>

66
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
//String name=request.getParameter("name");
String address=request.getParameter("add");
String tel=request.getParameter("mname");
String sal=request.getParameter("fslot");

Statement st= conn.createStatement();


ResultSet rs;
int i=st.executeUpdate("insert into
warehouse(WH_id,WH_MANAGER_NAME,WH_Address,WH_Free_Slot) values
('"+id+"','"+tel+"','"+address+"','"+sal+"')");
conn.setAutoCommit(true);
conn.close();
response.sendRedirect("index.jsp");
}
catch(Exception e)
{
out.print(e);

%>
</body>
</html>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<%@ page import ="java.sql.*" %>
<%@ page import ="javax.sql.*" %>

<!DOCTYPE html >


<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />

67
<link rel="stylesheet" href="layout/styles/layout.css" type="text/css" />

</head>
<body>

<!-- Web header -->


<div class="wrapper col1">
<div id="header">
<div id="logo">
<h1 align="center">Ayush Ship Company</h1>
<p align="center">Ship Management System</p>
</div>
<div class="fl_right">
<ul>

</ul>
<p>Tel: +91 8329061633| Mail: [email protected]</p>

<div class="topbox last">


</div>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bar -->
<!-- Web bar -->
<div class="wrapper col2">
<div id="topnav">
<ul>
<li class="active"><a href="index.jsp">Home</a></li>
<li><a href="OurServices.jsp">Our Services</a></li>

<li><a href="EmployeeMS.jsp"> Employee</a></li>


<li><a href="WarehouseMS.jsp"> Warehouses</a></li>
<li><a href="ShipMS.jsp"> Ships</a></li>

</ul>
</div>
</div>
<!-- Web Body -->
<div class="wrapper col4">
<div id="container">
<h1>View Ware house Details</h1>

<form action="viewWarhouse" method="POST">

68
<label for="ID"><b>ID number</b></label>
<input type="text" name="ID"><br>
<button type="submit" class="wh_view">View</button>
<hr>
</form>
<table>
<%
try
{
Class.forName("com.mysql.jdbc.Driver");
java.sql.Connection conn =
DriverManager.getConnection("jdbc:mysql://localhost:3306/oopproject",
"root","");

String id=request.getParameter("ID");
//String name=request.getParameter("name");

ResultSet resultSet = null;


Statement st= conn.createStatement();
ResultSet rs;
resultSet = st.executeQuery("select * from warehouse where WH_id='"+id+"'");
while (resultSet.next()) {
%>
<tr bgcolor="#8FBC8F">

<td>Warehouse ID=<%=resultSet.getString("WH_id")%></td><br />


<tr bgcolor="#8FBC8F">
<td>Manager Name=<%=resultSet.getString("WH_MANAGER_NAME")%></td></tr><br />
<tr bgcolor="#8FBC8F">
<td>ADDRESS=<%=resultSet.getString("WH_Address")%></td></tr><br />
<tr bgcolor="#8FBC8F">
<td>Free Slot=<%=resultSet.getString("WH_Free_Slot")%></td><br />
</tr>
</tr>

<%
}
conn.setAutoCommit(true);
conn.close();
//response.sendRedirect("index.jsp");
}
catch(Exception e)
{
out.print(e);

69
}

%>

</table>
</div>
</div>

<!-- Web footer -->


<div class="wrapper col5">
<div id="footer">
<div id="newsletter">

</div>
<div class="footbox">
<h2>Contact Us</h2>
<ul>

<li class="last"><a href="#">+91-8329061633</a></li>


</ul>
</div>
<br class="clear" />
</div>
</div>
<!-- Web bottom -->
<div class="wrapper col6">
<div id="copyright">
<p class="fl_left">Copyright &copy; 2021 - All Rights Reserved</p>
</div>
</div>
</body>
</html>

70
Test Cases

A test case is a document, which has a set of test data, preconditions, expected results and post
conditions, developed for a test scenario in order to verify compliance against a specific
requirement.

Test Case acts as the starting point for the test execution, and after applying a set of input values,
the application has a definitive outcome and leaves the system at some end point or also known
as execution post condition.

To test my application, i have used unit testing. Let's take the Admin login function for this test
case.

Step 1 : The simple test case scenario for this would be -

Test Case Description


1 check the form response when the id and password
is entered by the user.

Step 2 : In order to execute this test case, some data needs to be entered. Adding data below -

Test Case Description Test Data


1 check the form response when Id : admin
the id and password is entered by
the user. Password : admin

Step 3 : To test this test case, the tester needs to perform some functions -

Test Case Description Testing Steps Test Data


1 check the form response 1. Enter id Id : admin
when the id and
password is entered by 2. Enter password Password : admin
the user. 3. Click on login

71
Step 4 : Expected results to be noted down.
Test Case Description Test Data Expected result
1 check the form response Id : admin Login Successful
when the id and
password is entered by Password : admin
the user.

Check expected results against actual results and assign a pass or fail status to the test case.

Test case Description Test data Expected Actual result Pass/Fail


result
1 check the Id : admin Login Login PASS
form Successful Successful
response Password :
when the id
and admin
password is
entered by
the user.

Following test cases will be made :

Test Test case Test Steps Test data Expected Actual result Pass/Fail
Case scenario result
1 Valid data 1. Enter id Id : admin Login Login PASS
as input successful Successful
2. Enter Password :
password
admin
3. Click on
login
2 Invalid 1. Enter id Id : admin Login Login FAIL
data as unsuccessful unsuccessful
input 2. Enter Password :
password
1234
3. Click on

Login

72
Output Screens

73
74
75
76
77
78
79
80
81
LIMITATIONS OF THE PROJECT

Since this is our first project it has some limitation. Due to less knowledge fields and
limited time we were not able to fulfil all our expectations that we expected we could do while the
project got started.

We hope these limitations are considerable.

Some of the project limitations are:

• This application is not suitable for those organization where there is different level of
warehouses.

• Single admin panel is only made.

• It is not suitable for large organization.

82
Future Scope

In the future aspects of this application we can develop it to enable for the tracking of the
warehouses and the cargo that is stored in it and also we can keep a track of the ship travel route.

With this we can also add the dock/port facilities to keep a track of the cargo being arrived
and delivered and that the application can be used by the large-scale organizations as well.

83

You might also like