Mca - Srmcem, Lucknow
Mca - Srmcem, Lucknow
Mca - Srmcem, Lucknow
A
MAJOR PROJECT REPORT ON
COURIER SERVICES
Affiliated to AKTU
MCA||SRMCEM,LUCKNOW
COURIER SERVICES
CERTIFICATE
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
MCA||SRMCEM,LUCKNOW
COURIER SERVICES
DEPARTMENT OF COMPUTER
APPLICATION SRMCEM
CERTIFICATE
partial fulfillment of the requirement for the award of the degree of Master
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
MCA||SRMCEM,LUCKNOW
COURIER SERVICES
DECLARATION
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
MCA||SRMCEM,LUCKNOW 7
COURIER SERVICES
TABLE OF CONTENT
S.No CONTENT
1 Introduction 7
2 Company Profile 8
3 Problem Statement 9
5 Proposed System 11
8 Process Description 18
9 Modules Description 19
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
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
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
Hardware Requirements: -
Client Side:
Processor : Dual Core or above
RAM : 4 GB
HDD : 500 GB
Display : High Resolution screen
Others : Internet Connection
Developer Side:
RAM : 4 GB
HDD : 500 GB
Display : High Resolution screen
Others : Internet Connection
Software Requirements: -
Client Side:
Developer Side:
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
MCA||SRMCEM,LUCKNOW 19
COURIER SERVICES
Feasibility Study
1. Financial feasibility:
2. Technical feasibility:
3. Behavioural feasibility:
MCA||SRMCEM,LUCKNOW 20
COURIER SERVICES
Refers to reaction of the people towards the project.
4. Operational feasibility:
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.*" %>
<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>
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>
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>
<td>
<marquee><%
for(Offer ofl: offerList){ %>
</html>
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
ABOUT US PAGE
<!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:
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>
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">
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="col-6">
<h3 style="font:Yantramanav, sans-serif; font-size: 40px; font-weight: 900;margin-left:
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
<img src="transportapp\images\icon-1.png">
</div>
<div class="col">
<h5 style="color: white;margin-left: 20px;">FULL LOAD SERVICES</h5>
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>
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">
</body></html>
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
<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>
</body>
</html>
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
<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">
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
<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;
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
<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;
</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" %>
<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>
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
<%@include file="/commonfiles/common_js.html
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
<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());
</htm
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
8859-1"%>
<!DOCTYPE html>
<html><head>
<meta charset="ISO-8859-1">
<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
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
<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>
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
ADMIN JSP
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
<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>
</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
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())
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
</div>
</div>
</div>
</div>
</div
></div>
</div>
</div>
</section><%@include file="/commonfiles/common_js.html" %>
<%} %>
</body>
</html>
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
COMMON FILES
COMMON CSS
<link href="https://cdn.jsdelivr.net/npm
/[email protected]/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
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
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
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
OFFERED SERVICES
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
BOOK COURIER
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
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
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
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
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;
}
}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
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
{
}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
return false;
}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
COMMON DAO
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
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;
e.printStackTrace();
}
}
return false;
}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
PROVIDER DAO
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();
}
}
c.printStackTrace();
} } return false;
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
REGISTER
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
SERVLET
-------------
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
ADMIN SERVLET
EDIT PROFILE
package final_project.admin.servlet;
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
String phone=request.getParameter("phone");
response.sendRedirect("/final_project/src/main/webapp/admin/admin_home.jsp");
}
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
LOGIN
public Admin_login() {
}/**
@see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException,
IOException {
/**
@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);
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
/**
@see HttpServlet#HttpServlet()
*/
public Admin_login() {
}/**
@see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException,
IOException {
/**
@see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
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
/**
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
/**
@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
/**
@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
}
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
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
DATABASE
--------
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
DATABASE
MySql
--
-- Dumping data for table `admin_details`
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
--
--
-- Table structure for table `bookcourier_details`
--
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
--
-- Dumping data for table `bookcourier_details`
--
--
-- Table structure for table `contact`
--
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
--
-- Dumping data for table `contact`
--
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
--
-- Table structure for table `courierprovider_details`
--
--
-- Dumping data for table `courierprovider_details`
--
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
SCREENSHOTS
ABOUT US PAGE
MCA||SRMCEM ,LUCKNOW 1
COURIER SERVICES
INDEX 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
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:
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.
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.
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.
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.
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
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