Team Blackbook
Team Blackbook
Team Blackbook
Certificate
This is to certify that the project report entitled “CharityLink: NGO
Collaboration Welfare Portal” has been successfully completed by:
A. Abhiman Javre
B. Shivam Shirsath
C. Shabdaj Meshram
D. Nilesh Patil
With deep sense of gratitude, we would like to thanks all the people who have lit
our path with their kind guidance. We are very grateful to these intellectuals who did their
best to help during our project work.
It is our proud privilege to express deep sense of gratitude to, Prof. P.M.
Dharmadhikari, Principal of Sandip Polytechnic, Nashik, for his comments and kind
permission to complete this project. We remain indebted to Prof. V.B. Ohal, H.O.D
Computer Engineering Department for their timely suggestion and valuable guidance.
The special gratitude goes my guide Prof. Rashmi Deshpande and staff members,
technical staff members of Computer Engineering Department for their expensive,
excellent and precious guidance in completion of this work. We thank to all the colleagues
for their appreciable help for our working project.
With various industry owners or lab technicians to help, it has been our endeavor to
throughout our work to cover the entire project work.
We are also thankful to our parents who providing their wishful support for our
project completion successfully.
And lastly we thanks to our all friends and the people who are directly or indirectly
related to our project work.
ABHIMAN JAVRE
SHIVAM SHIRSATH
SHABDAJ MESHRAM
NILESH PATIL
add
INDEX
Page
Chapter No. Particular
No.
Abstract 1
1 Preamble 2
1.1 Introduction 2
1.2 Review of Literature 3
1.3 Problem Statement 4
1.4 Proposed System 5
2 System Architecture 8
2.1 Methodology 8
2.2 Modules 10
4 System Modeling 14
4.1 Dataflow Diagrams 15
4.2 UML Diagram 18
5 Implementation Details 23
5.1 Implementation 23
5.2 Language Used 23
5.3 Platform Used 26
5.4 Time & Cost 28
6 Coding 30
7 Testing 44
7.1 Unit Testing 44
7.2 Integration Testing 44
7.3 Validation Testing 45
7.4 GUI Testing 45
7.5 Test Cases and Results 46
8 Conclusion
8.1 Advantages
9 Future Scope
10 References
11 Appendix A
11.1 SCREENSHOTS
FIGURE INDEX
Page
Figure No. Particular
No.
2.1 Waterfall Model of Software Development 08
4.1.1 Level 0 DFD 15
4.1.2 Level 1 DFD 15
4.1.3 Level 2 DFD 16
4.2.1 Sequential diagram 19
4.2.2 Use Case Diagram 21
4.2.3 Activity Diagram 22
11.1.1 Index Page 51
11.1.2 Admin Login Page 52
11.1.3 User Login Page 53
11.1.4 NGO Login Page 53
11.1.5 Admin Dashboard 54
11.1.6 NGO Dashboard 54
11.1.7 User Dashboard 55
11.1.8 DATABASE TABLE’S 59
TABLE INDEX
Page
Table No. Particular
No.
7.3.1 TEST CASE FOR LOGIN PAGE
7.3.2 TEST CASE FOR CUSTOMER LOGIN
7.3.3 TEST CASE FOR CUSTOMER LOGIN ATTEMPT
7.3.4 TEST CASE FOR CUSTOMIZE PERFUME PAGE
7.3.5 TEST CASE FOR VENDOR LOGIN
7.2.6 TEST CASE FOR VENDOR LOGIN ATTEMPT
7.2.7 TEST CASE FOR VENDOR APPROVE ORDER
7.2.8 TEST CASE FOR VENDOR DELETE ORDER
7.2.9 TEST CASE FOR DELETE VENDOR ACCOUNT
7.2.10 TEST CASE FOR CUSTOMER DELETE ACCOUNT
7.2.11 TEST CASE FOR CUSTOMER CHATBOX
7.2.12 TEST CASE CUSTOMER LOGOUT
ABSTRACT
We have Designed a Web portal for Connecting NGO’S that is very usefulplatform for
needy people for fastest help. Such Needy people will visit our web portal and ask for help. Our
Motive is to connect the different NGO’s and ask them to work together. In our web portal there
will be 3 modules which will work. 1st module is of admin, 2nd is of NGO module, 3rd module
is for user. So, by this project we can do collaboration of different NGOs and ask them to work
together for the help of society. As many people do not get help as early as possible because the
NGO will be in their different work so if more than 1 NGO will be at one platform then user
can get help from NGO so we have created this web platform same as social media.
1.1 INTRODUCTION
Unlike conventional processes, in which NGOs operate in isolation, our net portal
establishes a cohesive atmosphere that facilitates seamless communiqué and collaboration
amongst agencies with shared targets. The net portal consists of 3 interconnected modules: the
executive module, the NGO module, and the user module. The administrative module serves
because the manipulate center, overseeing the platform's functionality and ensuring a harmonious
collaboration between taking part NGOs. The NGO module offers a devoted space for businesses
to exhibit their know-how, tasks, and regions of consciousness, fostering surroundings conducive
to mutual know-how and collaboration. Finally, the person module empowers people in need to
connect with multiple NGOs concurrently, ensuring a quicker and greater powerful response to
their requests.
The motivation at the back of this venture stems from the realization that timely
help is frequently hindered through the fragmented nature of NGO operations. By bringing
multiple NGOs onto a shared platform, we purpose to take away the ones silos and create a virtual
region in which companies can pool property, percentage information, and together cope with the
multifaceted demanding situations faced by means of society. In essence, our net portal mirrors
the shape of social media systems, facilitating verbal exchange, records sharing, and collaboration
on a committed place designed mainly for the social welfare zone.
This chapter comprises of the literature review and theoretical background of the
project. The literature review deals basically with related project written by other researchers, the
difficulties they encountered, limitations and modifications that should be made.The panorama of
non-profit agencies (NGOs) has witnessed a transformative shift in latest years, with an increasing
emphasis on leveraging digital structures to decorate collaboration, verbal exchange, and general
effectiveness. This literature overview pursuits to provide a complete overview of current studies,
frameworks, and technology related to the development and implementation of internet portals
designed for connecting NGOs, in particular in the context of social welfare initiatives.
1. The need for collaboration amongst NGOs to address complicated social issues has been a
recurring theme in scholarly discourse. Studies through Smith et al. (2017) and Johnson
and Williams (2019) emphasize the potential effect of collaborative efforts, highlighting
2. Recognizing the barriers to effective collaboration is crucial for the success of any
collaborative platform. Research by Thomas and Rodriguez (2016) and Kumar et al. (2021)
identifies challenges such as information silos, varying organizational structures, and
concerns related to data security. Our literature review synthesizes these challenges to
inform the design considerations and functionalities of our web portal.
3. Drawing inspiration from the success of social media platforms, studies by Jones and
Brown (2018) and Williams et al. (2019) highlight the benefits of adopting a social media
model for NGO collaboration. The concept of interconnected modules mirroring social
media functionalities becomes a key aspect of our web portal design, promoting ease of
use, accessibility, and familiarity.
The proposed system for the Charity Link-NGO Collaboration Welfare Portal aims
to provide a platform for charitable organizations (Charity Link) and non-governmental
organizations (NGOs) to collaborate on social welfare initiatives while ensuring data privacy and
security for users, promoting accessibility and inclusivity for underserved communities, and
facilitating resource mobilization efforts.Users will be required to register and provide basic
information such as name, email address, and password. Upon registration, users will be
authenticated through email verification.Each user will have a personalized dashboard that
displays their profile information, recent activities on the portal, notifications about upcoming
events or initiatives they can participate in or support.
Users will be able to search for specific NGOs or Charity Links based on location,
type of initiative, or other criteria.Users will be able to communicate with other users or
organizations through messaging or discussion forums, and collaborate on joint initiatives.Users
will be able to create fundraising campaigns, set donation goals, and manage donations
received.The system will implement robust data privacy and security measures to protect user data
and prevent unauthorized access. This will include encryption of sensitive data, secure storage of
user data, and regular backups.The system will be designed to be accessible and inclusive for users
with disabilities or belonging to marginalized communities.
This will include support for assistive technologies such as screen readers, and the
provision of resources and information in multiple languages.The system will enable users to track
progress towards their goals through robust analytics and reporting features. This will include the
generation of impact reports that can be shared with stakeholders or funding agencies.The
proposed system for the Charity Link-NGO Collaboration Welfare Portal aims to provide a
comprehensive platform for charitable organizations and NGOs to collaborate on social welfare
initiatives, while ensuring data privacy and security, promoting accessibility and inclusivity, and
facilitating resource mobilization efforts.
Analysis is the process of finding the best solution to the problem. System analysis
is the process by which we learn about the existing problems, define objects and requirements and
evaluates the solutions. It is the way of thinking about the organization and the problem it involves,
a set of technologies that helps in solving these problems. Feasibility study plays an important role
in system analysis which gives the target for design and development.
Feasibility Study
A key part of the preliminary investigation that reviews anticipated costs and
benefits and recommends a course of action based on operational, technical, economic, and time
factors. The purpose of the study is to determine if the systems request should proceed further.
• Technical Feasibility: The system being developed is economic. It is cost effective in the
sense that it has eliminated the registered work completely. The system is also time
effective because the calculations are automated which are made at the end of the paper or
as per the student requirement. The result obtained contains fewer errors and are highly
accurate as the data is required.
• Economic feasibility: The technical requirement for the system is economic and it does
not use any other additional Hardware and software.
• Behavioural Feasibility: The system working is quite easy to use and learn due to its
simple but attractive interface. User requires no special training for operating the system.
Analysis
Technical Analysis The performance of the system can be increased if the technical
analysis is done well. The systems hardware requirements must be taken into consideration. The
software must go hand in hand with the hard ware else the efficiency of the system deteriorates
• Required skills: Platforms tools used this project are widely used.
• Acceptability: The structure of the system is kept feasible enough so that there should not
be any problem from the users point of view
2.1 METHODOLOGY
In this model we used waterfall model for development of the web application.
Waterfall Model:
SLDC Model:
1. Planning:
It is performed by the senior members of the team with inputs from the customer, the sales
department, market surveys and domain experts. This information is then used to plan the
2. Defining:
Next step is to clearly define and document the product requirements and get them
approved from the customer or the market analysts.
3. Designing:
Based on the requirements specified in SRS, usually more than one design approach for
the product architecture is proposed and documented. This is reviewed by all the important
stakeholders and based on various parameters as risk assessment, product robustness,
design modularity, budget and time constraints, the best design approach is selected for the
product. A design approach clearly defines all the architectural modules of the product
4. Building:
The actual development starts and the product is built. The programming code is generated.
If the design is performed in a detailed and organized manner, code generation can be
accomplished without much hassle. The programming language is chosen with respect to
the type of software being developed.
5. Testing:
This stage is usually a subset of all the stages as in the modern SDLC models, the testing
activities are mostly involved in all the stages of SDLC. However, this stage refers to the
testing only stage of the product where product defects are reported, tracked, fixed and
retested, until the product reaches the quality standards defined in the SRS.
6. Deployment:
Once the product is tested and ready to be deployed it is released formally.
• Admin:
a. Login (Email, Password)
b. View NGO List
c. Accept//Reject NGO request (verify document)
d. View all data of users
e. Transaction history
• NGO:
a. Registration
b. Login
c. View fund request of user
d. View other NGO list
e. Message other NGO/ Contact other NGO’s
f. Donate money/funds
• Users:
a. Register
b. Login
c. Request funds (NGO’s)
d. Request other things(food/cloths)
e. Donate
a) Fund (Money)
b) Anything
At the same time, the DFD refinement results in a corresponding refinement of the
data as it moves through the process that embody the applications. A context-level DFD for the
system the primary external entities produce information for use by the system and consume
information generated by the system. The labeled arrow represents data objects or object hierarchy
The context diagram is the most abstract data flow representation of a system. It
represents the entire system as a single bubble and. The various external entities with which the
system interacts and the data flows occurring between the system and the external entities are also
represented. The name context diagram is well justified because it represents the context in which
the system is to exist i.e. The external entities (users) that would interact with the system and
specific data items they would be receiving from the system.
1. Sequential diagram:
A sequential diagram is a type of interaction diagram in UML (Unified
Modeling Language) that illustrates the interactions between objects or components in a
system over time. It is also known as a sequence diagram or event diagram.
These diagrams are used to represent dynamic aspects of the system. UML has
The following five types of behavioral diagrams :
i. Use case diagram
ii. Activity diagram
Use case diagram can be useful for getting an overall view of the system and
clarifying who can do and more importantly what they can’t do. Use case diagram
consists of use cases and actors and shows the interaction between the use case and
actors
• The purpose is to show the interactions between the use case and actor.
• To represent the system requirements from user’s perspective.
• An actor could be the end-user of the system or an external system
Activity diagram are the flowcharts, showing the flow of control from activity to
activity. Activity diagrams represent the business and operational work flows of a system.
Activity diagrams consist of nodes, edges, and swim lanes. Nodes represent the
activities or actions within the system, while edges represent the flow of control between the
activities. Swim lanes represent different actors or groups involved in the process.
5.1 IMPLEMENTATION
FRONT-END: -
HTML:
Hypertext Markup Language (HTML) is the standard markup language for
documents designed to be displayed in a Desktop browser. It can be assisted by technologies such
as Cascading Style Sheets (CSS) and scripting languages such as JavaScript. Desktop browsers
receive HTML documents from a Desktop server or from local storage and render the documents
into multimedia Desktop pages.
CSS:
Cascading Style Sheets (CSS) is a style sheet language used for describing the
presentation of a document written in a markup language like HTML.CSS is a cornerstone
technology of the World-Wide Desktop, alongside HTML and JavaScript.
CSS information can be provided from various sources. These sources can be the
Desktop browser, the user and the author. The information from the author can be further classified
into inline, media type, importance, selector specificity, rule order, inheritance and property
definition. CSS style information can be in a separate document or it can be embedded into an
HTML document. Multiple style sheets can be imported.
Different styles can be applied depending on the output device being used; for
example, the screen version can be quite different from the printed version, so that authors can
tailor the presentation appropriately for each medium. The style sheet with the highest priority
controls the content display. Declarations not set in the highest priority source are passed on to a
source of lower priority, such as the user agent style. The process is called cascading. One of the
goals of CSS is to allow users greater control over presentation. Someone who finds red italic
headings difficult to read may apply a different style sheet.
JavaScript:
JavaScript is a versatile and dynamic programming language that plays a pivotal
role in shaping the interactive elements of the modern web. Developed in the mid-1990s,
JavaScript has evolved into a key player in web development, enabling developers to create
dynamic, engaging, and responsive user interfaces.
BACK-END: -
Java Language:
Java is an object oriented, robust programming language. (Dot) java is the extension
given to the java file. When compiled it is converted automatically into (Dot) class format.
Compiler than compiles the source code and then converts it into (Dot) class extension. This file
now consists of byte code that is fed to the Java Virtual Machine (JVM). As this JVM can run on
any machines such as Linux, Windows, Unix with the byte code format of our source code. Hence
Java language is called as platform independent i.e. it follows WORA (Write Once Run Anywhere)
Architecture.
Each browser employs a rendering engine to interpret and display web content, and
they continually evolve to support the latest web standards and technologies. Browser developer
tools provide insights into the structure and behavior of web pages, aiding developers in debugging
and optimizing their code. The competition among browsers has fueled innovation, leading to
faster rendering speeds, improved security features, and enhanced support for emerging web
standards.
As users interact with the internet on a daily basis, the choice of a web browser can
significantly impact their online experience. Developers, in turn, strive to create web applications
that not only function seamlessly across different browsers but also take advantage of specific
features to provide an optimal user experience. In the ever-evolving landscape of web
development, the browser remains a critical component, acting as a conduit for the execution and
The Eclipse IDE offers a comprehensive set of tools, including code editors,
debugging capabilities, and version control integration, streamlining the development process and
enhancing productivity. Its user-friendly interface caters to both novice and experienced
developers, fostering a collaborative and efficient coding environment. Eclipse has also played a
significant role in fostering open-source collaboration, hosting numerous projects and initiatives
that contribute to the global development community.
XAMPP
XAMPP, an acronym for Cross-Platform (X), Apache (A), MySQL (M), PHP (P),
and Perl (P), is a widely-used open-source software package designed to facilitate the development
and testing of dynamic web applications. Created by Apache Friends, XAMPP provides a
convenient and comprehensive environment for developers to set up a local web server on their
computers. This package includes essential components such as the Apache HTTP Server, MySQL
database, PHP, and Perl, creating a seamless integration that allows users to emulate a web hosting
Whether you are a novice developer looking to experiment with web technologies
or an experienced professional seeking a reliable local server solution, XAMPP remains a go-to
choose for its user-friendly interface, robust components, and widespread community support. It
serves as an invaluable tool for testing and refining web applications before deploying them to a
live server, contributing significantly to the efficiency and success of web development projects.
Phases Time
(Days)
Analysis 30
Design 40
Coding 70
Testing 40
Documentation 30
Maintenance 40
Total time 250
Days
admin_login.java
package charity.com;
import java.io.IOException;
import java.io.PrintWriter;
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;
/**
* Servlet implementation class AdminLogin
*/
@WebServlet("/AdminLogin")
public class AdminLogin extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public AdminLogin() {
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.getContextPath());
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
String email=request.getParameter("Email");
String pass=request.getParameter("Password");
PrintWriter pw=response.getWriter();
if (email.equals("admin@gmail.com")&&pass.equals("admin"))
{
response.setContentType("text/html");
pw.println("<script type=\"text/javascript\">");
pw.println("alert('Login Successful');");
pw.println("</script>");
RequestDispatcher
rd=request.getRequestDispatcher("AdminDashboard.html");
rd.include(request, response);
}
else
{
response.setContentType("text/html");
pw.println("<script type=\"text/javascript\">");
pw.println("alert('Wrong email or password');");
pw.println("</script>");
RequestDispatcher rd=request.getRequestDispatcher("Adminlogin.html");
rd.include(request, response);
}
}
User_login.java
package charity.com;
import java.io.IOException;
import java.io.PrintWriter;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import javax.servlet.RequestDispatcher;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
/**
* Servlet implementation class UserL
*/
@WebServlet("/UserL")
public class UserL extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public UserL() {
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.getContextPath());
*/ }
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
// TODO Auto-generated method stub
doGet(request, response);
String email,pwd;
email=request.getParameter("Email");
pwd=request.getParameter("Password");
Connection Con=ConnectionDB.getCon();
try{
ResultSet rs=ps.executeQuery();
if(rs.next())
{
String Email=rs.getString("email");
UserInfo.setEmail(Email);
int Id=rs.getInt("id");
UserInfo.setId(Id);
String name=rs.getString("name");
UserInfo.setName(name);
String mobile=rs.getString("mobile");
UserInfo.setMobile(mobile);
response.setContentType("text/html");
pw.println("<script type=\"text/javascript\">");
pw.println("alert('Login Successful');");
pw.println("</script>");
RequestDispatcher
rd=request.getRequestDispatcher("UserDashboard.html");
rd.include(request, response);
}
else
{
response.setContentType("text/html");
pw.println("<script type=\"text/javascript\">");
pw.println("alert('Wrong User Credentials');");
pw.println("</script>");
RequestDispatcher rd=request.getRequestDispatcher("UserLogin.html");
rd.include(request, response);
}
catch(Exception e)
{
e.printStackTrace();
}
Ngo_login.java
package charity.com;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class UserR
*/
@WebServlet("/UserR")
public class UserR extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public UserR() {
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.getContextPath());
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
String name,mobno,email,pwd,address;
name=request.getParameter("Name");
mobno=request.getParameter("mono");
email=request.getParameter("Email");
pwd=request.getParameter("Password");
address=request.getParameter("Address");
try{
ps2.setInt(1,0);
ps2.setString(2,name);
ps2.setString(3,mobno);
ps2.setString(4,email);
ps2.setString(5,pwd);
ps2.setString(6,address);
int i=ps2.executeUpdate();
if(i>0)
{
System.out.println("welcome");
response.sendRedirect("UserDashboard.html");
}
else{
System.out.println("Hi");
response.sendRedirect("UserRegistration.html");
}
}
catch(Exception e){
e.printStackTrace();
}
}
package charity.com;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class Requestmoney
*/
@WebServlet("/Requestmoney")
public class Requestmoney extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public Requestmoney() {
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.getContextPath());
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
// TODO Auto-generated method stub
doGet(request, response);
money=request.getParameter("moneyReq");
accno=request.getParameter("accno");
amount=request.getParameter("amount");
try{
Connection Con=ConnectionDB.getCon();
PreparedStatement ps2=Con.prepareStatement("insert into moneyrequest
values(?,?,?,?,?,?,?)");
ps2.setInt(1,0);
ps2.setString(2, UserInfo.getName());
ps2.setString(3, UserInfo.getMobile());
ps2.setString(4, UserInfo.getEmail());
ps2.setString(5, money);
ps2.setString(6, accno);
ps2.setString(7,amount);
int i=ps2.executeUpdate();
if(i>0)
{
System.out.println("Welcome");
response.sendRedirect("UserDashboard.html");
}
else{
System.out.println("Fail");
response.sendRedirect("RequestMoney.html");
catch(Exception e){
e.printStackTrace();
}
}
package charity.com;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class MoneyDonate
*/
@WebServlet("/MoneyDonate")
public class MoneyDonate extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public MoneyDonate() {
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.getContextPath());
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
// TODO Auto-generated method stub
doGet(request, response);
String Name,email,accno;
Connection Con=ConnectionDB.getCon();
try{
PreparedStatement ps2=Con.prepareStatement("insert into donatemoney
values(?,?,?,?,?,?)");
ps2.setInt(1,0);
/*ps2.setString(2,Name);*/
ps2.setString(2,email);
ps2.setString(3,accno);
ps2.setInt(4,amount);
ps2.setString(5, UserInfo.getName());
ps2.setString(6, UserInfo.getEmail());
int i=ps2.executeUpdate();
if(i>0)
{
System.out.println("Amount Transfer");
response.sendRedirect("Ngodashboard.html");
}
else{
System.out.println("Fail to Transfer");
response.sendRedirect("DonateMoney.html");
catch(Exception e){
e.printStackTrace();
package charity.com;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class Userfoodclothesdonate
*/
@WebServlet("/Userfoodclothesdonate")
public class Userfoodclothesdonate extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public Userfoodclothesdonate() {
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.getContextPath());
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
// TODO Auto-generated method stub
doGet(request, response);
Name=request.getParameter("name");
email=request.getParameter("email");
address=request.getParameter("address");
Category=request.getParameter("category");
fundqty=request.getParameter("funqty");
Connection Con=ConnectionDB.getCon();
try{
int i=ps2.executeUpdate();
if(i>0)
{
System.out.println("Dispatch");
response.sendRedirect("UserDashboard.html");
}
else{
System.out.println("Fail to Dispatch");
response.sendRedirect("UserFoodClothesDonate.html");
catch(Exception e){
e.printStackTrace();
Donate_foodclothes.java
package charity.com;
import java.io.IOException;
import java.sql.Connection;
import java.sql.PreparedStatement;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
/**
* Servlet implementation class ClothesFoodDonate
*/
@WebServlet("/ClothesFoodDonate")
public class ClothesFoodDonate extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public ClothesFoodDonate() {
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.getContextPath());
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
// TODO Auto-generated method stub
String Name,email,Category,address,fundqty;
/*Name=request.getParameter("name");
*/ email=request.getParameter("email");
address=request.getParameter("address");
Category=request.getParameter("category");
fundqty=request.getParameter("funqty");
Connection Con=ConnectionDB.getCon();
try{
int i=ps2.executeUpdate();
if(i>0)
{
System.out.println("Dispatch");
response.sendRedirect("Ngodashboard.html");
}
else{
System.out.println("Fail to Dispatch");
response.sendRedirect("FoodClothesDonate.html");
catch(Exception e){
e.printStackTrace();
}}
1. Increased visibility and reach: A charity link-ngo collaboration welfare portal provides
a centralized platform for NGOs to showcase their initiatives and connect with potential
donors and partners. This increases the visibility and reach of the initiatives and allows
them to attract more resources and support from various stakeholders in the community
and beyond.
2. Improved resource mobilization: A charity link-ngo collaboration welfare portal
facilitates resource mobilization efforts by providing a platform for NGOs to share
resources, collaborate on initiatives, and access funding opportunities. This helps
NGOs to maximize the impact of their resources and achieve their goals more
efficiently
3. Enhanced collaboration and partnership building: A charity link-ngo collaboration
welfare portal promotes collaboration and partnership building by providing a platform
for NGOs to connect with each other, share best practices, and learn from each other's
experiences. This helps NGOs to build stronger networks and partnerships, which can
lead to more effective and sustainable initiatives.
4. Better data management and analysis: A charity link-ngo collaboration welfare portal
allows NGOs to manage and analyze data related to their initiatives, such as donations,
resources, and outcomes. This helps NGOs to make more informed decisions and
improve the effectiveness and impact of their initiatives.
5. Increased transparency and accountability: A charity link-ngo collaboration welfare
portal promotes transparency and accountability by providing donors and stakeholders
with access to detailed information about NGOs and their initiatives, such as financial
reports, impact reports, and verification reports. This helps NGOs to build trust and
credibility with their stakeholders and demonstrate the effectiveness and impact of their
initiatives.
Websites:
• GoFoundMe: https://ww.gofoundme.com/
• Kickstarter: https://www.kickstarter.com/
• Indiegogo: https://www.indiegogo.com/
• DonorsChoose: https://www.donorschoose.org/