You are on page 1of 67

GREENGLOBE NATURAL FOODS CRM

Mrinal Sauraj (19MCA04)

COMPUTER SCIENCE & ENGINEERING DEPARTMENT


NATIONAL INSTITUTE OF TECHNOLOGY,AGARTALA
INDIA-799046
MAY, 2022
GREENGLOBE NATURAL FOODS CRM

Report submitted to
National Institute of Technology, Agartala
for the award of the degree
of
Master of Computer Applications

by
Mrinal Sauraj (19MCA04)

Under the Guidance of

Dr. Mrinal Kanti Debbarma


Associate Professor and HOD, CSE Department, NIT Agartala, India

COMPUTER SCIENCE & ENGINEERING DEPARTMENT


NATIONAL INSTITUTE OF TECHNOLOGY AGARTALA
May 2022
Agartala
Dedicated To

To my Project Supervisor Dr. Mrinal Kanti Debbarma, Associate Professor,


CSED, NIT Agartala for sharing his valuable knowledge, encouragement & show-
ing confidence on me all the time. Each of the faculties of the department to con-
tribute in my development as a professional and help me to achieve this goal.
To all those people who have somehow contributed to the creation of this project
and who have supported me.

iii
❝The best way to show my Gratitude is to accept Everything, Even my
Problems, with Joy.❞
-Mother Teresa

iv
REPORT APPROVAL FOR MCA

This report entitled “GREENGLOBE NATURAL FOODS CRM ”, by Mrinal Sauraj(19MCA04),


is approved for the award of Master of Computer Applications in Computer Science & Engineering.

Dr Mrinal Kanti Debbarma Dr. Mrinal Kanti Debbarma


(Project Supervisor) (Head of the Department)
Associate Professor Associate Professor
Computer Science and Engineering Department Computer Science and Engineering Department
NIT, Agartala NIT Agartala

Sanjay Shelar
(Project Mentor)
External Examiner
Software Developer
WebHub Technology

Date:
Place:NIT, Agartala

v
DECLARATION

I declare that the work presented in this report proposal titled “GREENGLOBE
NATURAL FOODS CRM ”, submitted to the Computer Science and Engineering
Department, National Institute of Technology, Agartala, for the award of the Master
of Computer Applications degree in Computer Science & Engineering, represents
my ideas in my own words and where others’ ideas or words have been included,
I have adequately cited and referenced the original sources. I also declare that I
have adhered to all principles of academic honesty and integrity and have not mis-
represented or fabricated or falsified any idea/data/fact/source in my submission.
I understand that any violation of the above will be cause for disciplinary action
by the Institute and can also evoke penal action from the sources which have thus
not been properly cited or from whom proper permission has not been taken when
needed.

May 2022
Agartala
Mrinal Sauraj

vi
CERTIFICATE

It is certified that the work contained in the report titled “GREENGLOBE NATURAL FOODS
CRM ”, by Minal Sauraj(19MCA04), has been carried out under my supervision and this work
has not been submitted elsewhere for a degree.

Dr Mrinal Kanti Debbarma Dr. Mrinal Kanti Debbarma


(Project Supervisor) (Head of the Department)
Associate Professor Associate Professor
Computer Science and Engineering Department Computer Science and Engineering Department
NIT Agartala NIT Agartala

vii
Acknowledgement

I would like to take this opportunity to express my deep sense of gratitude to all who helped me
directly or indirectly during this report work.

Firstly, I would like to thank my supervisor, Dr. Mrinal Kanti Debbarma, for being a great
mentor and the best adviser I could ever have. His advise, encouragement and critics are source
of innovative ideas, inspiration and causes behind the successful completion of this report. The
confidence shown on me by him was the biggest source of inspiration for me. It has been a
privilege working with him from last six months.

I am highly obliged to all the faculty members of Computer Science and Engineering Depart-
ment for their support and encouragement. I also thank our Director Prof. H. K. Sharma
and H.O.D, CSED, Dr. Mrinal Kanti Deb Barma for providing excellent computing and other
facilities without which this work could not achieve its quality goal.

Finally, I am grateful to my parents for their support. It was impossible for me to complete this
report without their love, blessing and encouragement.

- Mrinal Sauraj

viii
Abstract

The most important part of any software development is its requirement gathering and un-
derstanding it from user’s point of view. Organization need to effectively define and manage
requirements to ensure they are meeting needs of the customer, while proving compliance and
staying on the schedule and within budget. The main intention of introducing this system is
to reduce the manual work at company. The Delivery Management System is developed using
Asp.net. The main aim of this system is to provide the product delivery company, a quick and
easy way to maintain their product’s stock and manage their distributors online.

ix
Contents

Acknowledgement viii

Abstract ix

1 Introduction 1

1.1 Introduction to CRM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

1.2 Motivation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

1.3 Existing System and Need for Systems . . . . . . . . . . . . . . . . . . . . . . 4

1.4 Limitations of Existing system . . . . . . . . . . . . . . . . . . . . . . . . . . 5

1.5 Scope of Work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5

2 WebHub Technology 6

2.1 About The Organization . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6

x
2.2 SERVICES . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.2.1 Technology Services . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.2.2 Business Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8

2.2.3 Cloud Services Mobile Services and Industrial Services . . . . . . . . 9

3 Requirement Analysis 11

3.1 Hardware Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

3.2 Detail Description of Technology Used . . . . . . . . . . . . . . . . . . . . . 12

3.2.1 JAVA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

3.2.2 Servlets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

3.2.3 Servlet Container . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

3.2.4 HTML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

3.2.5 Java Script . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13

3.2.6 JSP(Java Server Pages) . . . . . . . . . . . . . . . . . . . . . . . . . . 14

3.2.7 JSP Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

3.2.8 MVC Architecture . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

4 Proposed System 16

4.1 Admin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16

4.1.1 Distributor Registration . . . . . . . . . . . . . . . . . . . . . . . . . 16

4.1.2 Product Category and Subcategory Management . . . . . . . . . . . . 17

4.1.3 Miss Call Management . . . . . . . . . . . . . . . . . . . . . . . . . 17

4.1.4 Contact Us Enquiry Management . . . . . . . . . . . . . . . . . . . . 17

xi
4.2 Distributor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

4.2.1 Retailer Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

4.2.2 Place Order and View Order for Retailer . . . . . . . . . . . . . . . . . 18

4.2.3 View Admin Order and the Retailer Order Status . . . . . . . . . . . . 18

4.2.4 Date wise Report Management . . . . . . . . . . . . . . . . . . . . . . 18

4.2.5 Change Password . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

4.2.6 My Profile and Edit Profile . . . . . . . . . . . . . . . . . . . . . . . . 19

4.3 Retailer/Wholesaler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19

4.4 Website . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.4.1 Home . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.4.2 About Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.4.3 Director . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.4.4 Company . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.4.5 Contact Us . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

4.4.6 Product . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20

5 Feasibility Study 21

5.1 Technical Feasibility . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21

5.1.1 Economic Feasibility . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

5.1.2 Operational Feasibility . . . . . . . . . . . . . . . . . . . . . . . . . . 22

5.2 Objectives of System . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22

6 ANALYSIS DESIGN 23

xii
6.0.1 ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

6.0.2 Class Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

6.1 Use Case Diagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

6.1.1 Admin . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

6.1.2 Distributor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

6.1.3 Retailer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

6.2 Activity Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29

6.3 USER MANUAL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

6.4 Website map Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

6.5 Snapshot . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

7 Conclusion and Future Direction of Work 33

7.1 Conclusion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

7.2 Future Direction of work . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

7.3 Drawback and Limitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35

References 36

A Sample Code Snippets 37

A.1 Add Distributor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37

B Biographical Sketch 53

xiii
List of Figures

1 Server and jsp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

2 MVC Architecturer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

3 ERD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24

4 Distributor limitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27

5 retailer limitation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28

6 Website map Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31

xv
Chapter 1
Introduction

1.1 Introduction to CRM

Customer relationship management (CRM) is an approach to manage a company’s interaction


with current and potential customers. It uses data analysis about customers’ history with a
company to improve business relationships with customers, specifically focusing on customer
retention and ultimately driving sales growth.One important aspect of the CRM approach is the
systems of CRM that compile data from a range of different communication channels, including
a company’s website, telephone, email,live chat, marketing materials and more recently, social
media. Through the CRM approach and the systems used to facilitate it, businesses learn more
about their target audiences and how to best cater to their needs.

It is the combination of practices, strategies and technologies that companies use to man-
age and analyze customer interactions and data throughout the customer lifecycle, with the
goal of improving customer service relationships and assisting in customer retention and driv-
ing sales growth. CRM systems compile customer data across different channels, or points of
contact between the customer and the company, which could include the company’s website,

1
CSED,NIT Agartala

telephone, live chat, direct mail, marketing materials and social media. CRM systems can also
give customer-facing staff detailed information on customers’ personal information, purchase
history, buying preferences and concerns.

2
CSED,NIT Agartala

1.2 Motivation

The motivations for CRM adoption based on a literature review of studies undertaken over the
last ten years. To increase company knowledge regarding customers, in order to better under-
stand their needs and expectations, to maintain a customized relationship to improve customer
loyalty and retention, and to provide a quick response to customer requests. It is very helpful to
understand customers in order to anticipate their needs and offer value-added services. Also to
develop and offer customized products and services differentiated from products and services
offered by competitors. With the help of CRM we find aggregate value for the client, ratio-
nalizing the internal processes of new product development, allowing the company to identify
the customer’s needs not addressed and the characteristics of the product desired by customer
segments, and to administer the flow of demands so as to reduce customer buying time and psy-
chological and physical effort, optimizing after-sales service through the offer of specialized
quality services, aligning the business with the market. It help to

• Improve the quality of information, Search for more effective sales/transactions.

• Improve overall customer satisfaction.

• Improve processes.

• Improve customer service.

• Increase business results.

• Improve customer loyalty.

• Possibility of individualized marketing messages.

• Provide more effective customer acquisition.

3
CSED,NIT Agartala

1.3 Existing System and Need for Systems

In many organizations the Distributors’ and the retailer or the wholesaler data is managed man-
ually so it is very tedious and crucial task to manage huge data manually. Some organizations
use the CRM systems to manage their data but it is an E-CRM and it uses internet and central-
ized data so availability of data is 24/7. And it also provides more functionalities than CRM.
Some organizations use CRM but it’s not provide the facilities of Customization. Many CRM
systems has the lack of communication facilities such as mails and SMS communication but
this system will provide fully customized e-CRM functionalities to business organization with
the advantage of mail, SMS facilities and some more flexible facilities that are not found gen-
erally in many CRM systems that are available in market such as Distributor and retailer details
management, Book the order through Missed call, Placed orders and sales order management,
Contact us enquiry managemen.

4
CSED,NIT Agartala

1.4 Limitations of Existing system

• In many organizations Distributor and the retailer data is managed manually and it is very
tedious and time consuming task.

• There are many organizations that use CRM applications but many of the organizations
uses Desktop CRM applications and it has a many restrictions as compare to web based
CRM applications.

• There are many CRM systems available in market but many of them not provide the
facility of Mailing and SMS notifier.

• Many CRM systems just provide the facility of managing customer details.

• Many CRM applications don’t provide the facility of document management.

• Many of the applications don’t provide the facilities to manage inventory related tasks.

• The existing applications don’t provide the facility of application customization.

1.5 Scope of Work

• To reduce the workload for maintaining Distributor and retailer data manually, this system
will helps to manage this details and their complete data.

• Using this system admin can manage all Distributor, Orders, contacts us enquiry, Order
management, Product category and subcategory customization.

• Admin can also generate the Date wise Report using this system.

• This system provides the facility of customization so admin can customize the system as
per their needs.

• This system provides mail manager facility and SMS facility by using this facility admin
can communicate with the distributor and the retailer within the organization as well as
with the customers.

5
Chapter 2
WebHub Technology

In this chapter whole information about Worlds first full-spectrum banking and insurance prod-
ucts company for the digital age, Intellect Design Arena, has been provided.

2.1 About The Organization

WebHub Technology is a leader in Software Development and empowers IT individuals with


competitive advantage. WebHub Technology dedicates itself to simplify the technology trends
with its great RD Division. WebHub Technology is an Indian Software Development Company.
A rapidly growing software company with a team of experienced intellectuals working in var-
ious technologies. It deals with Product and Service based applications in all major areas. We
are committed to the qualitative, efficiency, innovativeness and timeliness of our deliverables
with high focus on maximum customer satisfaction. WebHub Technology is a high end full ser-
vice IT solution Company based in India. Established in 2010, we are pioneer in providing total
offshore and onshore web based solutions for small to large corporate companies. WebHub
Technology provides IT services to clients globally as partners to conceptualize and realize

6
CSED,NIT Agartala

technology driven business transformation initiatives. Today we are comprised of a team of


programming technicians, designers, and marketing executives- selectively chosen to lead our
clients in their IT solutions.

WebHub Technology has grown from strength to strength in both our Business and Software
Solutions arena. From our IT Consulting as well as Custom Application Development, Web
Development and E-commerce all of which help our customers with their diverse yet demanding
needs. We are geared towards generating business value to the companies by providing expertise
personnel and software services.

Our Vision

”To Become a Complete Software Company with the Quality performances and to develop
success path for every industry’s growth and progress.”

Our Mission

”To provide multiple solutions for each and every problem to achieve the goal of organization.”

Our Value

We at WebHub Technology aim and are continuously approaching towards customer satisfac-
tion and create a value to customer along with yielding knowledge for us by maintaining a
motivated workforce.

7
CSED,NIT Agartala

2.2 SERVICES

2.2.1 Technology Services

• Data Warehousing

• Data Migration

• High Availability

• Internet of Things

• Java Technology

• Linux and Unix

• Open Source

• Optimized Solution

• Web Development Services

• Security

• Server Consolidation

• SEO Services

• Service Oriented Architecture

• Windows and Dot Net

• Virtualization

2.2.2 Business Services

• Business Analytics

8
CSED,NIT Agartala

• Business Process Services

• Customer Experience

• Customer Relationship Management

• Enterprise Content Management

• Enterprise Management

• Financial Management

• Governance, Risk, and Compliance

• Human Capital Management

• Marketing Automation Utilities Services

• Master Data Management Retail Services

• Database and IT Infrastructure

• Project Portfolio Management

2.2.3 Cloud Services Mobile Services and Industrial Services

• Aerospace and Defence

• Automotive

• Chemicals

• Communications

• Consumer Goods

• Education and Research

• Engineering and Construction

• Financial Services

9
CSED,NIT Agartala

• Healthcare

• High Technology Public Sector Services

• Industrial Manufacturing

• Insurance Professional Services

• Life Sciences Wholesale Distribution

• Media and Entertainment

• Travel and Transportation Services

10
Chapter 3
Requirement Analysis

Developing an application based on JAVA, requires a clear idea about what actually java is and
understand the theories working behind its processes of data collection and processing. This
chapter focuses on the various requirements, theories and technologies which play significant
roles in development of this project.

3.1 Hardware Requirements

Hardware Specifications (Client Side)

1. RAM Minimum 512MB and above vspace0.5cm

2. Hard Disk Minimum 40 GB and above

3. Processor Pentium-IV and above

4. Operating System Windows XP/Later

11
CSED,NIT Agartala

5. Web Browser Internet Explorer-6/Later Mozilla Firefox

Hardware Specifications (Server Side)

1. RAM Minimum 2GB and above

2. Hard Disk Minimum 80 GB and above

3. Processor Pentium-IV and above

4. Operating System Windows XP/Later

5. Web Browser Internet Explorer-6/Later

6. Mozilla Firefox

7. Technology Java

8. Database MYSQL

9. Server Tomcat

3.2 Detail Description of Technology Used

3.2.1 JAVA

Java is a general-purpose computer-programming language that is concurrent, class-based, object-


oriented, and specifically designed to have as few implementation dependencies as possible.
Java has an extensive library of routines for coping with TCP/IP protocols like HTTP and FTP
Java applications can open and access across the Net via URLs with the same ease as when
accessing local file system. Java is intended to be used in networked/distributed environment
toward that end; a lot of emphasis has been placed on security. Java enables the contraction
of virus-free, temper-free systems. Here is a sample of what Java’s security features are sup-
posed to keep a Java programming from doing over running the runtime stack and Corrupting
memory outside its own process space. Reading or writing local files when invoked through a
security-conscious class loader like Web browser.

12
CSED,NIT Agartala

3.2.2 Servlets

A servlet is a web component, managed by a container that generates dynamic content. Servlets
are small, platform independent Java classes compiled to an architecture neutral byte code that
can be loaded dynamically into and run by a web server. Servlets interact with web clients via a
request response paradigm implemented by the servlet container. This request-response model
is based on the behavior of the Hypertext Transfer Protocol (HTTP).

3.2.3 Servlet Container

A Servlet Container may place security restrictions on the environment that a servlet can exe-
cuted In a Java 2 Platform Standard Edition 1.2 (J2SE) or Java 2 Platform Enterprise Edition
1.3 (J2EE) environment, these restrictions should be placed using the permission architecture
defined by Java 2 Platform. For example, high end application servers may limit certain action,
such as the creation of a Thread object, to insure that other components of the container are not
negatively impacted.

3.2.4 HTML

HTML 4.0 extends HTML with mechanism for style sheets, scripting, frames, embedding ob-
jects, improved support for right to left and mixed direction text, richer tables, and enhance-
ments to forms, offering improved accessibility for people with disabilities.

3.2.5 Java Script

JavaScript, often abbreviated as JS, is a high-level, interpreted programming language. It is


a language which is also characterized as dynamic, weakly typed, prototype-based and multi-
paradigm

13
CSED,NIT Agartala

3.2.6 JSP(Java Server Pages)

Java Server Pages (JSP) is a technology for developing web pages that support dynamic content
which helps developers insert java code in HTML pages by making use of special JSP tags.
Web developers write JSPs as text files that combine HTML or XHTML code, XML elements,
and embedded JSP actions and commands. Using JSP, you can collect input from users through
web page forms, present records from a database or another source, and create web pages
dynamically.

3.2.7 JSP Architecture

The web server needs a JSP engine i.e. container to process JSP pages. The JSP container is
responsible for intercepting requests for JSP pages. This tutorial makes use of Apache which
has built-in JSP container to support JSP pages development. A JSP container works with the
Web server to provide the runtime environment and other services a JSP needs. It knows how
to understand the special elements that are part of JSPs.

Figure 1: Server and jsp

14
CSED,NIT Agartala

3.2.8 MVC Architecture

MVC Architecture:-Model View Controller or MVC as it is popularly called, is a software


design pattern for developing web applications. A Model View Controller pattern is made up
of the following three parts:

. Model
The lowest level of the pattern which is responsible for maintaining data.

. View
This is responsible for displaying all or a portion of the data to the user.

. Controller
Software Code that controls the interactions between the Model and View.

Figure 2: MVC Architecturer

15
Chapter 4
Proposed System

In this System there are four main modules and some sub-modules which come under these
main modules and that are as follows:

4.1 Admin

4.1.1 Distributor Registration

Here admin have the authority to do the Distributor registration through his/her own panel.
Distributor can’t do the registration individually. At the same time User name and password
automatically created send on the registered email id of the distributor. By using this User name
and the password Distributor can log in and access his panel.Here admin take some amount
when Distributor wants to take the Dealership of Food CRM. Payment it’s a manual option
there is no any payment gateway. Once the Distributor is registered then admin can see his/her
detail through the admin panel.

16
CSED,NIT Agartala

4.1.2 Product Category and Subcategory Management

Here Admin can add the main category and subcategory of the product in the database.Same
time admin also set the Information regarding Item Description, Price etc. Here is the option to
admin like Delete the category and subcategory.Admin can search the entire Product category
and subcategory wise. Here admin can also add the Taluka in respective State and the District.

4.1.3 Miss Call Management

Here Retailer Book the order through Missed calls on Toll Free no.At the same time the retailer
registered mobile no is updated in distributor and admin panel same time.The missed call will
be updated only respective Distributor only. Here we provide the colour management facility,
so we show the missed call in red colour button. Once distributor call on this same mobile
no to retailer then distributor will update it, that time its colour convert red into Green Here
is two buttons Pending and Confirm if distributor click on Pending after the calling then it
will automatically convert into done green button to Distributor and the admin panel also if
distributor clicks on confirm button then confirm button will be updated in distributor and the
admin panel.

4.1.4 Contact Us Enquiry Management

Here admin can access all the enquires done through the website contact us page. Admin have
the options to Delete, Search the enquires.

• Date wise Report Management Admin can create the date wise report between any 2
dates. Here is the options like Search, Delete and view all the reports or date wise reports.

• Change Password Here admin have the option to change the password. Admin must
know the previous password when he/she want to change the password.

• My Profile and Edit Profile Here admin can see his/her own profile in detail manner. If
admin want to change some data in that at that time admin can do this and save it.

17
CSED,NIT Agartala

4.2 Distributor

4.2.1 Retailer Registration

Here distributor has the authority do the registration of the respective retailer or the wholesaler.
There is no any User name and the password will send to retailer email Id because there is no
any individual panel for the Retailer or the wholesaler. Here distributors have the options to see
the total list of the registered retailer. Distributors have the options like Search, Edit, Delete,
View details.

4.2.2 Place Order and View Order for Retailer

Here Distributor places the order of the respective retailer or the wholesaler. Distributor can
see the Order details of Retailer. Means what are the order is already placed to this respective
Retailer. Distributor has the access like Search, Delete and View Details regarding order details.

4.2.3 View Admin Order and the Retailer Order Status

Distributor can see the Order details of Admin. Means what are the order is already placed by
the admin to this respective Distributor Distributor also able to access the date wise order report
also. Distributor has the access like Search, Delete and View Details regarding order details.

4.2.4 Date wise Report Management

Here distributor can access the order data date wise along with the respective retailer. By using
this function Distributor can see the order data between any two dates. Distributor has the access
like Search, Delete and View Details regarding order details.

18
CSED,NIT Agartala

4.2.5 Change Password

Here Distributor has the option to change the password. Distributor must know the previous
password when he/she want to change the password.

4.2.6 My Profile and Edit Profile

Here Distributor can see his/her own profile in detail manner. If Distributor wants to change
some data in that at that time Distributor can do this and save it.

4.3 Retailer/Wholesaler

Order Management through Missed Call

There is no any individual panel for the Retailer or the wholesaler. Retailer just give the simple
missed call on the website’s toll free no to book the order through respective Distributor. Then
this enquiry is handled by the Distributor call back on same retailer no and books the order.
Same time this missed call data is access by the Admin also but admin don’t have the rights to
change the status from pending to the done or Confirmed.

Date wise Order Report Here is no any option to see the date wise report on retailer panel
because there is no any individual panel at that time retailer demand the date wise report to the
respective distributor then he gave the details of the date wise report to the

19
CSED,NIT Agartala

4.4 Website

4.4.1 Home

Here Customer can see the information regarding company and its products.

4.4.2 About Us

This s also a simple static web page to show the information regarding company and all.

4.4.3 Director

in this tab the information regarding the director of this particular Food CRM application

4.4.4 Company

Here is the information regarding the company and its product and the services. Mission- In
this tab the company mission is there. Vision- In this tab the company mission is there.

4.4.5 Contact Us

There is also simple web page it also shows the information regarding company address and
contact details. Here is having a one form i.e. contact us form to do the enquiry. Here our Toll
Free no is also mention here to give the missed call.

4.4.6 Product

There is simple static web page it includes the data regarding all the products.

20
Chapter 5
Feasibility Study

5.1 Technical Feasibility

Technical feasibility is the study of cost benefit analysis of the system and study of the hard-
ware and software requirements i.e. technical requirements of the system in order to inform
management and user for particular system designing this much technical sources are required,
in order to know user and management view, regarding the technical resources. By studying the
technical study the actual cost of the system designing is known. Organization can provide the
minimum required as specified in operational environment. This system is technically feasible
because the java, struts 2.0 is used in the system and hence it is a very secure system. The
required operational environment is very cheap and it is open source. The development tools
and libraries are available for free so it is technically more feasible.

21
CSED,NIT Agartala

5.1.1 Economic Feasibility

Economical feasibility study is the actual cost and benefit of the system. Actual cost of the
system is calculated in the economic study so as to inform the user and management that this
much cost will be required to develop the system. Because system cost is the first cost before
starting system designing. The organization is ready to invest on hardware and software required
by the proposed system. So system is economically feasible. This system is also economically
feasible because all the development resources are open source and are available for free. So it
requires the less amount for development and implementation.

5.1.2 Operational Feasibility

Training program will be required to the user. A group of user will be trained during the training
period. It focuses on the willingness and the ability of the user. PES website does not require
special efforts to educate the staff on new way on conducting ways. The system incorporates
user friendly interface, default processing and required validations. These all are done keep-
ing in view the individual with minimum computer knowledge. This system is operationally
feasible because the user interface provided is very user friendly and normal user can easily
understand it and can perform all the operations easily.

5.2 Objectives of System

• To provide the fully customized Food-CRM system to business organizations.

• To manage organization’s huge Distributor and the retailer data.

• To provide the facilities of Missed call management, book the order just give the simple
missed call, Date wise reports, Place order list, and sales orders that are not provided in
the most of CRM systems.

• To provide the facilities like mail manager and SMS notifier using it Admin can easily
communicate with their opportunities with Distributor and the Customer.

22
Chapter 6
ANALYSIS DESIGN

6.0.1 ERD

An entity–relationship model describes interrelated things of interest in a specific domain of


knowledge.

23
CSED,NIT Agartala

Figure 3: ERD

6.0.2 Class Diagram

We can manually Add new user as well as new admin.

24
CSED,NIT Agartala

25
CSED,NIT Agartala

6.1 Use Case Diagrams

6.1.1 Admin

Here admin have the authority to do the Distributor registration through his/her own panel.
Distributor can’t do the registration individually. At the same time User name and password
automatically created send on the registered email id of the distributor.By using this User name
and the password Distributor can log in and access his panel.Here admin take some amount
when Distributor wants to take the Dealership of Food CRM. Payment it’s a manual option
there is no any payment gateway. Once the Distributor is registered then admin can see his/her
detail through the admin panel.

26
CSED,NIT Agartala

6.1.2 Distributor

Here distributor has the authority do the registration of the respective retailer or the wholesaler.
There is no any User name and the password will send to retailer email Id because there is no
any individual panel for the Retailer or the wholesaler. Here distributors have the options to see
the total list of the registered retailer. Distributors have the options like Search, Edit, Delete,
View details.

Figure 4: Distributor limitation

27
CSED,NIT Agartala

6.1.3 Retailer

Figure 5: retailer limitation

28
CSED,NIT Agartala

6.2 Activity Diagram

29
CSED,NIT Agartala

6.3 USER MANUAL

User Manual For Distributor

Login

• This is provided to do the login.

• So to do the login you can use this.

• Here simply by entering your login details you can logged in.

Add Retailers

• This is to add new Retailer to the Food CRM.

• You can add the new Retailer to Food CRM using it. Order Management

• This is provided to manage all orders regarding admin side and the retailer side.

• Distributor can see all the Order Status data for admin side and the retailer side only.

Missed Cal

• This is provided to manage all your Missed call related data.

• Using this you can view all Missed call and search all the fields.

Sales orders and new order

• This is provided to manage all your sales orders related data.

• Using this you can view all sales orders, add new sales orders, edit sales orders, delete
sales orders, search and filter sales orders.

Date wise Report

• This is provided to manage all your Date wise report related data.

• Using this you can view all reports date wise.

30
CSED,NIT Agartala

6.4 Website map Diagram

Figure 6: Website map Diagram

31
CSED,NIT Agartala

6.5 Snapshot

32
Chapter 7
Conclusion and Future Direction of
Work

7.1 Conclusion

The project titled as “Food CRM “is a web based application. This application is useful for the
Company Owner, Distributor and the Retailer or the wholesaler. This System is developed for
the business organizations to manage their customer’s data effectively and to improve their profit
which will helps to increase the organizations business. It will not just to maintain customer’s
details and their data but it also provides some features that helps to business organizations to
increase communication with their customers using some facilities of this system such as Email
and SMS facilities

This application is related with all the food products like Ground Nut oil, Soybean Oil, Dal and
Pulses, Turmeric Powder, Coriander powder etc. It also provides the customization facility to
Admin so that Admin can customize this system as per his/her organizational needs like add

33
CSED,NIT Agartala

the product category and subcategory. Business organizations can manage their Distributor and
Retailer management and support tasks through this system. They can also manage their sales
orders, Contact us enquiry, Retailer Missed call no, and much more through this system.

Business organizations can also generate reports in various formats and these reports help busi-
ness organizations for various types of analysis like date wise report and all. They can use these
reports in decision making processes and also for customer satisfaction by analyzing their needs
and problems. Here the retailer can book the order just give the simple missed call on the web-
sites Toll-free no (Missed call no). Then his/her mobile no is updated to respective Distributor
and the Admin panel. Here the admin can add the distributor and maintain all the data regarding
distributor like Placed order, Date wise Order report, list of Distributor list. Same the Distribu-
tor can add the Retailer or the wholesaler through his/her own distributor panel. Here admin can
see all the details regarding respective distributor and respective dealer. In this application we
integrate the Missed call Service API and SMS API. This application is useful for the Admin to
see all the data at one click only. It a CRM application it maintain the communication between
the Admin, Distributor and the Retailer.

Here is the Separate panel for the Admin and the Distributor. There is no any panel for the
Retailer. By using this application the efficiency of the Business is increased. This application
is developed as per the requirement of the client.

7.2 Future Direction of work

Although the main objective of the project is completed, but there are several features that can
be added to it. Following are some features which can be added to the project to improve its
usefulness.

• This system will convert into Android version and make available it for android devices.

• Integration with external outlook plug-in.

• Integration with external plug-ins to improve the performance and functionality of sys-
tem.

• Dynamic and easy graphical report generation.

34
CSED,NIT Agartala

• Integration with office plug-in.

• Stock Management.

• Facility to delete document even after sending.

7.3 Drawback and Limitation

• This system requires the high-speed internet without internet it can’t work.

• Currently it is not integrated with any other plug-ins.

• It requires the very huge amount of data to be entered.

• This system is applicable only registered distributor and the retailer.

35
References

[1] http:/https://jqueryui.com/

[2] https://www.git-tower.com/learn/git/faq/git-bash/

[3] http://www.javatpoint.com/spring

[4] http://https://stackoverflow.com/

36
Appendix A
Sample Code Snippets

A.1 Add Distributor

1 <!DOCTYPE html>
2 <html lang="en">
3

4 <head>
5 <style>
6

7 #space
8 {
9

10 width: 50%;
11 float: left;
12 display: inline;
13 position: relative;
14

15 margin-top:10px;
16 }

37
CSED,NIT Agartala

17 #label
18 {
19 height: 34px;
20 width: 40%;
21 float: left;
22 display: inline;
23 position: relative;
24 margin-top: 10px;
25 }
26 </style>
27

28 <meta charset="utf-8">
29 <meta http-equiv="X-UA-Compatible" content="IE=edge">
30 <meta name="viewport" content="width=device-width, initial-scale=1">
31 <meta name="description" content="">
32 <meta name="author" content="">
33

34 <title>Web Green Globe</title>


35

36 <!-- Bootstrap Core CSS -->


37 <link href="css/bootstrap.min.css" rel="stylesheet">
38

39 <!-- Custom CSS -->


40 <link href="css/sb-admin.css" rel="stylesheet">
41

42 <!-- Custom Fonts -->


43 <link href="font-awesome/css/font-awesome.min.css" rel="stylesheet"
type="text/css">
44

45

46

47 <script type="text/javascript">
48 function registration()
49 {
50 return confirm("Do You Want Register");
51 }
52 </script>
53

54 </head>
55

56 <body>

38
CSED,NIT Agartala

57

58

59 <%@page import="java.sql.*"%>
60 <%@page import="java.util.*"%>
61 <%@page import="oracle.jdbc.driver.*" %>
62 <%@page import="oracle.sql.*" %>
63 <%@page import="oracle.jdbc.driver.OracleDriver"%>
64 <%
65 String error=request.getParameter("error");
66 if(error==null || error=="null"){
67 error="";
68 }
69 %>
70

71

72 <%
73 if (session.getAttribute("user") == null) {
74

75 response.sendRedirect(request.getContextPath() + "/Login.jsp");
76 }
77 %>
78

79 <%
80

81

82 Class.forName("oracle.jdbc.driver.OracleDriver");
83 Connection con=DriverManager.getConnection("jdbc:oracle:thin:@localhost
:1521:XE", "greenglobe", "g");
84 Statement s=con.createStatement();
85 Statement s2=con.createStatement();
86

87

88

89 String s1="select * from addtaluka";


90

91 ResultSet rs=s.executeQuery(s1);
92

93

94

95 ArrayList <String>taluka=new ArrayList<String>(10);


96 ArrayList <String>dist=new ArrayList<String>(10);

39
CSED,NIT Agartala

97 ArrayList <String>state=new ArrayList<String>(10);


98 while(rs.next())
99 {
100

101 taluka.add(rs.getString(4));
102 dist.add(rs.getString(3));
103 state.add(rs.getString(2));
104

105 }
106

107 %>
108

109 <div id="wrapper">


110

111 <!-- Navigation -->


112 <nav class="navbar navbar-inverse navbar-fixed-top" role="
navigation">
113 <!-- Brand and toggle get grouped for better mobile display -->
114 <div class="navbar-header">
115 <button type="button" class="navbar-toggle" data-toggle="
collapse" data-target=".navbar-ex1-collapse">
116 <span class="sr-only">Toggle navigation</span>
117 <span class="icon-bar"></span>
118 <span class="icon-bar"></span>
119 <span class="icon-bar"></span>
120 </button>
121 <div class="logoSet" style="position: relative; display:
inline; float: left; margin-left: 20px;"> <img src="logo.png" width="120
px" height="86px" alt="logo"/>
122 </div>
123 <div class="logoTitle" style="position: relative; display:
inline; float: left; margin-left: 280px;"><a class="navbar-brand" href=
"index.jsp"><span style="font-family: algerian;font-size: 40px; color:
green;">Web Green Globe</span></a></div>
124 </div>
125 <!-- Top Menu Items -->
126 <ul class="nav navbar-right top-nav">
127 <li class="dropdown">
128 <a href="#" class="dropdown-toggle" data-toggle="
dropdown"><i class="fa fa-envelope"></i> <b class="caret"></b></a>
129 <ul class="dropdown-menu message-dropdown">

40
CSED,NIT Agartala

130 <li class="message-preview">


131 <a href="#">
132 <div class="media">
133 <span class="pull-left">
134 <img class="media-object" src="http
://placehold.it/50x50" alt="">
135 </span>
136 <div class="media-body">
137 <h5 class="media-heading"><strong>
John Smith</strong>
138 </h5>
139 <p class="small text-muted"><i
class="fa fa-clock-o"></i> Yesterday at 4:32 PM</p>
140 <p>Lorem ipsum dolor sit amet,
consectetur...</p>
141 </div>
142 </div>
143 </a>
144 </li>
145 <li class="message-preview">
146 <a href="#">
147 <div class="media">
148 <span class="pull-left">
149 <img class="media-object" src="http
://placehold.it/50x50" alt="">
150 </span>
151 <div class="media-body">
152 <h5 class="media-heading"><strong>
priya</strong>
153 </h5>
154 <p class="small text-muted"><i
class="fa fa-clock-o"></i> Yesterday at 4:32 PM</p>
155 <p>Lorem ipsum dolor sit amet,
consectetur...</p>
156 </div>
157 </div>
158 </a>
159 </li>
160 <li class="message-preview">
161 <a href="#">
162 <div class="media">

41
CSED,NIT Agartala

163 <span class="pull-left">


164 <img class="media-object" src="http
://placehold.it/50x50" alt="">
165 </span>
166 <div class="media-body">
167 <h5 class="media-heading"><strong>
John Smith</strong>
168 </h5>
169 <p class="small text-muted"><i
class="fa fa-clock-o"></i> Yesterday at 4:32 PM</p>
170 <p>Lorem ipsum dolor sit amet,
consectetur...</p>
171 </div>
172 </div>
173 </a>
174 </li>
175 <li class="message-footer">
176 <a href="#">Read All New Messages</a>
177 </li>
178 </ul>
179 </li>
180 <li class="dropdown">
181 <a href="#" class="dropdown-toggle" data-toggle="
dropdown"><i class="fa fa-bell"></i> <b class="caret"></b></a>
182 <ul class="dropdown-menu alert-dropdown">
183 <li>
184 <a href="#">Alert Name <span class="label label
-default">Alert Badge</span></a>
185 </li>
186 <li>
187 <a href="#">Alert Name <span class="label label
-primary">Alert Badge</span></a>
188 </li>
189 <li>
190 <a href="#">Alert Name <span class="label label
-success">Alert Badge</span></a>
191 </li>
192 <li>
193 <a href="#">Alert Name <span class="label label
-info">Alert Badge</span></a>
194 </li>

42
CSED,NIT Agartala

195 <li>
196 <a href="#">Alert Name <span class="label label
-warning">Alert Badge</span></a>
197 </li>
198 <li>
199 <a href="#">Alert Name <span class="label label
-danger">Alert Badge</span></a>
200 </li>
201 <li class="divider"></li>
202 <li>
203 <a href="#">View All</a>
204 </li>
205 </ul>
206 </li>
207 <li class="dropdown">
208 <a href="#" class="dropdown-toggle" data-toggle="
dropdown"><i class="fa fa-user"></i> <%=session.getAttribute("user")
%> <b class="caret"></b></a>
209 <ul class="dropdown-menu">
210 <li>
211 <a href="ChangePass.jsp"><i class="fa fa-fw fa-
user"></i> Change Password</a>
212 </li>
213 <li>
214 <a href="#"><i class="fa fa-fw fa-envelope"></i
> Inbox</a>
215 </li>
216 <li>
217 <a href="#"><i class="fa fa-fw fa-gear"></i>
Settings</a>
218 </li>
219 <li class="divider"></li>
220 <li>
221 <a href="Logout.jsp"><i class="fa fa-fw fa-
power-off"></i> Log Out</a>
222 </li>
223 </ul>
224 </li>
225 </ul>
226 <!-- Sidebar Menu Items - These collapse to the responsive
navigation menu on small screens -->

43
CSED,NIT Agartala

227 <div class="collapse navbar-collapse navbar-ex1-collapse">


228 <ul class="nav navbar-nav side-nav">
229 <li>
230

231 <li class="dropdown">


232 <a href="javascript:;" data-toggle="collapse" data-
target="#demo"><i class="fa fa-fw fa-arrows-v"></i> Distributor <i class
="fa fa-fw fa-caret-down"></i></a>
233 <ul id="demo" class="collapse">
234 <li>
235 <a href="Add_Distributor.jsp">Add
Distributor</a>
236 </li>
237 <li>
238 <a href="View_Distributor.jsp">View All
Distributor</a>
239 </li>
240 <li>
241 <a href="Enquiry.jsp">Enquiry Details</a>
242 </li>
243 <li>
244 <a href="Add_Taluka.jsp">Add Taluka</a>
245 </li>
246 </ul>
247 </li>
248

249 <li>
250 <a href="javascript:;" data-toggle="collapse" data-
target="#demo1"><i class="fa fa-fw fa-arrows-v"></i> Order <i class="fa
fa-fw fa-caret-down"></i></a>
251 <ul id="demo1" class="collapse">
252 <li>
253 <a href="Add_Order.jsp">Add Order</a>
254 </li>
255 <li>
256 <a href="View_Order.jsp">View Order</a>
257 </li>
258

259 </ul>
260 </li>
261

44
CSED,NIT Agartala

262

263 <li class="dropdown">


264 <a href="javascript:;" data-toggle="collapse" data-
target="#demo2"><i class="fa fa-fw fa-arrows-v"></i> Product <i class="
fa fa-fw fa-caret-down"></i></a>
265 <ul id="demo2" class="collapse">
266 <li>
267 <a href="Add_Category.jsp">Add Category</a>
268 </li>
269 <li>
270 <a href="Add_Products.jsp">Add Products</a>
271 </li>
272 <li>
273 <a href="View_Category.jsp">View Category</
a>
274 </li>
275 <li>
276 <a href="View_Product.jsp">View Product</a>
277 </li>
278 </ul>
279 </li>
280

281

282 <li class="dropdown">


283 <a href="javascript:;" data-toggle="collapse" data-
target="#demo3"><i class="fa fa-fw fa-arrows-v"></i> Reports <i class="
fa fa-fw fa-caret-down"></i></a>
284 <ul id="demo3" class="collapse">
285 <li>
286 <a href="Date_order.jsp">Date Wise Order</a
>
287 </li>
288 <li>
289 <a href="Miscall.jsp">Misscall Reports</a>
290 </li>
291

292 </ul>
293 </li>
294

295 </li>
296

45
CSED,NIT Agartala

297 </ul>
298 </div>
299 <!-- /.navbar-collapse -->
300

301 </nav>
302

303 <div id="page-wrapper">


304

305 <div class="container-fluid">


306

307 <!-- Page Heading -->


308 <div class="row">
309 <div class="col-lg-12">
310

311 <ol class="breadcrumb">


312 <li>
313 <i class="fa fa-dashboard"></i> <a href="
index.jsp">Distributor</a>
314 </li>
315

316 </ol>
317 </div>
318 </div>
319 <!-- /.row -->
320

321 <div class="row">


322 <font color="red"> <div style="margin-left: 40%"><b
><%=error%></b></div></font>
323 <div class="col-lg-6" style="margin-left:25%; border:
groove;">
324

325 <form role="form" action="Add_Distributor_Next.jsp"


method="POST" onSubmit="return registration()">
326

327 <div class="form-group" style=" border:groove;


margin-left: -18px; margin-right: -18px; margin-top: -2px; background-
color: graytext;">
328 <h2><center>Distributor Registration</
center> </h2>
329 </div>
330 <div >

46
CSED,NIT Agartala

331 <div id="label"> <label>First Name</label>


<label><font style="color: red;">*</font></label></div>
332 <div id="space"><input type="text" class="
form-control" name="fn" placeholder="Enter First Name" required x-moz-
errormessage="Enter your first name"> </div>
333 <br>
334

335

336 </div>
337

338 <div>
339 <div id="label"><label>Last Name</label><
label><font style="color: red;">*</font></label></div>
340

341 <div id="space"> <input name="ln" class="


form-control"placeholder="Enter Last Name" required x-moz-errormessage="
Enter your Last name"></div>
342

343 </div>
344 <div>
345 <div id="label"><label>Firm Name</label><
label><font style="color: red;">*</font></label></div>
346

347 <div id="space"> <input name="frn" class="


form-control" placeholder="Enter Firm Name" required x-moz-errormessage=
"Enter your firm name"></div>
348

349 </div>
350

351

352 <div>
353 <div id="label"><label>Mobile No</label><
label><font style="color: red;">*</font></label></div>
354

355 <div id="space"> <input name="mob" class="


form-control" pattern="[789][0-9]{9}" placeholder="Enter Mobile Number"
required x-moz-errormessage="Enter your Mobile Number"></div>
356

357 </div>
358

359

47
CSED,NIT Agartala

360 <div>
361 <div id="label"><label>Address</label><
label><font style="color: red;">*</font></label></div>
362 <div id="space"> <textarea class="form-
control" name="address" rows="3" placeholder="Enter Address" required x-
moz-errormessage="Enter your Address"></textarea></div>
363 </div>
364 <div></div>
365 <div></div>
366 <div>
367

368 <div id="label"><label>State</label><label


><font style="color: red;">*</font></label></div>
369 <div id="space">
370 <select name="state" class="form-
control">
371 <option>- Select State -</option>
372 <%
373 for(
String aaaa:state)
374 {
375

%>
376 <option
value=<%=aaaa%>><%=aaaa%></option>
377 <%}%>
378 </select>
379 </div>
380 </div>
381 <div>
382 <div id="label"><label>District</label><
label><font style="color: red;">*</font></label></div>
383 <div id="space"> <select name="dist" class="
form-control">
384 <option>- Select District -</option>
385 <%
386 for(
String aaa:dist)
387 {
388

%>

48
CSED,NIT Agartala

389 <option
value=<%=aaa%>><%=aaa%></option>
390 <%}%>
391 </select></
div>
392 </div>
393

394 <div>
395 <div id="label"><label>Taluka</label><label
><font style="color: red;">*</font></label></div>
396

397 <div id="space"><select name="taluka" class="


form-control">
398 <option>- Select Taluka -</option>
399

<%
400 for(
String aa:taluka)
401 {
402

%>
403 <option
value=<%=aa%>><%=aa%></option>
404 <%}%>
405 </select></
div>
406 </div>
407 <div>
408 <div id="label"> <label>Village</label></
div>
409 <div id="space"> <input class="form-control"
name="village" placeholder="Enter Village" required x-moz-errormessage=
"Enter your Village"></div>
410 </div>
411 <div>
412 <div id="label"><label>E-Mail</label><
label><font style="color: red;">*</font></label></div>
413 <div id="space"><input class="form-control
" name="email" placeholder="Enter E-Mail Id" required x-moz-errormessage
="Enter your E-Mail Id" pattern="[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,3}
$"></div>

49
CSED,NIT Agartala

414 </div>
415

416

417

418 <div id="label" style="padding-top: 30px;


padding-bottom: 30px; margin-left:50px; " ><button type="submit" class="
btn btn-success">Submit Button</button></div>
419 <div id="space" style="padding-top: 30px;
padding-bottom: 30px;"> <button type="reset" class="btn btn-warning">
Reset Button</button></div>
420 <label><font style="color: red;">* Field is required</font></
label>
421 </form>
422

423

424 </div>
425 <!-- /.row -->
426

427 </div>
428 <!-- /.container-fluid -->
429

430 </div>
431 <!-- /#page-wrapper -->
432

433 </div>
434 <!-- /#wrapper -->
435

436 <!-- jQuery -->


437 <script src="js/jquery.js"></script>
438

439 <!-- Bootstrap Core JavaScript -->


440 <script src="js/bootstrap.min.js"></script>
441

442 </body>
443

444 </html>
445

446

447 page import="java.sql.*"%>


448 <%@page import="oracle.jdbc.driver.*" %>
449 <%@page import="oracle.sql.*" %>

50
CSED,NIT Agartala

450 <%@page import="oracle.jdbc.driver.OracleDriver"%>


451

452 <%@page contentType="text/html" pageEncoding="UTF-8"%>


453 <!DOCTYPE html>
454 <html>
455 <head>
456 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
457 <title>JSP Page</title>
458 </head>
459 <body>
460

461

462 <%
463 Connection con=null;
464

465 try {
466 Class.forName("oracle.jdbc.driver.OracleDriver");
467 con = DriverManager.getConnection("jdbc:oracle:thin:
@localhost:1521:xe", "greenglobe", "g");
468

469

470

471 Statement stmt=con.createStatement();


472

473 String fn=request.getParameter("fn");


474 String ln=request.getParameter("ln");
475

476 String state=request.getParameter("state");


477 String district=request.getParameter("dist");
478 String taluka=request.getParameter("taluka");
479

480 String village=request.getParameter("village");


481 String phone=request.getParameter("mob");
482 String email=request.getParameter("email");
483

484 String address=request.getParameter("address");


485 String dfirm=request.getParameter("frn");
486

487 /*out.println(fn);
488 out.println(ln);
489 out.println(state);

51
CSED,NIT Agartala

490 out.println(district);
491 out.println(taluka);
492 out.println(phone);
493 out.println(email);
494 out.println(address);
495 out.println(dfirm);
496 out.println(village*/
497

498

499

500 String ss="insert into DISTRIBUTOR (did , dfname, dlname,dfirm,dphone,


daddr,dstate,ddist,dtal,dvillage,demail) values (did.nextval" + ",’" +
fn + "’,’" + ln + "’,’"+dfirm+"’,’"+phone+"’,’"+ address+"’,’"+ state+"
’,’"+district+"’,’"+taluka+"’,’"+village+"’,’" +email+"’)";
501

502

503

504 stmt.executeUpdate(ss);
505 String message="Registration Sucessfull!!!";
506 response.sendRedirect("Add_Distributor.jsp?error="+message);
507

508 }
509 catch(Exception ex)
510 {
511 out.println(ex.getMessage());
512 }
513

514 %>
515

516 </body>
517 </html>

Listing A.1: Download.java

52
Appendix B
Biographical Sketch

Mrinal Sauraj

Address:- Town- Krishnatolly,Bhrampura M.I.T.,Muzaffarpur,Bihar-842003


Email:- mrinalsauraj@gmail.com Contact No:- +91-7979757704

Education

• Pursuing MCA From N.I.T Agartala with CPI of 8.10/10.

• BCA from Chaten Sadhan Institute of science and Technology, muzaffarpur,Bihar with
75.50% .

• Intermediate (Math ) from R.C.N.D. Inter Collage kanti,Muzaffarpur,Bihar, with 66% .

53

You might also like