Download as pdf or txt
Download as pdf or txt
You are on page 1of 114

COURIER SERVICES

A
MAJOR PROJECT REPORT ON

COURIER SERVICES

Submitted for partial fulfilment of the requirements


for the award of the degree
of
MASTER OF COMPUTER APPLICATION
2023-24(EVEN SEMESTER)
BY
Aaditya Jaiswal [2201220140001]
Under the Guidance
Of
Ms. Archana Singh

SHRI RAMSWAROOP COLLEGE OF ENGINEERING &


MANAGEMENT, LUCKNOW

Affiliated to AKTU

MCA||SRMCEM,LUCKNOW
COURIER SERVICES

Dr. A.P.J. ABDUL KALAM TECHNICAL UNIVERSITY,

LUCKNOW, UTTAR PRADESH, INDIA

SHRI RAMSWAROOP MEMORIAL COLLEGE OF


ENGINEERING AND MANAGEMENT, LUCKNOW
DEPARTMENT OF MCA

CERTIFICATE

Certified that the project en tled “COURIER SERVICES" submied by

AADITYA JAISWAL [2201220140001]and in the par al fulfilment of the

requirements for the award of the degree of Master of Computer Application

and affiliated to AKTU, is a record of students' own work carried under our

supervision and guidance. The project report embodies results of original work

and studies carried out by students and the contents do not forms the basis for

award of any other degree to the candidate or to anybody else.

Project Coordinator, MCA Head of Department, MCA


Ms. Archana Singh Dr. Ajay Kr Srivastav

MCA||SRMCEM,LUCKNOW
COURIER SERVICES

Shri Ramswaroop Memorial College of Engineering and Management

DEPARTMENT OF COMPUTER
APPLICATION SRMCEM

CERTIFICATE

This is to certify that the project entitled “COURIER SERVICE”

submitted by AADITYA JAISWAL [Roll No. 2201220140001 ] and in the

partial fulfillment of the requirement for the award of the degree of Master

of Computer Application of Dr. A.P.J. Abdul Kalam Technical University, is a

record of student’s own work carried under our supervision and guidance. The

project report embodies result of original work and the study carried out by

the student and the contents do not form the basis for the award of any other

degree to the candidate or to anybody else.

Ms. Archana Singh Prof. Ajay Kr. Srivastava


(Project Guide) (Head of Department)

MCA||SRMCEM,LUCKNOW
COURIER SERVICES

Shri Ramswaroop Memorial College of Engineering and Management

DEPARTMENT OF COMPUTER APPLICATION


SRMCEM

DECLARATION

I hereby declare that the project entitled “ COURIER SERVICE “

submitted by me in the partial fulfillment of the requirement for the award

of the degree of Master of Computer Application of Dr. A.P.J. Abdul Kalam

Technical University, is a record of my own work carried under the

supervision and guidance of Ms. Archana Singh (Project Guide) MCA

Department. To the best of my knowledge this project has not been

submitted to Dr. A.P.J. Abdul Kalam Technical University,or any other

University or Institute for the award of any degree.

Name AADITYA JAISWAL

Roll. No 2201220140001

MCA||SRMCEM,LUCKNOW
COURIER SERVICES

MCA||SRMCEM,LUCKNOW
COURIER SERVICES

ACKNOWLEDGEMENT

I take this occasion to thank God, almighty for blessing us with his grace and
taking our endeavour to a successful culmina on. I extend my sincere and hear elt
thanks to our esteemed guide, Ms. Archana Singh, for providing me with the right
guidance and advice at the crucial junctures and for showing me the right way. I
extend my sincere thanks to our respected Head of the Department Dr. Ajay Kr.
Srivastava for allowing us to use the facili es available in college. I would like to
thank the other faculty members also, at this occasion. Last but not the least, I
would like to thank my friends and family for the support and encouragement they
have given me during the course of our work.

AADITYA JAISWAL

[2201220140001]

MCA||SRMCEM,LUCKNOW
COURIER SERVICES

Preface

Every study is incomplete without having a well concrete exposure, of the


research. Computer Application on studies are not excep on that scopes, of the
project at this level are very wide ranging. Student of computer applica on are
successfully processed and refined through the means of major project report so
that they may have a complete exposure to present scenario in IT industry. This
final report has been taken as a part of M.C.A. Degree. The purpose of the study
is to use and apply our academic knowledge gained during the curriculum in ge
ng valuable insight of corporate culture with all its a endants completes. We have
done a lot of hard work despite of all my sincere efforts. This is possibility that
there may be some areas which may remain uncovered in study. I once again
thank to all those who help one directly or indirectly in preparing my project on
topic Courier Services.

MCA||SRMCEM,LUCKNOW 7
COURIER SERVICES

TABLE OF CONTENT
S.No CONTENT
1 Introduction 7

2 Company Profile 8

3 Problem Statement 9

4 Objective and Scope 10

5 Proposed System 11

6 Technologies Used 12-16

7 Resources (Hardware and Software) to be used 17

8 Process Description 18

9 Modules Description 19

10 Feasibility Study 20- 21

11 Use Case Diagram & ER-Diagram 22-23

12 Coding and Implementation 24- 100

13 Screen Shots 101-109

14 System security and Maintenance 110-111

15 Scope and Conclusion 112-113

16 Reference 114

MCA||SRMCEM,LUCKNOW 8
COURIER SERVICES

Introduction

The courier services is an dynamic web application that helps the user to find out
different courier services which are present around them and allows them to
request for the courier service from the provider. This portal saves time of users
by providing the courier service details just on one click. Then the users can
enquire with courier service for pickup and delivery of parce .This portal will
enable any user to search and communicate with any service center in vicinity.
The end user can find a service center and book the services online provided by
that particular service center. The end user can also place a request for pick and
drop of courier if needed. The service centers will be viewed on the basis of the
city selected. The location can also be detected automatically.

MCA||SRMCEM,LUCKNOW 9
COURIER SERVICES

Company Profile

Precursor Info Solutions Pvt Ltd in Lucknow is one of the leading businesses in
the Computer Training Institutes for Advanced Java. Also known for Computer
Training Institutes, Institutes, Fabricators, Computer Hardware Training
Institutes, Mobile
Application Developers, Computer Training Institutes for Java, Computer
Software Training Institutes, Computer Training Institutes for Python and much
more. Find Address, Contact Number, Reviews & Ratings, Photos, Maps of
Precursor Info Solutions Pvt Ltd, Lucknow.
Established in the year 2014, Precursor Info Solutions Pvt Ltd in Mahanagar,
Lucknow is a top player in the category Computer Training Institutes for
Advanced Java in the Lucknow. This well-known establishment acts as a onestop
destination servicing customers both local and from other parts of Lucknow

MCA||SRMCEM,LUCKNOW 10
COURIER SERVICES

Problem Statement

Finding information about the nearby Courier provider services is sometimes very
tedious task to users. It becomes very cumbersome to those users who are new to
the locality and doesn’t know much around them. Comparison between different
courier services for users is very difficult in manual process. Without a
centralized platform to compare services and prices, it can be difficult to get a
clear picture of what's available and what it will cost.

MCA||SRMCEM,LUCKNOW 11
COURIER SERVICES

Objective and Scope

Making the process of searching Courier Service Providers easier.


Comparison between different courier services will be easy.
Any user can search for courier services around themselves.
Direct Communication between service provider and customer which reduce the
miscommunication.

MCA||SRMCEM,LUCKNOW 12
COURIER SERVICES

Proposed System

The portal will usually have a user-friendly interface and provide clear and
detailed information about the details of services available for booking. Users can
select the dates and times they need for courier service, as well as the pickup and
drop-off locations.
It will provide a single platform to different courier service providers to register
themselves and provide their services to the users.
Users can easily locate the courier service providers which are nearby to them.
Courier pickup and drop service will be provided.
Users can compare prices of different courier service providers along with their
delivery charges. Courier Service Providers will also get more orders to ship
using this portal.

MCA||SRMCEM,LUCKNOW 13
COURIER SERVICES

Technologies Used
Backend:
Java: Java is a widely-used programming language for coding web
applications. It has been a popular choice among developers for over two
decades, with millions of Java applications in use today. Java is a multi-
platform, object-oriented, and network-centric language that can be used as
a platform in itself. It is a fast, secure, reliable programming language for
coding everything from mobile apps and enterprise software to big data
applications and server-side technologies.
JSP: Java Server Pages (JSP) is a technology that allows developers to
create dynamic web pages using a combination of HTML, XML, and Java
code. JSP pages are executed on a web server, and the resulting output is
sent to the client's web browser. JSP provides a way to easily access Java
code and objects from within a web page, simplifying the creation of
dynamic web pages. JSP pages are typically used in conjunction with Java
servlets, which handle data processing and client requests. JSP is part of the
Java EE platform and is supported by most web servers and servlet
containers.
Servlet: A servlet is a Java programming language class that is used to
extend the capabilities of servers that host applications accessed by means
of a request-response programming model. Although servlets can respond to
any type of request, they are commonly used to extend the applications
hosted by web servers. For such applications, Java Servlet technology
defines HTTP-specific servlet classes.
The javax.servlet and javax.servlet.http packages provide interfaces and
classes for writing servlets. All servlets must implement the Servlet
interface, which defines life-cycle methods. When implementing a generic
service, you can use or extend the GenericServlet class provided with the

MCA||SRMCEM,LUCKNOW 14
COURIER SERVICES

Java Servlet API. The HttpServlet class provides methods, such as doGet
and doPost, for handling HTTP-specific services

Frontend:
HTML: HTML, a formatting system for displaying material retrieved over
the Internet. Each retrieval unit is known as a Web page (from World Wide
Web), and such pages frequently contain hypertext links that allow related
pages to be retrieved. HTML is the markup language for encoding Web
pages. It was designed by the British scientist Sir Tim-Berners-Lee at the
CERN nuclear physics laboratory in Switzerland during the 1980s.
HTML markup tags specify document elements such as headings,
paragraphs, and tables. They mark up a document for display by a
computer program known as a Web browser. The browser interprets the
tags, displaying the headings, paragraphs, and tables in a layout that is
adapted to the screen size and fonts available to it.
CSS: CSS is an acronym for Cascading Style Sheet and it was created by
HÃ¥kon Wium Lie in 1996 for the web developers to change the layout,
colours, and fonts of their websites.CSS is a style sheet or presentational
language that is used to layout, format, and style documents that are written
in HTML to make them look beautiful. CSS is generally used with HTML
to change the style of web pages and user interfaces. You can use CSS to
change the colour, backgrounds, borders, paddings, margins, fonts, icons,
position and various other properties of HTML elements in a web
document.
Bootstrap: Bootstrap is a free, open source front-end development
framework for the creation of websites and web apps. Designed to enable
responsive development of mobilefirst websites, Bootstrap provides a
collection of syntax for template designs.
As a framework, Bootstrap includes the basics for responsive web
development, so developers only need to insert the code into a pre-defined
grid system. The Bootstrap framework is built on Hypertext Markup

MCA||SRMCEM,LUCKNOW 15
COURIER SERVICES

Language (HTML), cascading style sheets (CSS) and JavaScript. Web


developers using Bootstrap can build websites much faster without
spending time worrying about basic commands and functions.

JavaScript: JavaScript is the most popular programming language in the


world and that makes it a programmer’s great choice. Once you learnt
JavaScript, it helps you developing great front-end as well as back-end
software’s using different JavaScript based frameworks like

jQuery, Node.JS etc. JavaScript is everywhere, it comes installed on every


modern web browser and so to learn JavaScript you really do not need any
special environment setup. For example, Chrome, Mozilla Firefox, Safari
and every browser you know as of today, supports JavaScript. JavaScript
helps you create really beautiful and crazy fast websites. You can develop
your website with a console like look and feel and give your users the best
Graphical User Experience.

Database:
MySQL: MySQL is an open-source relational database management system
(RDBMS) that is widely used for managing and storing large volumes of
structured data. It is known for its reliability, scalability, and high
performance, making it a popular choice for web applications, e-commerce
websites, and other data-intensive systems. MySQL supports various
programming languages, including SQL (Structured Query Language),
Java, Python, and C++, and is available on multiple platforms such as
Linux, Windows, and macOS. MySQL is also part of the LAMP (Linux,
Apache, MySQL, PHP/Python/Perl) stack, which is a popular web
development platform.

MCA||SRMCEM,LUCKNOW 16
COURIER SERVICES

Resources (Hardware and Software) to be used

Hardware Requirements: -
Client Side:
Processor : Dual Core or above
RAM : 4 GB

HDD : 500 GB
Display : High Resolution screen
Others : Internet Connection

Developer Side:

Processor : Core i3 or above

RAM : 4 GB
HDD : 500 GB
Display : High Resolution screen
Others : Internet Connection

Software Requirements: -
Client Side:

Web Browser : Any updated browser

Developer Side:

Browser : Any updated browser


IDE : Eclipse IDE

MCA||SRMCEM,LUCKNOW 17
COURIER SERVICES

Process Description

In this portal there are following roles and each role has different tasks as
follows.
Roles: -
Admin, Courier Service Provider, User
Admin: Admin will able to manage the whole portal.
Courier Service Providers: They will be able register their courier service
on the portal.
Users: They can search about the courier services after registration and
request for courier service from the courier service provider.

MCA||SRMCEM,LUCKNOW 18
COURIER SERVICES

Modules Description

Registration and Login: All type of users will register themselves


and will do login with their credentials.
Administration: Admin will be able to do all necessary
modifications related to web site contents. Admin will be able to
view all the details of providers for which they are providing
services.
Courier Service Management: Courier Service provider will add
details about their courier service.
Rating and Review: Ratings and reviews are given by service
providers as well as users about our portal.
Contact us: users can contact to the portal admin in case of any
query. Employee Management: Providers will add the details of
their employees Searching: User can search about Courier
Service around in their locality.
Service Request: Users can request for the courier service from
the courier service providers and after that he/she will check the
status of the courier.
Schemes and Offer Management: Providers will add schemes and
will be getting displayed on Home Page.
Job Management: Providers will post job for hiring employees

MCA||SRMCEM,LUCKNOW 19
COURIER SERVICES
Feasibility Study

Whenever a new system (a hardware or software) is to be


introduced, there is a need to study the new system in every
aspect or manner before working on it. We get the idea whether
the project is adequate or not.

The feasibility study on major questions:

1. Does the candidate system meet the user requirement?


2. Is the problem worth solving?
3. The impact of the system on organization.

TECHNICAL, ECONOMICALLY & OPERATIONAL


FEASIBILITY

1. Financial feasibility:

Financial feasibility refers to financial support required. It


refers to finance incurred during the development of the
project.

2. Technical feasibility:

Technical feasibility refers to technical knowhow and


auxiliary devices required.

3. Behavioural feasibility:

MCA||SRMCEM,LUCKNOW 20
COURIER SERVICES
Refers to reaction of the people towards the project.

4. Operational feasibility:

Operational feasibility means is it possible to practically


implement the project. While installing this software, the
hardware and software requirements should be
specified.

FEASIBILITY GAINEED BY OUR SYSTEM

Technical Feasibility
Since our project in JAVA so we need to have a strong base in
programming. A computer with JDK installed is needed.

Economical Feasibility
TO implement the system we require more than one
computer.Since the system will be implemented in existing
environment there will be no need to buy the computers. The
system is economically feasible to implement.
Operational Feasibility
Our system will be easy to install and use. Hence our system
is operationally feasible. Cost-Benefit Analysis the cost
incurred by our system includes only the software cost and
cost of the computer needed to run the project The benefits
incurred by our system will include.

MCA||SRMCEM,LUCKNOW 21
USE CASE DIAGRAM

MCA||SRMCEM ,LUCKNOW
ER DIAGRAM

MCA||SRMCEM ,LUCKNOW
CODING

JSP:

MCA||SRMCEM ,LUCKNOW
COURIER SERVICES

HOME PAGE
<%@page import="java.util.ArrayList"%>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1pageEncoding="ISO-88591"%>
<%@page import="final_project.beans.*" %>

<%@page import="final_project.dao.*" %>


<!DOCTYPE html>
<html><head>
<style> .w-100{ height: 75vh; width: }</style>

<meta charset="ISO-8859-1">
<title>Insert title here</title>
<%@include file="/commonfiles/common_css.html" %>
</head>

<body>
<%@include file="/jsp/common_header.html" %>
<div class="container mt-2">
<div id="carouselExampleCaptions" class="carousel slide">

<div class="carousel-indicators">
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="0" class="active" aria-
current="true" aria-label="Slide 1"></button>
<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="1" arialabel="Slide
2"></button>

<button type="button" data-bs-target="#carouselExampleCaptions" data-bs-slide-to="2" arialabel="Slide


3"></button>
</div>
<div class="carousel-inner">
<div class="carousel-item active">
<img src="/final_project/image/go1.jpg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

<h5>Efficient Services</h5>
<p> We make courier service easy in India.</p>
</div>
</div>

<div class="carousel-item">
<img src="/final_project/image/go2.jpg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Timely Deliverable</h5>

<p> We make courier service easy in India.</p>


</div>
</div>
<div class="carousel-item">
<img src="/final_project/image/go3.jpg" class="d-block w-100" alt="...">
<div class="carousel-caption d-none d-md-block">
<h5>Be the first to deliver</h5>
<p> We make courier service easy in India.<> </div></div> </div>

<button class="carousel-control-prev" type="button" data-bs-target="#carouselExampleCaptions" data-bs-


slide="prev">

<span class="carousel-control-prev-icon" aria-hidden="true"></span>


<span class="visually-hidden">Previous</span>
</button>
<button class="carousel-control-next" type="button" data-bs-target="#carouselExampleCaptions" data-bs-
slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="visually-hidden">Next</span> </button>

</div></div><!-- //container div --><%


CommonDao dao=new CommonDao();
ArrayList<Courierprovider>ProviderList=dao.viewProviders();

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ArrayList<Offer>offerList=dao.viewoffers();%>
<h1 style="text-align:center; color:red">Provider Details</h1>
<table class="table"><thead><tr>
<th scope="col">CompanyName</th>

<th scope="col">Email</th>
<th scope="col">Phone</th>
<th scope="col">City</th>
<th scope="col">Area</th>

<th scope="col">Address</th>
<th scope="col">OfferedServices</th></tr></thead><% for(Courierprovider fb:ProviderList{ %><tr>
<td><%=fb.getCompanyname() %></td>
<td><%=fb.getEmail() %></td>
<td><%=fb.getPhone() %></td>
<td><%=fb.getCity() %></td>
<td><%=fb.getArea() %></td>
<td><%=fb.getAddress() %></td>

<td> <a href="/final_project/jsp/offered_services.jsp?provider_id=<%=fb.getPid()%>">Click here to view


Services</a>

</td>

<td>
<marquee><%
for(Offer ofl: offerList){ %>

<%= ofl.getcontents() %>offer By <%=ofl.getCompanyname() %>|<%} %></marquee>


<%@ include file="/commonfiles/common_js.html" %>
<%@include file="/jsp/common_footer.html" %>
</body>

</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ABOUT US PAGE

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

<!DOCTYPE html><html><head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Courier Service</title>
<link rel="stylesheet" href="/final_project/css/aboutus.css">
<%@include file="/commonfiles/common_css.html" %><style>
.w-100{ height: 50vh;
}p}text-align: justify;

}</style></head><body>
<%@include file="/jsp/common_header.html" %>
<div style="height:100px;width: 100%; background-color: rgb(80,199,199);">
<h1 style="font:Yantramanav, sans-serif;font-weight: 900; font-size: 64px;margin-left:

200px;color:white;">ABOUT US</h1></div><div class="section">


<div class="container"><div class="content-section"><div class="title">
<h1>Quick Transport And Logistic Solutions<br>We make courier service easy in India</h1></div><div
class="content">
<h3>We are here to deliver your consignment and trust</h3</div>
<div class="button"><a href="">Read More</a></div></div></div>
</div><div class="row mt-4">

<div class="col-5"><img src="/final_project/image/go4.jpg" alt="Loading" style="height:


675px;width: 540px; margin-left: 20px;"></div>
<div class="col-6">
<h3 style="font:Yantramanav, sans-serif; font-size: 40px; font-weight: 900;margin-left:

40px;">ADVANCED AND AFFORDABLE COURIER SERVICES</h3>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

<p style="margin-left: 40px;">Ecom Express Limited is a leading end-to-end technology enabled logistics
solutions provider to the Indian retail and e-commerce industry. Headquartered in Gurugram, Haryana, Ecom
Express was incorporated in 2012 by T. A. Krishnan, Manju Dhawan, K. Satyanarayana and Late. Sanjeev Saxena
with decades of cumulative experience in the Indian logistics and distribution services, catering to e-
commerce marketplaces, platforms, D2C brands, and small and large online sellers.
Ecom Express uses cutting-edge technology and automated solutions to enable end-to-end logistics and
supply chain solutions across 29 states and 6 union territories with coverage in 2,700+ cities and towns serving
27,000+ pin cothroughout India. The company provides first-mile pickup, processing, network operation, lamile
delivery, reverse logistics and returns management under its flagship service – Ecom Express Services (EXS).
The company also offers a complete suite of supply chain, storage, and fulfillment solutions under its service
line – Ecom Fulfillment (EFS). To
enable a suite of digital solutions under its service line, Ecom Services (EDS), leExpress provides eKYC, cash
collection, and document management and verification services to BFSI, retail and other businesses in
India.Through the decade long journey, it has built scalable, reliable and automated infrastructure wit15
gateways, hubs, processing and fulfillment centers. The company also has 3,000+ delivery centers to reach
length and breadth of India. The company has served 1
<p style="color: white;">We are very passionate about what we do! We have everything that all is required to move
your goods safely and damage-free. So, choosing us means picking the smartest way to streamline the moving
operations in your business and focus on your core operations.</p><div class="row"><div class="col-1">
<h5 style="color: white; margin-left: 20px;">QUICK EASY PORTAL</h5>

<p style="color: white; margin-left: 20px;">


Hiring a truck is now just a click away, through our hassle free online booking system.</p></div></div><div
class="row"><div class="col-1">
<img src="transportapp\images\icon-4.png"></div><div class="col">
<h5 style="color: white; margin-left: 20px;">ADVANCE BOOKING</h5>
<p style="color: white; margin-left: 20px;">

Our vehicle availability is guaranteed on daily/weekly/monthly basis to ensure on-time


reporting.</p></div></div></div><div class="col-6" >
<img src="/final_project/image/go6.jpg" alt="Loading..." style="height: 525px; width: 550px; margin:
20px;"</div></div>
<script src="/final_project/js/validation.js"></script>
<%@include file="/jsp/common_footer.html" %>

<%@include file="/commonfiles/common_js.html" %></body>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

PROVIDER JSP
Provider Login Page
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-
1"%><!DOCTYPE html>
<html><head><meta charset="F-8">

<meta name="viewport" content="width=device-width, initial-scale=1.0">


<title>Courier Service</title>
<link rel="stylesheet" href="/final_project/css/aboutus.css">
<%@include file="/commonfiles/common_css.html" %><style>

.w-100{height: 50vh; }p{ text-align: justify;


} </style></head><body>
<%@include file="/jsp/common_header.html" %>
<div style="height:100px;width: 100%; background-color: rgb(80,199,199);">
<h1 style="font:Yantramanav, sans-serif;font-weight: 900; font-size: 64px;margin-left:
200px;color:white;">ABOUT US</h1></div> <div class="section"><div class="container">
<div class="content-section"><div class="title">
<h1>Quick Transport And

Logistic Solutions<br>
We make courier service easy in India</h1></div>
<div class="content"><h3>We are here to deliver your consignment and trust</h3> </div>
<div class="button"><a href="">Read More</a></div</div></div> </div>

<div class="row mt-4"><div class="col-5">


<img src="/final_project/image/go4.jpg" alt="Loading" style="height: 675px;width: 540px; margin-left:
20px;"></div>

<div class="col-6">
<h3 style="font:Yantramanav, sans-serif; font-size: 40px; font-weight: 900;margin-left:

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

40px;">ADVANCED AND AFFORDABLE COURIER SERVICES</h3>


<p style="margin-left: 40px;">Ecom Express Limited is a leading end-to-end technology enabled logistics
solutions provider to the Indian retail and e-commerce industry.
Headquartered in Gurugram, Haryana, Ecom Express was incorporated in 2012 by T. A. Krishnan, Manju
Dhawan, K. Satyanarayana and Late. Sanjeev Saxena with decades of cumulative experience in the Indian
logistics and distribution services, catering to e-commerce marketplaces, platforms, D2C brands, and small and
large online sellers. Ecom Express uses cutting-edge technology and automated solutions to enable end-to-
end logistics and supply chain solutions across 29 states and 6 union territories with coverage in 2,700+ cities and
towns serving 27,000+ pin codthroughout India. The company provides first-mile pickup, processing, network
operation,lastmile delivery, reverse logistics and returns management under its flagship service – Ecom
Express Services (EXS). The company also offers a complete suite of supply chain, storage, and fulfillment
solutions under its service line – Ecom FulfillmenServices (EFS). To enable a suite of digital solutions under its
service line, Ecom Digital
Services (EDS), leveraging its vast network and infrastructure across India, Ecom Express provides e-
KYC, cash collection, and document management and verification services to BFSI, retail and other businesses
in India.Through the company’decade long journey, it has built scalable, reliable and automated infrastructure
wit150 gateways, hubs, processing and fulfillment centers. The company also has 3,000+ delivery
centers to reach length and breadth of India. The company has serveover 1 lakh online sellers, delivering
nearly 1.6 billion shipments to 95% of Indian households. The company has robust technology, AI/ML and
data sciences capabilities supporting proprietary tech-stack and dedicated supply chain
environment for reliable customer experience. </p></div></div>

<div class="row mt-4" style="width: 100%; height: auto;background-color: #02228F;">


<div class="col-5" style="margin-left: 80px; ">
<h2 style="font:Yantramanav, sans-serif; font-size: 40px; font-weight: 900;color: white;marginleft: 20px;">WHY
WE NEED US?</h2>
<p style="color: white;">We are very passionate about what we do! We have everything that all is required to move
your goods safely and damage-free. So, choosing us means picking the smartest way to streamline the moving
operations in your business and focus on your core operations.</p><div class="row">
<div class="col-1">

<img src="transportapp\images\icon-1.png">
</div>
<div class="col">
<h5 style="color: white;margin-left: 20px;">FULL LOAD SERVICES</h5>

<p style="color: white; margin-left: 20px;">

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

We provide Full Truck load transportation services with varied type of trucks available with the click of a
button.</p></div></div>

<div class="row"><div class="col-1">


<img src="transportapp\images\icon-2.png"></div>
<div class="col"><h5 style="color: white; margin-left: 20px;">TRANSPARENT PRICING</h5>
<p style="color: white; margin-left: 20px;">

With our fare calculator, we instantaneously give you best possible rates online.</p> </div></div>
<div class="row">
<div class="col-1">
<img src="transportapp\images\icon-3.png"> </div>
<div class="col">
<h5 style="color: white; margin-left: 20px;">QUICK EASY PORTAL</h5>
<p style="color: white; margin-left: 20px;">
Hiring a truck is now just a click away, through our hassle free online book system.</p></div></div><div
class="row"><div class="col-1">
<img src="transportapp\images\icon-4.png"></div>
<div class="col">

<h5 style="color: white; margin-left: 20px;">ADVANCE BOOKING</h5>


<p style="color: white; margin-left: 20px;">
Our vehicle availability is guaranteed on daily/weekly/monthly basis to ensure on-time reporting.</p>
</div></div></div><div class="col-6" >
<img src="/final_project/image/go6.jpg" alt="Loading..." style="height: 525px; width: 550px; margin:
20px;"></div></div>
<script src="/final_project/js/validation.js"></script>
<%@include file="/jsp/common_footer.html" %>
<%@include file="/commonfiles/common_js.html" %>

</body></html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

PROVIDER HOME PAGE


<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@page import="final_project.beans.*" %>
<%@page import="final_project.dao.*" %>
<!DOCTYPE html><html><head>
<%@include file="/commonfiles/common_css.html" %>

<meta charset="ISO-8859-1">
<title>Provider homepage</title>
</head>
<style>

.gradient-custom { background: -webkit-linear-gradient(to right bottom, rgba(246, 211, 101, 1), rgba(253, 160, 133, 1));
background: linear-gradient(to right bottom, rgba(246, 211, 101, 1), rgba(253, 160, 133, 1))}
<div class="col-md-4 gradient-custom text-center text-white" style="border-top-left-radius: .5rem;
border-bottom-left-radius: .5rem;">
<img src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-cbg.webp" alt="Avatar"
class="img-fluid my-5" style="width: 80px;" />
<h5><%=providerObject.getCompanyname() %></h><p>User</p>
<div class="col-6 mb-3"><h6>Email</h6>

<p><%=providerObject.getEmail() %></p></div><div class="col-6 mb-3"


</div></div></div> </div> </div></div></div></section>
<script src="/final_project/js/validation.js"></script>
<%@include file="/commonfiles/common_js.html" %<%} %>

</body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

PROVIDER HEADER PAGE

<html>

<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title> <style>.nav-linkcolor:blue; font-size:20px;
font-family:cursive; dropdown-item{ color:red!important; font-size: 17px; font-family: cursive;
}</style></head><body><nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="/final_project/jsp/index.jsp">Home</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bstarget="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">

<ul class="navbar-nav me-auto mb-2 mb-lg-0">


<li class="nav-item"><a class="nav-link active" aria-current="page"
href="/final_project/provider/provider_home.jsp">Provider</a></li> <li class="nav-item"><a class="nav-link"
href="#">Link</a></li>
<li class="nav-item"><a class="nav-link" href="/final_project/provider/services.jsp">Services</a></li><li
class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" ariaexpanded="false"T
<<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/final_project/provider/offer.jsp">Offers</a></li>
<li><a class="dropdown-item" href="/final_project/provider/addemployee.jsp">Employee</a></li
<li><a class="dropdown-item" href="/final_project/provider/addjobs.jsp">Jobs</a></li>

<li><a class="dropdown-item" href="/final_project/provider/viewrequest.jsp">Booking


Request</a></li></ul></li<li class="nav-item">
<a class="nav-link" href="/final_project/Provider_Logout">Logout</</li>
</ul></div></div></nav></body></html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

PROVIDER OFFER PAGE


<html>
<head>

<meta charset="ISO-8859-1">
<title>Insert title here</title> <style>.nav-linkcolor:blue; font-size:20px; font-family:cursive; dropdown-item{
color:red!important;

font-size: 17px; font-family: cursive;


}</style></head><body>
<nav class="navbar navbar-expand-lg bg-body-tertiary">
<div class="container-fluid">
<a class="navbar-brand" href="/final_project/jsp/index.jsp">Home</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bstarget="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item"><a class="nav-link active" aria-current="page"
href="/final_project/provider/provider_home.jsp">Provider</a></li> <li class="nav-item"><a class="nav-link"
href="#">Link</a></li>
<li class="nav-item"><a class="nav-link" href="/final_project/provider/services.jsp">Services</a></li><li
class="nav-item dropdown">

<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" ariaexpanded="false"T


<<ul class="dropdown-menu">

<li><a class="dropdown-item" href="/final_project/provider/offer.jsp">Offers</a></li>


<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" ariaexpanded="false">
Dropdow</a><ul class="dropdown-menu">

<li><a class="dropdown-item" href="/final_project/provider/viewrequest.jsp">Booking


<a class="nav-link" href="/final_project/Provider_Logout">Logout</</li>
</ul></div></div></nav></body></html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

PROVIDER DETAILS PAGE


<html>
<head>

<meta charset="ISO-8859-1">
<title>Insert title here</title> <style>.nav-linkcolor:blue; font-size:20px; font-family:cursive; dropdown-item{
color:red!important; font-size: 17px; font-family: cursive;

}</style></head><body><nav class="navbar navbar-expand-lg bg-body-tertiary">


<div class="container-fluid"><a class="navbar-brand" href="/final_project/jsp/index.jsp">Home</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bstarget="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"><span class="navbar-
toggler-icon"></span></button>

<div class="collapse navbar-collapse" id="navbarSupportedContent">


<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item"><a class="nav-link active" aria-current="page"
href="/final_project/provider/provider_home.jsp">Provider</a></li> <li class="nav-item"><a class="nav-link"
href="#">Link</a></li>
<li class="nav-item"><a class="nav-link" href="/final_project/provider/services.jsp">Services</a></li><li
class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" ariaexpanded="false"T
<<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/final_project/provider/offer.jsp">Offers</a></li>
<li><a class="dropdown-item" href="/final_project/provider/addemployee.jsp">Employee</a></li

<li><a class="dropdown-item" href="/final_project/provider/addjobs.jsp">Jobs</a></li>


</ul></li> <li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" ariaexpanded="false">
Dropdow</a><ul class="dropdown-menu">
<li><a class="dropdown-item" href="/final_project/provider/viewrequest.jsp">Booking
<a class="nav-link" href="/final_project/Provider_Logout">Logout</</li>
</ul></div></div></nav></body>

</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

COURIER PROVIDER
<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<!DOCTYPE html>

<html><head><meta charset="ISO-8859-1">
<title>Courier Provider Page</title>
<link rel="stylesheet" href="/final_project/css/courierprovider_details.css">
<%@include file="/commonfiles/common_css.html" %>

</head><body style="background-color: green">


<%@include file="/jsp/common_header.html" %> <%
String message=(String)request.getAttribute("message");if (message!=null)
%><div class="alert alert-warning alert-dismissible fade show" role="alert">

<strong><%=message %></strong>
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div> <%} %><div class="row-200">
<div class="col-100"><form method="post" action="/final_project/Courier_Provider" class="needsvalidation"
novalidate><div class=" row justify-content-center mt-5">
<div class="col-4 "><div class= "mb-3">
<label for="pid" class="form-label">ProviderId</label><input type="text" class="form-control" id="pid"
name="pid" placeholder="Enter ProviderId" required>
<div class="invalid-feedback">recquired provider.</div></div>
<div class= "mb-3"><label for="userpass" class="form-label">Password</label>

<div class= "mb-3">


</i></button</div</div></div></form></div><div>
<script src="/final_project/js/validation.js"></script>
<%@include file="/jsp/common_footer.html" %>

<%@include file="/commonfiles/common_js.html" %>


</body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

PROVIDER SERVICE PAGE


<%@ page language="java" contentType="text/html; charset=ISO-8859-1pageEncoding="ISO-1"%>
<!DOCTYPE html><html><head>

<%@include file="/commonfiles/common_css.html" >


<title>login page</title>
</head><body><%@include file="/provider/provider_header.html" %><%
String id=(String)session.getAttribute("sessionKey");
String message=(String)request.getAttribute("error message"); if (message!=null){%>
<%-- <% h2 style="color:red"><%=message </h2>--%<div class="container">
<div class="alert alert-warning alert-dismissible fade show" role="alert"
<strong><%=message%></strong> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-
label="Close"></button</div><%} %>
<div class="container-fluid" style="background-color: cyan">
<span style="color:Red; font-size: 20px">Hello <%=id %></span</div>

<h1>Add Your services from here</h1><form method="post" action="/final_project/Service_Details" class="needs-


validation" novalidate><div class="row justify-content-center mt-2">
ItemName" required<div class="invalid-feedback">recquired itemname.</div></div>

<div class="mb-3"><label for="weight" class="form-label">Net Weight</label>


<input type="text" class="form-control" name="weight" id="weight" placeholder="Enter Weight"
required="required"><div class="invalid-feedback">required weight.</div></div>
<div class="mb-3"><label for="local">Local</label>
<input type="radio" name="type" value="local"><label for="outside">Outside</label>
<input type="radio" name="type" value="outside">

<div class="invalid-feedback">required type.</div></div><div class="mb-3">


<label for="charges" class="form-label">Charges</label>
<input type="text" class="form-control" id="charges" name="charges" placeholder="Enter Charges" required><div
<script src="/final_project/js/validation.js"></script>

<%@include file="/commonfiles/common_js.html

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

VIEW REQUEST PAGE

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

<%@page import="final_project.beans.*" %>


<%@page import="final_project.dao.*" %>
<%@page import="java.util.*" %><!DOCTYPE html>
<html><head><meta charset="ISO-8859-1">

<title>Request Book</title>
<%@include file="/commonfiles/common_css.html" %></head><body>
<%@include file="/provider/provider_header.html" %> <%
String pid=(String)session.getAttribute("sessionKey");ProviderDao dao=new ProviderDao();

ArrayList<BookcourierBean>bookList=dao.viewBookings(pid);%>
<h1 style="text-align:center; color:red">Bookings</h1>
<form method="post" action="/final_project/Request_confirmation">
<table class="table"> <thead> <tr><th scope="col">Serviceid</th>
<th scope="col">Pid</th>
<th scope="col">Message</th> <th scope="col">Date</th</tr></thead><% fo>r(BookcourierBean
bcb:bookList) {System.out.print(bcb.getMessage());

%><tr><th><input type="radio" name="id" value="<%=bcb.getServiceid() %>" ></th>


<th><%=bcb.getPid() %></th>
<th><%=bcb.getMessage() %></th>
<th><%=bcb.getDate() %></th></tr><%} %></tbody></table>
<textarea name="answer" class="form-control" required>Answer : </textarea>
<div class="text-center mt-4">
<%@include file="/commonfiles/common_js.html" %>
</body>

</htm

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADD JOBS PAGE

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

8859-1"%>
<!DOCTYPE html>
<html><head>
<meta charset="ISO-8859-1">

<%@include file="/commonfiles/common_css.html" %> <title>Job Provider</title>


</head><body>
<%@include file="/provider/provider_header.html" %> <h1>Jobs</h1>
<%String id=(String)session.getAttribute("sessionKey"); String message=(String)request.getAttribute("message"); if
(message!=null){%><div class="container">
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong><%=message %></strong> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-
label="Close"></butto</div><%} %>
<label for="lastdate" class="form-label">Last Date to Apply</label>

<input type="date" class="form-control" id="lastdate" name="lastdate" placeholder="Enter Last


Date" required><div class="invalid-feedback"> recquired lastdate. </div></div>
<div class="mb-3"><label for="qualification" class="form-label">Minimum Qualification</label>
<input type="text" class="form-control" id="qualification" name="qualification" placeholder="Enter Qualification"
required><div class="invalid-feedback"> recquired name.</div></div><div class="mb-3">
<label for="email" class="form-label"></label>
<div class="invalid-feedback"> recquired description.</div> </div>

<div class="text-center">
</div></div> </div></form></div>
<script src="/final_project/js/validation.js"></script>
<%@include file="/commonfiles/common_js.html" %></body>

</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADD EMPLOYEE PAGE


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

<html><head><%@include file="/commonfiles/common_css.html" %>


<title>Employee page</title></head><body>
<%@include file="/provider/provider_header.html" %> <%
String id=(String)session.getAttribute("sessionKey");String message=(String)request.getAttribute("message");if
(message!=null){%>
<div class="container">
<div class="alert alert-warning alert-dismissible fade show" role="alert">
<strong><%=message%></strong> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-
label="Close"></button></div><%} %>

<div class="container-fluid" style="background-color: cyan">


<span style="color:Red; font-size: 20px">Hello <%=id %></span></div>
<h1>Employee details is here.</h1>
<form method="post" action="/final_project/Employee_Details" class="needsvalidationnovalidate><div class="row
justify-content-center mt-2">
<div class="col-4"><div class="mb-3">
<label for="providerid" class="form-label">Provider Id</label>

<input type="text" class="form-control" id="providerid" value="<%=id %>" name="providerid" placeholder="Enter


ProviderId" required>
<div class="invalid-feedback"> recquired providerid </div></div> <div class="mb-3">

<label for="name" class="form-label">Name</label>


<input type="text" class="form-control" id="name" name="name" placeholder="Enter Name" required><div
class="invalid-feedback">recquired name.</div> </div> <div class= "mb-3"><label for="useremail" class="form-
label">EmailId</label>
<input type="text" class="form-control" id="useremail" name="useremail" placeholder="Enter EmailId"
required><div class="invalid-feedback">recquired useremail.
</div></div><div class= "mb-3">

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

<label for="userphone" class="form-label">Phoneno.</label>


<input type="text" class="form-control" id="userphone" name="userphone" placeholder="Enter
Phoneno" required>
<div class="invalid-feedback">

recquired phoneno.</div> </div><div class= " text-center def mb-4">


<select name="city" required><option value=" ">Select City</option>
<option value="1">Lucknow</option>
<option value="2">Kanpur</option>

<option value="3">Mathura</option>
<option value="4">Noida</option>
<option value="5">Ghaziabad</option>
<option selected disabled value=" ">Choose....</option>
<option>Choose...</option>
</select><div class="invalid-feedback">city require</div></div>
<div class="mb-3"><label for="address" class="form-label">Address</label>
<input type="text" class="form-control" name="address" id="address" placeholder="Enter Address"
required="required"><div class="invalid-feedback">required address.
</div></div>

<div class="mb-3"><label for="experience" class="form-label">Experience</label>


<input type="text" class="form-control" id="experience" name="experience" placeholder="Enter experience"
required>
<div class="invalid-feedback"> recquired experience. </div></div>
<div class="text-center"><button type="submit" class="btn ">submit</button>
</div></div></div</form></div>
<script src="/final_project/js/validation.js"></script>

<%@include file="/commonfiles/common_js.html" %>


</body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADMIN JSP

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADMIN LOGIN PAGE

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


8859-1"%>
<!DOCTYPE html>
<html>

<head>
<%@include file="/commonfiles/common_css.html" %>
<link rel="stylesheet" href="/final_project/css/admin_login.css">
<title>login page</title>
</head><body>
<%@include file="/jsp/common_header.html" %>
<h1>Login Form</h1><%
String message=(String)request.getAttribute("error message"); if (message!=null){%> <div class="container">

<div class="col-6"><div class="mb-3">


<label for="userid" class="form-label">UserID</label>
<input type="text" class="form-control" id="userid" name="userid" placeholder="User id here" required>
<div class="invalid-feedback"> recquired userid

</div>
</div>
<div class="mb-3"><label for="Password" class="form-label">Password</label>
<input type="text" class="form-control" name="userpass" id="userPass" placeholder="password here"
required="required"><div class="invalid-feedback">required password
</div></div>
</div></div></div></form></div>

</body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADMIN HOME PAGE

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

8859-1"%>
<%@page import="final_project.beans.*" %>
<%@page import="final_project.dao.*" %>
<!DOCTYPE html>

<html>
<head> <style> .gradient-custom background: #f6d365;
background: -webkit-linear-gradient(to right bottom, rgba(246, 211, 101, 1), rgba(253, 160, 133, 1)); background:
linear-gradient(to right bottom, rgba(246, 211, 101, 1), rgba(253, 160, 133, 1))} </style>
<%@include file="/commonfiles/common_css.html" %>
<meta charset="ISO-8859-1">
<title>Adminhomepage</title>

</head>
<body><%@include file="/admin/admin_header.html" %><% String id=(String)session.getAttribute("sessionKey");
if(id==null ||session.isNew())

{ request.setAttribute("error message","Unauthorized User");


RequestDispatcher rd=request.getRequestDispatcher("/admin/admin_login.jsp"); rd.forward(request, response);}
else{
%>
<div class="container-fluid" style="background-color: cyan">
<span style="color:Red; font-size: 20px">Hello <%=id %></span></div><%

Admin_Dao dao=new Admin_Dao();


Admin adminObject= dao.viewProfile(id); //Admin is bean%>
<section class="vh-100" style="background-color: #f4f5f7;">
<div class="container py-5 h-100">

<div class="row d-flex justify-content-center align-items-center h-100">

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

<div class="col col-lg-6 mb-4 mb-lg-0">


<div class="card mb-3" style="border-radius: .5rem;">
<div class="row g-0">
<div class="col-md-4 gradient-custom text-center text-white" style="border-top-left-radius: .5rem;
border-bottom-left-radius: .5rem;"> <img src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-
chat/avabg.webp" alt="Avatar" class="img-fluid my-5" style="width: 80px;" />
<h5>
<%=adminObject.getName() %></h5>
<p>Admin</p>

<a href="/final_project/admin/admin_editprofile.jsp"><i class="far fa-edit mb-5"></i></a>


<h6>Phone</h6>
<p><%=adminObject.getPhone() %></p>
</div>

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

</div
></div>
</div>
</div>
</section><%@include file="/commonfiles/common_js.html" %>
<%} %>
</body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADMIN EDIT PROFILE


<%@ page language="java" contentType="text/html; charset=ISO-8859-
1"pageEncoding="ISO-8859-1"%>
<%@page import="final_project.beans.*" %>
<%@page import="final_project.dao.*" %>
<!DOCTYPE html><html>
<head><meta charset="ISO-8859-1">
<%@include file="/commonfiles/common_css.html" %>
<link rel="stylesheet" href="/final_project/css/admin_editprofile.css">
<title>login page</title></head><body>
<%@include file="/admin/admin_header.html" %>
<h2>hello<adminId>here</h2><%
<div class="container">
final_project/Admin_EditProfile" class="needs-validation" novalidate>
<div class="row justify-content-center mt-2">
<div class="col-6"> <div class="mb-3">
<label for="useremail" class="form-label">User email</label>
<input type="text" class="form-control" id="useremail" name="useremail" value="<%=admin.getEmail()
%>" placeholder="User Email" required>
<div class="invalid-feedback"> recquired useremail. </div></div>
<div class="text-center"><button type="submit" class="btn ">submit</button>
</div></div></div></form></div>
<script src="/final_project/js/validation.js"></script>
<%@include file="/commonfiles/common_js.html" %><%} %></body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADMIN VIEW CONTACT

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


1pageEncoding="ISO-8859-1"%>
<%@page import="final_project.beans.*" %>
<%@page import="final_project.dao.*" %>
<%@page import="java.util.*" %<!DOCTYPE html>
<html><head>
<%@include file="/commonfiles/common_css.html" %>
<meta charset="ISO-8859-1">
<title>Insert title here</title></head><body>
<%@include file="/admin/admin_header.html" %><%
Admin_Dao dao=new Admin_Dao();
ArrayList<ContactusBean>contactusList=dao.viewcontactus();%>
<h1 style="text-align:center; color:yellow">AllContactus</h1>
<table class="table"><thead><tr><th scope="col">Name</th>
<th scope="col">EmailId</th>
<th scope="col">Phone</th>
<th scope="col">Question</th></tr></thead><tbody>
<%for (ContactusBean cb:contactusList){%><tr>
<td><%=cb.getName() %></td> <td><%=cb.getEmail() %></td>
<td><%=cb.getPhone() %></td>
<td><%=cb.getQuestion() %></td></tr><%} %>
</tbody></table>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

COMMON FILES
COMMON CSS
<link href="https://cdn.jsdelivr.net/npm
/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-
T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.9.0/css/all.min.css"
integrity="sha512-q3eWabyZPc1XTCmF+8/
LuE1ozpg5xxn7iO89yfSOd5
/oKvyqLngoNGsx8jq92Y8Exj
/IRxQbEC+FGSYxtk2oiw==" crossorigin
="anonymous" referrerpolicy="no-referrer" />

COMMON JS

commonfiles commonjs html


<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-
C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>

COMMON FOOTER

<!DOCTYPE html>
<html>
<head>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<footer class="bg-light text-center text-white">
<div class="container p-4 pb-0">
<section class="mb-4">
<a class="btn text-white btn-floating m-1" style="background-color: #3b5998;" href="#!"
role="button"
><i class="fab fa-facebook-f"></i></a> class="btn text-white btn-floating m-1"
style="background-color: #55acee;" href="#!" role="button"
><i class="fab fa-twitter"></i></a><a class="btn text-white btn-floating m-1"
style="background-color: #dd4b39;" href="#!" role="button"
><i class="fab fa-google"></i></a> <a class="btn text-white btn-floating m-1" style="background-
color: #ac2bac;" href="#!" role="button"
><i class="fab fa-instagram"></i></a>
</i>
</a>
</section>
</div
<div class="text-center p-3" style="background-color: rgba(0, 0, 0, 0.2);">
© 2023 Copyright:created By Aaditya Jaiswal
</div>
</footer>
</body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

COMMON HEADER

<style> .nav-link{ color:blue; font-size:17px; font-family:cursive;


}
.dropdown-item{ color: blue!important; font-size: 15px; font-family: cursive;
}
</style>
<body>
<nav class="navbar navbar-expand-lg sticky-top" style="background-color:lightblue">
<div class="container-fluid">
<a class="navbar-brand" href="/final_project/jsp/index.jsp"><i class='fas favihara'></i></a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-
bstarget="#navbarSupportedContent" aria-controls="navbarSupportedContent" ariaexpanded="false" aria-
label="Toggle navigation"> <span class="navbar-toggler-icon"></span></button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<li class="nav-item">
<a class="nav-link " aria-current="page" href="/final_project/jsp/aboutus.jsp">About
Us</a>
</li>
<li class="nav-item">
<a class="nav-link" href="/final_project/jsp/contactus.jsp">Contact Us</a></li>
<li class="nav-item">
<a class="nav-link" href="/final_project/jsp/feedback.jsp">Feedback</a></li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-
expanded="false">Registration

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

</a>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="/final_project/user/user_registration.jsp">User</a> </li>
<li><a class="dropdown-item" href="/final_project/provider/courierprovider_details.jsp">Courier
provider</a></li></ul> </li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bstoggle="dropdown" aria-
expanded="false">Career</a>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="/final_project/admin/admin_login.jsp">Admin</a></li>
<li><a class="dropdown-item" href="/final_project/user/user_login.jsp">User</a></li>
<li><a class="dropdown-item" href="/final_project/provider/provider_login.jsp">Provider</a>
</li>
</ul>
</li>
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown" aria-
expanded="false">
Enquiry</a>-->
</ul><form class="d-flex" role="search"><input class="form-control me-2" type="search"
placeholder="Search" aria-label="Search"><button class="btn btn-outline-success" type="submit">Search
</button>
</form>
</div>
</div>
</nav>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

USER JSP

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

USER LOGIN PAGE

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


1"%>
<!DOCTYPE html>
<html>
<head>
<%@include file="/commonfiles/common_css.html" %>
<link rel="stylesheet" href="/final_project/css/admin_login.css">
<title>login page</title>
</head>
<body>
<%@include file="/jsp/common_header.html" %>
<h1>User Form</h1>
<%String message=(String)request.getAttribute("error message"); if (message!=null){%>
<div class="container"><div class="alert alert-warning alert-dismissible fade show"
role="alert"><strong><%=message%></strong> <button type="button" class="btn-close" data-bs-
dismiss="alert" aria-label="Close"</button</div><%} %>
<form method="post" action="/final_project/User_login" class="needs-validation" novalidate>
</div></div><div class="mb-3">
<label for="Password" class="form-label">Password</label>
<input type="text" class="form-control" name="userpass" id="userPass" placeholder="password here"
required="required"><div class="invalid-feedback"> required password</div></div>
<script src="/final_project/js/validation.js"></script>
<%@include file="/commonfiles/common_js.html" %>
</body> </html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

USER HOME PAGE

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


1"pageEncoding="ISO-8859-1"%>
<%@page import="final_project.beans.*" %>
<%@page import="final_project.dao.*" %>
<!DOCTYPE html>
<html>
<head>
<%@include file="/commonfiles/common_css.html" %>
<meta charset="ISO-8859-1"><title>Userhomepage</title></head>
<head> <style>
.gradient-custom { background: #f6d365;background: -webkit-linear-gradient(to right bottom, rgba(246, 211,
101, 1), rgba(253, 160, 133, 1));background: linear-gradient(to right bottom, rgba(246, 211,
101, 1), rgba(253, 160, 133, 1))
}</style>
<body>
<%@include file="/user/user_header.html" %><% String id=(String)session.getAttribute("sessionKey");
if(id==null ||session.isNew())
{request.setAttribute("error message","Unauthorized User");
RequestDispatcher rd=request.getRequestDispatcher("/user/user_login.jsp");rd.forward(request,
response);}else{%><div class="container-fluid" style="background-color: cyan">
<span style="color:Red; font-size: 20px">Hello <%=id %></span>
</div>
<%UserDao dao=new UserDao();
User userObject= dao.viewProfile(id); //User is bean%>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

<section class="vh-100" style="background-color: #f4f5f7;">


<div class="container py-5 h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col col-lg-6 mb-4 mb-lg-0">
<div class="card mb-3" style="border-radius: .5rem;">
<div class="row g-0">
<div class="col-md-4 gradient-custom text-center text-white" style="border-top-left-radius:
.5rem; border-bottom-left-radius: .5rem;">
<img src="https://mdbcdn.b-cdn.net/img/Photos/new-templates/bootstrap-chat/ava1bg.webp"
alt="Avatar" class="img-fluid my-5" style="width: 80px;" />
<h5><%=userObject.getName() %>
</i>
</div>
<div class="col-md-8"><div class="card-body p-4">
<h6>Information</h6><hr class="mt-0 mb-4">
<div class="row pt-1"><div class="col-6 mb-3">
</div>
</div>
</div>
</div></div>
</div>
</section>
<%@include file="/commonfiles/common_js.html" %><%} %>
</body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

USER REGISTRATION PAGE

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


88591"%><!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>User Registration</title>
<link rel="stylesheet" href="/final_project/css/user_registration.css">
<%@include file="/commonfiles/common_css.html" %></head>
<body style= "background-color: #b3d1ff">
<%@include file="/jsp/common_header.html" %> <%String
message=(String)request.getAttribute("message"); if (message!=null){%><div class="alert alert-warning
alert-dismissible fade show" role="alert">
<strong><%=message %></strong> <button type="button" class="btn-close" data-bsdismiss="alert" aria-
label="Close"></button></div>
<%} %><div class="row-200">
<div class="col-100">
<form method="post" action="/final_project/User_Registration" class="needsvalidation"novalidate>
<div class="row justify-content-center mt-5"><div class="col-4 yellow"><div class= "mb3">
<label for="userid" class="form-label">UserId</label>
<input type="text" class="form-control" id="userid" name="userid" placeholder="Enter UserId"
required><div class="invalid-feedback"> recquired userid.</div></div>
<div class= "mb-3">
<label for="password" class="form-label">Password</label>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

<input type="text" class="form-control" id="password" name="password" placeholder="Enter Password"


required><div class="invalid-feedback"> recquired password.</div></div>
<div class= "mb-3"><label for="name" class="form-label">Name</label>
<input type="text" class="form-control" id="name" name="name" placeholder="Enter
Nrequired>
<div class="invalid-feedback">recquired name.</div></div>
<div class= "mb-3"><label for="userphone" class="form-label">Phone</label>
<input type="tel" class="form-control" id="userphone" name="userphone" placeholder="Enter Phone no"
required><div class="invalid-feedback"> recquired userphone</div></div><div class= " text-center def
mb-4">
>Address</label>
<textarea name="address" class="form-control" id="address" required></textarea>
<div class="invalid-feedback"> address require</div></div><div class="text-center mt-3">
<button type="submit" class="btn btn-primary"><i class="fas fa-sun">Submit
</i></button>
</div>
</div>
</div>
</form>
</div>
</div>
<script src="/final_project/js/validation.js"></script>
<%@include file="/jsp/common_footer.html" %>
<%@include file="/commonfiles/common_js.html" %>
</body>
</html

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

OFFERED SERVICES

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


1"pageEncoding="ISO-8859-1"%>
<%@page import="final_project.beans.*" %>
<%@page import="final_project.dao.*" %>
<%@page import="java.util.*" %>
<!DOCTYPE html>
<html><head>
<meta charset="ISO-8859-1">
<title>Offered Services</title>
<%@include file="/commonfiles/common_css.html" %>
</head><body>
<%@include file="/user/user_header.html" %> <%
<th scope="col">Charges</th></tr></thead>
<%String p_id=null; for(Service sl:serviceList{
p_id=sl.getProviderid(); %><tr> <td><%=sl.getProviderid(%></td> <td><%=sl.getItemname() %></td>
<td><%=sl.getWeight() %></td>
<td><%=sl.getType() %></td> <td><%=sl.getCharges() %></td> </tr><%} %></tbody>
</table><a href="/final_project/user/book_courier.jsp?pid=<%=p_id%>">Book Courier with Us</a>
<script src="/final_project/js/validation.js"></script>
<%@include file="/commonfiles/common_js.html" %></body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

BOOK COURIER

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


1"pageEncoding="ISO-8859-1"%>
<%@page import="final_project.beans.*" %>
<%@page import="final_project.dao.*" %>
<!DOCTYPE html>
<html>
<head>
<%@include file="/commonfiles/common_css.html" %>
<meta charset="ISO-8859-1">
<title>Book Courier</title>
</head>
<head>
<!-- <style> .gradient-custom { background: #f6d365;background: -webkit-linear-gradient(to right bottom,
rgba(246, 211,
101, 1), rgba(253, 160, 133, 1)); background: linear-gradient(to right bottom, rgba(246, 211, 101, 1),
rgba(253, 160, 133, 1))} </style>-->
<body>
%@include file="/user/user_header.html" %
<%
String id=(String)session.getAttribute("sessionKey");
if(id==null ||session.isNew()) {request.setAttribute("error message","Unauthorized User");
RequestDispatcher rd=request.getRequestDispatcher("/user/user_login.jsp"); rd.forward(request, response);}
else{
%>
<div class="container-fluid" style="background-color: cyan">

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

<span style="color:Red; font-size: 20px">Hello <%=id %>


</span>
</div>
<%UserDao dao=new UserDao();
String pid=request.getParameter("pid") ;//User is bean%>
<div class= "row justify-content-right mt-2" style="margin-top: 100px">
<h1 style= "text-align:center">Booking Form</h1>
<div class="col-5">
<img alt="page" src="/final_project/image/go6.jpg" width ="100%"></div>
<div class="col-5">
<div class="row justify-content-right mt-5">
<form method= "post" action="/final_project/Book_courier" class="needs-validation" novalidate>
<input type="hidden" name="pid" value="<%=pid%>">
<div class="mb-4">
<label>Message</label>
</div>
</div>
</div>
</div>
%@include file="/commonfiles/common_js.html" %
<%} %>
</body>
</html>

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

BEAN.JAVA
-----------------

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADMIN

package final_project.beans; public class Admin { private String admin_id, admin_pass, name, email, phone;
public String getAdmin_id() { return admin_id;
} public void setAdmin_id(String admin_id) { this.admin_id = admin_id; }public String getAdmin_pass() {
return admin_pass;
} public void setAdmin_pass(String admin_pass) { this.admin_pass = admin_pass; }public String getName()
{ return name; } public void setName(String name) { this.name = name; }public String getEmail() { return
email; }public void setEmail(String email) { this.email = email;
} public String getPhone() { return phone; }public void setPhone(String phone) { this.phone = phone;
}
public Admin(String admin_id, String admin_pass, String name,
String email, String phone) { super(); this.admin_id = admin_id; this.admin_pass = admin_pass; this.name =
name; this.email = email; this.phone = phone;
}public Admin(String name, String email, String phone) { super(); this.name = name; this.email = email;
this.phone = phone; }public Admin() { super();

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

BOOK COURIER

package final_project.beans; import java.sql.Date; public class BookcourierBean {


// Serviceid, Pid, message, userid, date String Pid, message, userid ,answer,status; int Serviceid; String date;
public String getStatus() { return status;
} public void setStatus(String status) { this.status = status;
}
public BookcourierBean(String message, String userid, String answer, String status, String date) { super();
this.message = message; this.userid = userid; this.answer = answer; this.status = status; this.date = date;
}
public BookcourierBean(String pid, String message, String userid, String answer, int serviceid, String date) {
super(); Pid = pid; this.message = message; this.userid = userid; this.answer = answer; Serviceid = serviceid;
this.date = date;
}
public BookcourierBean(String pid, String message, String userid, int serviceid, String date) { super(); Pid =
pid; this.message = message; this.userid = userid; Serviceid = serviceid; this.date = date;
} public int getServiceid() { return Serviceid;
} public void setServiceid(int serviceid) {
Serviceid = serviceid;
} public String getPid() { return Pid; } public void setPid(String pid) {
Pid = pid; } public String getMessage() { return message; } public void setMessage(String message) {
this.message = message;
} public String getUserid() { return userid; } public void setUserid(String userid) { this.userid = userid;
} public String getDate() { return date; } public void setDate(String date) { this.date = date;
}
public BookcourierBean(String pid, String message, String userid, String date) { super(); Pid = pid;
this.message = message; this.userid = userid; this.date = date;
} public BookcourierBean(String userid, String answer) { super(); this.userid = userid; this.answer = answer;

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

} public String getAnswer() { return answer;


} public void setAnswer(String answer) { this.answer = answer;

CONTACTUS package final_project.beans; import java.sql.Date; public class


ContactusBean {
//serial_number, name, email, phone, question, date private int serialno; private String
name,email,phone,question; private Date date; public int getSerialno() { return serialno;
} public void setSerialno(int serialno) { this.serialno = serialno;
} public String getName() { return name;
}public void setName(String name) { this.name = name;
} public String getEmail() { return email; }public void setEmail(String email) { this.email = email;
}public String getPhone() { return phone;
} public void setPhone(String phone) { this.phone = phone;
}public String getQuestion() { return question;
} public void setQuestion(String question) { this.question = question; }public Date getDate() { return date;
}public void setDate(Date date) { this.date = date;
}
public ContactusBean(String name, String email, String phone,
String question, Date date) { this.name = name; this.email = email; this.phone = phone; this.question =
question; this.date = date;
}}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

COURIER PROVIDER
package final_project.beans; import java.sql.Date; public class Courierprovider {
//pid, password, companyname, email, phone, city, area, address;
private String pid,password,companyname, email,phone,city , area, address; public String getPid() { return
pid; } public void setPid(String pid) { this.pid = pid;
} public String getPassword() { return password;
} public void setPassword(String password) { this.password = password;
} public String getCompanyname() { return companyname;
} public void setCompanyname(String companyname) { this.companyname = companyname;
} public String getEmail() { return email; }public void setEmail(String email) { this.email = email; }public
String getPhone() { return phone; }public void setPhone(String phone) { this.phone = phone;
} public String getCity() { return city;
}public void setCity(String city) { this.city = city; }public String getArea() { return area;
}public void setArea(String area) { this.area = area; }public String getAddress() { return address;
}public void setAddress(String address) { this.address = address;
}
public Courierprovider(String pid, String password, String companyname, String email, String phone, String
city, String area, String address) { super(); this.pid = pid; this.password = password; this.companyname =
companyname; this.email = email; this.phone = phone; this.city = city; this.area = area; this.address =
address;
}
public Courierprovider(String companyname, String email,
String phone) { super(); this.companyname = companyname; this.email = email; this.phone = phone;
} public Courierprovider() { super();
}}
EMPLOYEE

package final_project.beans; import java.sql.Date; public class Employee { private int serialno;

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

private String pid, name, email, phone, city, address, destination, experience; private Date date; public int
getSerialno() { return serialno;
} public void setSerialno(int serialno) { this.serialno = serialno; }public String getPid() { return pid; } public
void setPid(String pid) { this.pid = pid; }public String getName() { return name;
}public void setName(String name) { this.name = name;
}public String getEmail() {
return email; }public void setEmail(String email) { this.email = email; }public String getPhone() { return
phone; } public void setPhone(String phone) { this.phone = phone;
} public String getCity() { return city;
}public void setCity(String city) { this.city = city; }public String getAddress() { return address;
}public void setAddress(String address) { this.address = address; }public String getDestination() { return
destination;
}public void setDestination(String destination) { this.destination = destination;
} public String getExperience() { return experience;
} public void setExperience(String experience) { this.experience = experience; }public Date getDate() {
return date;
}public void setDate(Date date) { this.date = date;
}
public Employee(String pid, String name, String email, String phone, String city, String address,
String destination, String experience, Date date) { super(); this.pid = pid; this.name = name; this.email =
email; this.phone = phone; this.city = city; this.address = address; this.destination = destination;
this.experience = experience; this.date = date;
}}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

FEEDBACK

package final_project.beans; import java.sql.*; public class FeedbackBean


{
//id, name, email, rating, remarks, date private int id; private String name,email,rating,remark; private Date
date; public int getId() { return id; } public void setId(int id) { this.id = id; }public String getName() { return
name;
}public void setName(String name) { this.name = name; }public String getEmail() { return email; }public
void setEmail(String email) { this.email = email;
}public String getRating() {
return rating;
}public void setRating(String rating) { this.rating = rating;
} public String getRemark() { return remark;
}public void setRemark(String remark) { this.remark = remark; }public Date getDate() { return date;
}public void setDate(Date date) { this.date = date;
}
public FeedbackBean(String name, String email, String rating,
String remark, Date date) { this.name = name; this.email = email; this.rating = rating; this.remark = remark;
this.date = date;
} public FeedbackBean() {
}}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

SERVICE
package final_project.beans; import java.sql.Date; public class Service {
//providerid, itemname, weight, type, charges private String providerid, itemname, weight, type, charges;
private Date date; public String getProviderid() { return providerid;
} public void setProviderid(String providerid) { this.providerid = providerid; }public String getItemname() {
return itemname;
}public void setItemname(String itemname) { this.itemname = itemname; }public String getWeight() { return
weight;
} public void setWeight(String weight) { this.weight = weight; }public String getType() { return type;
}public void setType(String type) { this.type = type;
}public String getCharges() { return charges;
} public void setCharges(String charges) { this.charges = charges;
} public Date getDate() { return date;
}public void setDate(Date date) { this.date = date;
}
public Service(String providerid, String itemname, String weight, String type, String charges) { super();
this.providerid = providerid; this.itemname = itemname; this.weight = weight; this.type = type; this.charges =
charges;
}
}

package final_project.beans; import java.sql.Date; public class User


{
//serial_number, name, email, phone, question, date private String userid,password, name,phone,city ,address;
private Date date; public String getUserid() { return userid;
} public void setUserid(String userid) { this.userid = userid;
} public String getPassword() { return password;

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

} public void setPassword(String password) { this.password = password;


} public String getName() { return name;
}
public void setName(String name) { this.name = name; } public String getPhone() { return phone; } public
void setPhone(String phone) { this.phone = phone;
} public String getCity() { return city; } public void setCity(String city) { this.city = city; } public String
getAddress() { return address; } public void setAddress(String address) { this.address = address;
} public Date getDate() { return date;
} public void setDate(Date date) { this.date = date;
}
public User(String userid, String password, String name, String phone, String city, String address, Date date)
{ this.userid = userid; this.password = password; this.name = name; this.phone = phone; this.city = city;
this.address = address; this.date = date;
} public User(String name, String phone, String city) { super(); this.name = name; this.phone = phone;
this.city = city;
} public User() { super();
}}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

DAO JAVA
----------

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADMIN
package final_project.dao; import java.sql.*; import java.util.*; import final_project.beans.*; import
final_project.dbutils.*; public class Admin_Dao
{

//Admin view profile public Admin viewProfile(String id)


{
Connection conn=DBConnection.openConnection();
String selectQuery="select * from admin_details where admin_id=?";
PreparedStatement ps=null;
ResultSet rs=null; Admin ad=null;
try {
ps=conn.prepareStatement(selectQuery); ps.setString(1, id);
rs=ps.executeQuery(); rs.next();
String name=rs.getString("name"); //column name
String email=rs.getString("email"); String phone=rs.getString("phone");
ad=new Admin(name , email, phone);

}catch(SQLException se)
{
se.printStackTrace();
}
finally {
try { if(rs!=null)
rs.close(); if(ps!=null) ps.close();
if(conn!=null) conn.close();
}catch(SQLException se)
{

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

se.printStackTrace();
}
}
return ad; //returning admin bean object
} //method close

//Admin Login Method public boolean adminLogin(String id ,String pass)


{
String selectQuery="select * from admin_details where admin_id=? and admin_pass=?";
Connection conn=DBConnection.openConnection();

PreparedStatement ps=null; ResultSet rs=null;


try {
ps=conn.prepareStatement(selectQuery); ps.setString(1, id);
ps.setString(2, pass);

try { if(rs!=null) rs.close();


if(ps!=null) ps.close(); if(conn!=null)
conn.close();
}catch(SQLException se)
{
se.printStackTrace();
}

return false;
}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

COMMON DAO

package final_project.dao; import final_project.beans.ContactusBean; import


final_project.beans.Courierprovider; import final_project.beans.FeedbackBean; import
final_project.beans.Jobs; import final_project.beans.Offer; import final_project.beans.Service; import
final_project.dbutils.DBConnection; import java.sql.*; import java.util.*; public class CommonDao {
Connection conn=DBConnection.openConnection();String selectQuery="select * from
courierprovider_details where city=?";
PreparedStatement ps=null;
ResultSet rs=null;
Courierprovider ad=null; //show database page start from here
{
se.printStackTrace();
}
finally {
try { if(rs!=null)
rs.close(); if(ps!=null) ps.close();
if(conn!=null) conn.close(); }catch(SQLException se)
{
se.printStackTrace();
}
}
return providerList; //returning admin bean object
} //method close

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

VIEWOFFERS

public ArrayList<Offer>viewoffers()
{
Connection conn=DBConnection.openConnection();
Offer jb=null;
ArrayList<Offer>offerList=new ArrayList<>();
PreparedStatement ps=null; ResultSet rs=null;
try {
String select_query="select cp.companyname, ofl.contents,ofl.posted from courierprovider_details
cp,offer_details ofl where cp.pid=ofl.posted"; ps=conn.prepareStatement(select_query);
rs=ps.executeQuery(); while(rs.next()==true) {
String contents=rs.getString("contents");
// id, contents, posted jb=new Offer(contents, posted);//creating object using one
//fetched record
//adding bean class object into Arraylist
se.printStackTrace();

if(rs!=null) rs.close();
if(ps!=null) ps.close(); if(conn!=null)
conn.close();
}catch(SQLException se)
{
se.printStackTrace();
}}
return offerList;
}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

VIEW PROVIDERS
public ArrayList<Courierprovider>viewProviders()
{
Connection conn=DBConnection.openConnection();
Courierprovider
fb=null;ArrayList<Courierprovider>ProviderList=new ArrayList<>();
PreparedStatement ps=null;
ResultSet rs=null;//pid, password, companyname,
email, phone, city, area, address
try {
String select_query="select * from courierprovider_details"; ps=conn.prepareStatement(select_query);
rs=ps.executeQuery();
while(rs.next()==true) {
String name=rs.getString("pid");//column name
//id, name, email, rating, remarks, date
String password=rs.getString("password");
String companyname=rs.getString("companyname");
String email=rs.getString("email");
String phone=rs.getString("phone");
String city=rs.getString("city");
String area=rs.getString("area"); String
address=rs.getString("address");
fb=new Courierprovider(name, password, companyname, email, phone, city, area, address);//creating object
using one
ProviderList.add(fb);

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

}
}catch(SQLException se)
{
se.printStackTrace();
finally {
try { if(rs!=null) rs.close();
if(ps!=null) ps.close(); if(conn!=null)
conn.close();
}catch(SQLException se)
{
se.printStackTrace();
}}
return ProviderList;
}

FEEDBACKBEAN

public boolean addFeedBack(FeedbackBean fb)


{
Connection conn=DBConnection.openConnection(); //load driver and connection creation
PreparedStatement ps=null; //to carry query to database
try {
String insertQuery="insert into feedback( name, email, rating, remarks, date)values(?,?,?,?,?)";
ps=conn.prepareStatement(insertQuery); ps.setString(1, fb.getName()); ps.setString(2, fb.getEmail());
ps.setString(3, fb.getRating()); ps.setString(4, fb.getRemark());
ps.setDate(5, fb.getDate()); System.out.println(ps);
int row= ps.executeUpdate();//insert //update //delete if(row>0)
return true;

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

}
catch(SQLException se)
{
se.printStackTrace();
}
finally { if(ps!=null && conn!=null)
try { ps.close();
} catch (SQLException e) {

e.printStackTrace();
}
} return false;

if(row>0) return true; } catch(SQLException se)


{ se.printStackTrace();
}
finally { if(rs!=null && conn!=null)
try { rs.close();
} catch (SQLException e) {

e.printStackTrace();
}
}
return false;
}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

PROVIDER DAO

package final_project.dao; import java.sql.Connection; import java.sql.PreparedStatement; import


java.sql.ResultSet; import java.sql.SQLException; import java.util.ArrayList; import final_project.beans.*;
import final_project.dbutils.DBConnection; public class ProviderDao {
//VIEW BOOKINGS BEAN

public ArrayList<BookcourierBean>viewBookings(String pid)


{
ArrayList<BookcourierBean>bookList=new ArrayList<>();
Connection conn=DBConnection.openConnection();
String selectQuery="select * from bookcourier_details where pid=? and status is NULL";
PreparedStatement ps=null;
ResultSet rs=null;
Courierprovider ad=null; //show database page start from here BookcourierBean bc=null;
try {
ps=conn.prepareStatement(selectQuery); ps.setString(1, pid); System.out.println(ps);
rs=ps.executeQuery();
while(rs.next())
{
String message=rs.getString("message"); //c-olumn name
String userid=rs.getString("userid");
String date=rs.getString("date"); String
Serviceid=rs.getString("Serviceid"); int srid=Integer.parseInt(Serviceid);
System.out.println("in dao class method "+message);
bc=new BookcourierBean(pid, message, userid, srid, date);bookList.add(bc);
}}catch(SQLException se)
{

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

se.printStackTrace();
}
finally {
try { if(rs!=null)
rs.close(); if(ps!=null) ps.close();
if(conn!=null)
conn.close();
}catch(SQLException se)
{
se.printStackTrace();
}
}

if(row>0) return true;


}
catch(SQLException c)
{
c.printStackTrace();
}
finally {
if(ps!=null && conn!=null)
try { ps.close();
} catch (SQLException c) {

c.printStackTrace();
} } return false;

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

REGISTER

public boolean register(User ub) {


Connection conn=DBConnection.openConnection();
PreparedStatement ps=null; //to carry query to database
try {
String insertQuery="insert into user_registration(userid, password, name, phone, city,
address)values(?,?,?,?,?,?)"; ps=conn.prepareStatement(insertQuery); ps.setString(1,
ub.getUserid()); ps.setString(2, ub.getPassword());
int row= ps.executeUpdate();//insert //update //delete
if(row>0) return true;
}
catch(SQLException se)
{
se.printStackTrace();
} finally { if(ps!=null && conn!=null)
try {
ps.close();
}
catch (SQLException e)
{
e.printStackTrace();
}
}
return false;
}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

SERVLET
-------------

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

ADMIN SERVLET
EDIT PROFILE

package final_project.admin.servlet;

import java.io.IOException; import javax.servlet.ServletException; import


javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import
javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import
javax.servlet.http.HttpSession;

import final_project.dao.Admin_Dao;

/**
Servlet implementation class Admin_EditProfile
*/
@WebServlet("/Admin_EditProfile") public class Admin_EditProfile extends HttpServlet { private static
final long serialVersionUID = 1L;

/**
@see HttpServlet#HttpServlet()
*/
public Admin_EditProfile() { super();
// TODO Auto-generated constructor stub
}

/**

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

@see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)


*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException,
IOException {
// TODO Auto-generated method stub response.getWriter().append("Served at:
").append(request.getContextPath()); }
/**
@see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
String email=request.getParameter("email");

String phone=request.getParameter("phone");

HttpSession hs=request.getSession(false); //it return reference of existing session


String id=(String)hs.getAttribute("sessionKey");
if(status>0)
{

response.sendRedirect("/final_project/src/main/webapp/admin/admin_home.jsp");
}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

LOGIN

package final_project.admin.servlet; import java.io.IOException; import javax.servlet.RequestDispatcher;


import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import
javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import
javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import final_project.dao.*;
/**
Servlet implementation class Login
*/
@WebServlet("/Admin_login") public class Admin_login extends HttpServlet { private static final long
serialVersionUID = 1L;

public Admin_login() {
}/**
@see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException,
IOException {

response.getWriter().append("Served at: ").append(request.getContextPath());


}

/**
@see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

String id=request.getParameter("userid").trim();
//System.out.println("id is " +id);
String pass=request.getParameter("userpass");
//System.out.println("password is" +pass);

Admin_Dao dao=new Admin_Dao(); boolean status=dao.adminLogin(id,pass);


if(status==true)
{
HttpSession hs=request.getSession();//it will create a new session
//HttpSession hs=request.getSession();
System.out.println(hs.getId());// it will return a unique session id

hs.setAttribute("sessionKey" ,id );//binding admin id in a session

response.sendRedirect("/final_project/admin/admin_home.jsp") ;
}
else {
//response.sendRedirect("/test/jsp/login.jsp");
request.setAttribute("error message"," invalid id/password");
RequestDispatcher
rd=request.getRequestDispatcher("/admin/admin_login.jsp");
rd.forward(request, response);
}
}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

LOGOUT

package final_project.admin.servlet; import java.io.IOException; import javax.servlet.RequestDispatcher;


import javax.servlet.ServletException; import javax.servlet.annotation.WebServlet; import
javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import
javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import final_project.dao.*;
/**
Servlet implementation class Login
*/
@WebServlet("/Admin_login") public class Admin_login extends HttpServlet { private static final long
serialVersionUID = 1L;

/**
@see HttpServlet#HttpServlet()
*/
public Admin_login() {
}/**
@see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException,
IOException {

response.getWriter().append("Served at: ").append(request.getContextPath());


}

/**
@see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

protected void doPost(HttpServletRequest request, HttpServletResponse response)


throws ServletException, IOException {
String id=request.getParameter("userid").trim();
//System.out.println("id is " +id);
String pass=request.getParameter("userpass");
//System.out.println("password is" +pass);

Admin_Dao dao=new Admin_Dao(); boolean status=dao.adminLogin(id,pass);


/*if(id.equalsIgnoreCase("Aaditya")&& pass.equals("Lucknow"))
{
response.sendRedirect("/final_project/admin/admin_home.jsp")
;
if(status==true)

hs.setAttribute("sessionKey" ,id );//binding admin id in a session

response.sendRedirect("/final_project/admin/admin_home.jsp")
else {
//response.sendRedirect("/test/jsp/login.jsp");
request.setAttribute("error message"," invalid id/password");
RequestDispatcher
rd=request.getRequestDispatcher("/admin/admin_login.jsp");
rd.forward(request, response);
}

}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

PROVIDER SERVLET

package final_project.provider.servlet; import java.io.IOException; import


javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import
javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import
javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;
import final_project.beans.Jobs; import final_project.dao.ProviderDao;

/**
Servlet implementation class Addjobs
*/
@WebServlet("/Addjobs")
public class Addjobs extends HttpServlet { private static final long serialVersionUID =
1L;

/**
@see HttpServlet#HttpServlet()
*/
public Addjobs() { super();
// TODO Auto-generated constructor stub
}
/**
@see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/

}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

protected void doGet(HttpServletRequest request, HttpServletResponse response)


throws ServletException, IOException { // TODO Auto-generated method stub
response.getWriter().append("Served at: ").append(request.getContextPath());
}

/**
@see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
//serial_number, providerid, vacancies, lastdate, min qualification, email, description,
postdate protected void doPost(HttpServletRequest request, HttpServletResponse
response) throws ServletException, IOException {
String providerid=request.getParameter("providerid");
//System.out.println(" name is " +name);
String postname=request.getParameter("postname");

String description=request.getParameter("description");
java.util.Date d=new java.util.Date(); long dt=d.getTime();
//conversion from java date to sqldate java.sql.Date sqldate=new
java.sql.Date(dt);
Jobs j=new Jobs(providerid, vacancies,lastdate, qualification, email, description, sqldate);
ProviderDao dao=new ProviderDao(); boolean status= dao.addjobs(j); if(status==true)
{
request.setAttribute(" error message"," Thanks for taking services");
RequestDispatcher
rd=request.getRequestDispatcher("/provider/addjobs.jsp"); rd.forward(request,
response);

}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

COURIER PROVIDER

package final_project.provider.servlet; import java.io.IOException; import


javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import
javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import
javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;
import final_project.beans.Courierprovider; import final_project.dao.ProviderDao;

/**
@see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
// TODO Auto-generated method stub
response.getWriter().append("Served at: ").append(request.getContextPath()); }
/**
@see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String userid=request.getParameter("pid");
//System.out.println(" name is:" + name);
String password=request.getParameter("userpass");
String name=request.getParameter("companyname");
String email=request.getParameter("useremail");

}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

//System.out.println(" email is:" + email);


String phone=request.getParameter("userphone");
String city=request.getParameter("city");
//System.out.println(" rate is:" + rate);
String area=request.getParameter("userarea");
String address=request.getParameter("address");
//System.out.println(" remark is" + remark);
java.util.Date d=new java.util.Date();
long dt=d.getTime();
//conversion from java date to sqldate java.sql.Date
sqldate=new java.sql.Date(dt);
Courierprovider pb=new Courierprovider(userid, password, name, email, phone, city, area,
address);
ProviderDao dao =new ProviderDao(); boolean status= dao.registration(pb);
if(status==true) {
//response.sendRedirect("/test/jsp/login.jsp");
request.setAttribute("message","Registration done Successfully. Please Login!");
RequestDispatcher
rd=request.getRequestDispatcher("/provider/courierprovider_details.jsp");
rd.forward(request, response);
}
}

}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

EMPLOYEE DETAILS
package final_project.provider.servlet; import java.io.IOException; import
javax.servlet.RequestDispatcher; import javax.servlet.ServletException; import
javax.servlet.annotation.WebServlet; import javax.servlet.http.HttpServlet; import
javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse;
import final_project.beans.Employee; import final_project.dao.ProviderDao;

/**
Servlet implementation class Employee_Details
*/
@WebServlet("/Employee_Details")
public class Employee_Details extends HttpServlet { private static final long
serialVersionUID = 1L;
/**
@see HttpServlet#HttpServlet()
*/
public Employee_Details() {
super();
// TODO Auto-generated constructor stub
}/**
@see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws
ServletException, IOException {
// TODO Auto-generated method stub
response.getWriter().append("Served at: ").append(request.getContextP

}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

protected void doPost(HttpServletRequest request, HttpServletResponse response) throws


ServletException, IOException {
String providerid=request.getParameter("providerid");
//System.out.println(" name is " +name);
String name=request.getParameter("name");
//System.out.println(" email is" +email);
String useremail =request.getParameter("useremail");
String userphone=request.getParameter("userphone");
String city=request.getParameter("city");
String address=request.getParameter("address");
//System.out.println(" phone is" +phone);
String destination=request.getParameter("destination");
//System.out.println(" query is" +qer);
String experience=request.getParameter("experience")
java.util.Date d=new java.util.Date(); long dt=d.getTime();
//conversion from java date to sqldate java.sql.Date sqldate=new java.sql.Date(dt);
Employee e=new Employee(providerid, name, useremail, userphone, city, address,
destination, experience, sqldate);
ProviderDao dao=new ProviderDao(); boolean status= dao.addemployee(e);
if(status==true) {
request.setAttribute(" message"," Thanks ");
RequestDispatcher
rd=request.getRequestDispatcher("/provider/addemployee.jsp"); rd.forward(request, response);
}
}

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

DATABASE
--------

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

DATABASE
MySql

Table structure for table `admin_details`


--

DROP TABLE IF EXISTS `admin_details`;


/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `admin_details` (
`admin_id` varchar(45) NOT NULL,
`admin_pass` varchar(45) NOT NULL,
`name` varchar(45) NOT NULL,
`email` varchar(45) NOT NULL,
`phone` varchar(10) NOT NULL,
PRIMARY KEY (`admin_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admin_details`

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

--

LOCK TABLES `admin_details` WRITE;


/*!40000 ALTER TABLE `admin_details` DISABLE KEYS */;
INSERT INTO `admin_details` VALUES
('admin','admin','Aaditya','aadityajaiswal@gmail.com','7634756783');
/*!40000 ALTER TABLE `admin_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `bookcourier_details`
--

DROP TABLE IF EXISTS `bookcourier_details`;


/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `bookcourier_details` (
`Serviceid` int NOT NULL AUTO_INCREMENT,
`Pid` varchar(45) NOT NULL,
`message` varchar(255) NOT NULL,
`userid` varchar(45) NOT NULL,
`date` varchar(10) DEFAULT NULL,
`status` varchar(45) DEFAULT NULL,
`answer` varchar(45) DEFAULT NULL,
PRIMARY KEY (`Serviceid`)

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8mb4


COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `bookcourier_details`
--

LOCK TABLES `bookcourier_details` WRITE;


/*!40000 ALTER TABLE `bookcourier_details` DISABLE KEYS */;
INSERT INTO `bookcourier_details` VALUES (1,'adi03','Want to courier','user1','2023-
1111','confirmed','Answer : request is confirmed'),(3,'adi03','Want to sent courier','user1','2023-
11-28',NULL,NULL);
/*!40000 ALTER TABLE `bookcourier_details` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `contact`
--

DROP TABLE IF EXISTS `contact`;


/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact` (
`serial_number` int NOT NULL AUTO_INCREMENT,

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

`name` varchar(45) NOT NULL,


`email` varchar(45) NOT NULL,
`phone` varchar(10) NOT NULL,
`question` varchar(255) NOT NULL,
`date` date NOT NULL,
PRIMARY KEY (`serial_number`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8mb4
COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `contact`
--

LOCK TABLES `contact` WRITE;


/*!40000 ALTER TABLE `contact` DISABLE KEYS */;
INSERT INTO `contact` VALUES
(1,'Aakashl','aakash03@gmail.com','75875987','hefbghrebv','2023-09-
25'),(2,'Aaditya03','aadityajaiswalaj3200@gmail.com','6546536535','iubib hbuijbuij iuhuij ipuh','2023-
09-28'),(3,'Aaditya03','aadityajaiswalaj3200@gmail.com','6546536535','iubib hbuijbuij iuhuij
ipuh','2023-09-
28'),(4,'Aditya003','holedeep003@gmail.com','8840227344','okmfvigtnv jfnvoir','2023-09-
28'),(5,'aaa','aaa@gmail.com','8840227344','uyfyt ygfg g','2023-10-02');
/*!40000 ALTER TABLE `contact` ENABLE KEYS */;
UNLOCK TABLES;

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

--
-- Table structure for table `courierprovider_details`
--

DROP TABLE IF EXISTS `courierprovider_details`;


/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `courierprovider_details` (
`pid` varchar(45) NOT NULL,
`password` varchar(45) NOT NULL,
`companyname` varchar(45) NOT NULL,
`email` varchar(45) NOT NULL,
`phone` varchar(45) NOT NULL,
`city` varchar(45) NOT NULL,
`area` varchar(255) NOT NULL,
`address` varchar(255) NOT NULL,
PRIMARY KEY (`pid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `courierprovider_details`
--

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

SCREENSHOTS

ABOUT US PAGE

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

INDEX PAGE

USER HOME PAGE

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

CONTACT US

FEEDBACK

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

USER REGISTRATION

PROVIDER REGISTRATION

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

JOBS VAC FORM

OFFERS

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

SERVICES

SHOW JOBS

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

EMPLOYEE DETAILS

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

DATABASE

BOOK COURIER

CONTACT US

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

SERVICE

COURIER PROVIDER DE

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

System Security & Maintenance

System Security:

Ensuring the security of College Website crucial to protect user data, admin and students data and
maintain the integrity of the system. Here are key security measures to implement

1. Data Encryption:
- Implement end-to-end encryption to secure data transmission between the client and the server.
- Encrypt sensitive information such as passwords, user details in the database.

2. User Authentication and Authorization:


- Utilize secure authentication protocols for user login.
- Implement proper authorization mechanisms to control access levels for
different user roles

3. Input Validation and Sanitization:


- Implement strict input validation to prevent common vulnerabilities.
- Sanitize user inputs to remove potentially malicious content.

4. Regular Security Audits: - Conduct regular security audits and vulnerability assessments to identify
and address potential security risks.
- Stay informed about the latest security threats and patch vulnerabilities promptly.

5. Session Management: - Implement secure session management practices, including session


timeouts and secure session storage.
6. Security Training and Awareness: - Provide security training for development and
operational teams to foster awareness of security best practices.
- Educate users about secure practices, such as using strong passwords and being cautious with
personal information. System Maintenance:

Maintaining the College Website ensures its stability, performance, and the incorporation of new
features. Here are key considerations for system maintenance:

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

1. Regular Backups:
- Implement regular backups of the database and critical system files to prevent data loss. -
Test the restoration process periodically to ensure backups are reliable.

2. Software Updates and Patch Management:


- Keep the software stack, including the operating system, web server, and database, up-to-date
with the latest security patches.
- Schedule regular maintenance windows for updates and patches.

3. Monitoring and Logging:


- Implement monitoring tools to track system performance, identify bottlenecks, and detect
anomalies.
- Set up comprehensive logging to capture system events, errors, and user activities for
troubleshooting and auditing.

4. Scalability Planning:
- Regularly assess system performance and plan for scalability to accommodate growing user loads.
- Optimize database queries and server configurations for improved efficiency.

5. User Support and Feedback:


- Establish user support channels and respond promptly to user queries and issues.
- Collect user feedback to identify areas for improvement and prioritize feature enhancements.

6. Documentation:
- Maintain up-to-date documentation for developers, administrators, and end-users. -
Document system architecture, APIs, and any custom configurations.

7. Performance Testing:
- Conduct regular performance testing to identify and address bottlenecks before they impact user
experience.
- Simulate various user scenarios to ensure the platform performs well under different conditions.

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

SCOPE

Growth in e-commerce and last-mile delivery


The exponential growth of e-commerce in the last two decades has been a game-changer for
the courier and logistics industry. With more consumers opting for online shopping, the
demand for efficient and reliable last-mile delivery has surged. Companies are investing in
advanced logistics networks, utilising predictive analytics and proactive route optimisation
algorithms to ensure faster and cost-effective delivery. Additionally, innovative solutions
such as autonomous delivery vehicles, drones, and even robots are being explored to
enhance last-mile delivery capabilities.

Advanced transparency and tracking capabilities


Transparency and real-time tracking have become essential expectations in the industry.
Customers want to know the exact whereabouts of their packages at any given time. To
meet this demand, companies are leveraging technologies like GPS tracking, RFID (radio
frequency identification) tags, and barcodes to provide customers with accurate and up-to-
date information about their shipments. Integration with mobile apps and online platforms
allows customers to track their packages conveniently, improving overall customer
experience and satisfaction.

Robotics and automation


Automation is transforming various aspects of shipping and logistics operations. Robotics
and automation technologies, such as autonomous vehicles, robotic process automation, and
warehouse automation systems, are streamlining processes, reducing costs, and improving
efficiency. Automated sorting and loading systems, for example, enable faster and more
accurate order fulfilment. Robotic process automation eliminates repetitive manual tasks,
allowing employees to focus on higher-value activities. As technology continues to evolve,
we can expect even more sophisticated robotics applications in the industry.

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

CONCLUSION
A logistic courier service provides flexible, customizable, and reliable delivery services. The
largest third-party logistics companies might have more delivery vehicles and logistics
services, but they often lack the specialized features that businesses want from their local or
international couriers. Couriers provide a smoother delivery experience with customized
services compared to the regular mail service.

In conclusion, courier services provide several advantages, including fast and reliable
delivery, secure transportation of sensitive items, and convenience. However, businesses
should also consider the disadvantages, such as the cost, limited coverage, time-sensitivity,
and dependence on third-party services. Overall, businesses should weigh the pros and cons
to determine if a courier service is the right choice for their transportation needs.

In the digital economy, the growth of e-commerce heavily relies on efficient and reliable
courier services. The speed, global reach, customer satisfaction, cost-effectiveness, and
competitive advantage provided by e-commerce courier services are driving the industry’s
growth. As technology continues to evolve, we can expect further advancements in logistics,
ensuring that ecommerce continues to thrive and meet the ever-increasing demands of
consumers.

MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES

REFERENCE

Book Reference
1. R S Pressman, “Software Engineering: A Practitioners Approach”,
McGraw
Hill.
2. Pankaj Jalote, “Software Engineering”, Wiley
3. Rajib Mall, “Fundamentals of Software Engineering”, PHI Publication.

Reference
• https://developer.mozilla.org/en-US/blog/regular-expressions-
referenceupdates/
• https://developer.mozilla.org/en-US/docs/Web/CSS
https://developer.mozilla.org/en-US/docs/Web/API/Node
https://developer.mozilla.org/en-
US/docs/Learn/Serverside/Express_Nodejs/Introduction
https://www.khanacademy.org/computing/computer-programming/html-
https://www.dezven.com/project/how-to-create-a-college-website-usinghtml-and-css-
with-source-code

MCA||SRMCEM ,LUCKNOW 1

You might also like