Main Data-2
Main Data-2
1
1.1 Company Profile
2
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 SSP Technology aim and are continuously approaching towards
customer satisfaction and create a value to customer along with
yielding knowledge for us by maintaining a motivated workforce.
Our Services
SSP technology provides various Software Development services to
the clients located worldwide in order to rationalize their business
processes and e-enabling their business. We, at SSP Technology
strongly believe that technology is a true business enhancer and you
should not implement technology for the sake of it. That's why; we
help you make best use of information technology. With the use of our
services such as application development, application migration and
application maintenance for your existing applications, you can
formulate the best possible use of technology. We are a team of
professional organization teamed by competent, committed, qualified
and experienced personnel in various field. With the help of our
commitment to professionalism and excellence. The programmers we
design are developed to meet specific organizational needs. We provide
a service that provides clients with value for each rupee invested. So
3
feel free to come forward and avail the opportunity of getting
reasonably priced consultancy services from us.
Business Services-
Business Analytics
Business Process Services
4
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
TimeDelay
User has to access or utilize all services offered by all the service
providers. Since all the services are offered by different organizations
it takes lot of time to make recharges of each and every organization
.
Redundancy
There are different recharging coupons available for each and every
5
service provider but the problem is shop keeper has to maintain all the
things and has to be given to the customer what they are looking for.
Shop Keeper should have the knowledge of all the coupons available.
It is very difficult for any one to maintain these many numbers of
coupons.
Accuracy
Since there is much service providers and so many recharge coupons
of each and every service providers there is a problem for the shop
keeper to maintain all the coupons and the problem with the individual
user that they have to make the manual recharging facility and it
ultimately becomes a headache to all kind of users.
Conclusion:
Online Mobile Recharge project provides all the information related to
all the Service Providers and also gives the facility of making the
recharging for all the Service Providers under one application at any
time and from anywhere. It is beneficial for both individual user and
also the people who are into business like the shop keepers. It also
provides the complete information of all the recharge coupons of
different Service Providers to all users.
1.2.1 Need for System
6
To enhance the working of the organization, which was completely
handled manually, the improvements was thought on the basis of
computerizing the major activities. They are:
7
Security mechanism: Database can be secured by
applying password in encryption and decryption techniques.
8
Globalsoft Technology is the website development company .It works
for all type of client's that is big,medium and small client also .Our
company has many customers for website development project and it is
the core work of the company .we have been appointed to work for
developing a new website which will be use for all type of recharges
like Mobile,DTH,Datacard according to our client request.
This site have been provide many features like authentication
and authorization for accessing pages,any user can sign up and login
with its own created id and password and can do recharge online easily.
This pay u circle website consist of following models:
I) Admin Module
II)Customer or Member Module
I)Admin Module:
Admin module is used to handle user .Admin can do many
function like he can add the services like Mobile,DTH,Datacard can
also add the customer .Admin can update and delete the records which
he may think of no use .Admin can search the particular user, can send
the messages to user ,admin is able to deactivate user account which is
not active long period of time.
If user have any problem he has to send the ticket to admin,then
admin will solve the problem.
Admin can generate many functions which are as follows:
i) All customer or user report.
ii) Total customer count report.
iii) Date to date earning report.
iv) Total user balance report.
v) Report of recent user transfer point.
vi) Recent recharge report.
9
vii) Recent user load amount report .
II) Customer or Member Module:
One's the person will become the member of the site then his
able to see his profile any time by using his id and password which is
unique for every user .customer can help other customer to transfer
point,customer can see his balance of his wallet and can recharge from
the wallet amount or by using this credit or debit ,customer can share
promotional link on various website like Facebook ,Twitter,Google+ or
share link via message,also by using whatup,email account like
bluetooth transfer or text message.
Customer have some rights given by the site like he can view
his recharge status,his able to see the transfer point report and can see
his recharge history.
10
Hardware Specifications (Client Side)
Minimum 512MB and
RAM
above
Minimum 40 GB and
Hard Disk
above
Pentium-IV and
Processor
above
11
Database MYSQL
Eclipse Indigo
Development Tool(Editor) Jasper Report
iReport
Server Tomcat 7.0
12
Java and Open Source
In 2006 Sun started to make Java available under the GNU General
Public License (GPL). Oracle continues this project called OpenJDK.
Characteristics of Java
The target of Java is to write a program once and then run this program
on multiple operating systems.
13
conversion to other objects is relatively strict, e.g., must be done in
most cases by the programmer.
While the garbage collector relieves the programmer from the need
to explicitly manage memory, the programmer still need to ensure
that he does not keep unneeded object references, otherwise the
garbage collector cannot release the associated memory. Keeping
unneeded object references are typically called memory leaks.
14
developers insert java code in HTML pages by making use of
special JSP tags, most of which start with <% and end with %>.
JSP Architecture:
15
MVC Architecture:
16
presentable response. The MVC abstraction can be graphically
represented as follows.
The model
The view
The controller
17
controller receives the input, it validates the input and then
performs the business operation that modifies the state of the
data model.
Struts 2.0:
2) Tag support - Struts2 has improved the form tags and the new tags
allow the developers to write less code.
18
3)AJAX support - Struts2 has recognised the take over by Web2.0
technologies, and has integrated AJAX support into the product by
creating AJAX tags, that function very similar to the standard Struts2
tags.
Actions
Interceptors
View technologies
19
Struts 2 is slightly different from a traditional MVC
framework in that the action takes the role of the model rather
than the controller, although there is some overlap.
APACHE TOMCAT
20
Apache Tomcat is an open-source web server and servlet container
developed by the Apache Software Foundation (ASF). Tomcat
implements several Java EE specifications including Java Servlet,
JavaServer Pages (JSP), Java EL, and WebSocket, and provides a "pure
Java" HTTP web server environment for Java code to run in.
1. Catalina:
Catalina is Tomcat's servlet container. Catalina implements Sun
Microsystems' specifications for servlet and JavaServer Pages (JSP).
2. Coyote:
Coyote is a Connector component for Tomcat that supports the HTTP
1.1 protocol as a web server. This allows Catalina, nominally a Java
Servlet or JSP container, to also act as a plain web server that serves
local files as HTTP documents.
3. Jasper:
Jasper is Tomcat's JSP Engine. Jasper parses JSP files to compile them
into Java code as servlets (that can be handled by Catalina). At
runtime, Jasper detects changes to JSP files and recompiles them.
21
INTRODUCTION OF MySQL
Using MySQL one can create and maintain data manipulation objects
such as table, views, sequence etc. These data manipulation objects
will be created and stored on the server's hard disk drive, in a table
space, to which the user has been assigned.
Once these data manipulation objects are created, they are used
extensively in commercial applications.
22
CHAPTER 2 : PROPOSED SYSTEM
23
2.1 Proposed System
Even there are website for all these things, but at the end what we see,
for everything we go for different website and these website has a
different policies such as user have to create a different credentials to
get the detail information, this is just the basic.
Hence we are going to build a website which will act as a one stop
recharge wallet. It will provide all facilities of recharge for all types of
SimCard companies on a single website itself. Characterized by unity,
users can engage in special interest sections which include the main
modules like schemes for simcard recharge and DTH recharge also.
The model also provides facility for the user such as whenever he/she
recharge from the website they will get the credits for that recharge and
also the user will refer this site to other friends while social
communication medium. Also, The website also provide a toll free no
to the registered user so that whenever there Internet is not available at
that time the registered user can perform their recharge by just sending
the message on the toll free number this is one of the big advantage of
using this websites.
2.2) Feasibility Study
24
System must meet the user needs
System must be economically feasible
System should be able to operate the system easily and
efficiently.
25
low cost. Lastly, Inventory Management system does not involve any
kind of large operating or maintenance costs as well as no storage costs
as such.
26
2.2 Objectives of System
Following are the important objectives of the project:
27
2.3) User Requirements
Functional Requirement
The functional requirements of this system are as follows:
Share Link : User Can Share Their Own Link.
Non-functional requirements
The Nonfunctional requirements are as follows:
Security
28
For maximum security, each member must protect their
password.
Reliability:
System will prompt the user if any incorrect input is
made.
To handle data consistency, DBMS software is used.
Maintainability:
Proper documentation is available for further up
gradation and maintenance.
User will be trained enough to handle the minor
changes required.
Availability:
The system shall be available all the time i.e 24*7*365.
Portability:
System is independent of hardware specification.
It can run on any operating system
System is independent of browser compatibility because
web pages will be designed by JSP and Servlet.
Performance:
The performance of our product is at its best if stored
locally, as the response time will be much faster.
29
.User Friendly:
Our system is very easy to use and user friendly. Its
GUI is very attractive and understandable to the common users.
30
3.1 Architecture Over View
MVC Architecture:
31
presentable response. The MVC abstraction can be graphically
represented as follows.
The model
The view
The controller
32
3.2) Use Case Diagrams
Overview:
A use case diagram is a graphic depiction of the interactions among the
elements of a system.
33
Global Use Case Diagram:
34
Use case diagram for Registration and login:
35
Use case diagram for Recharge process:
36
3.3) Activity Diagram
Overview:
37
Activity diagram is another important diagram in UML to describe
dynamic aspects of the system.
So the control flow is drawn from one operation to another. This flow
can be sequential, branched or concurrent. Activity diagrams deals
with all type of flow control by using different elements like fork, join
etc.
Purpose:
Activity diagrams are not only used for visualizing dynamic nature of
a system but they are also used to construct the executable system by
using forward and reverse engineering techniques.
38
Activity diagram for Login:
39
Activity Diagram For Mobile Recharge:
40
Activity Diagram For DTH Recharge:
41
Activity Diagram For DTH Recharge:
42
Activity Diagram For Data card Recharge:
43
Activity Diagram For Payment Detail:
44
Sequence diagram
Overview
45
Sequence diagram is the most common kind of interaction diagram,
which focuses on the message interchange between a number
of lifelines.
The following nodes and edges are typically drawn in a UML sequence
diagram: lifeline, execution specification, message, fragment,
interaction, state invariant, continuation, destruction occurrence.
Sequence diagram:
Sequence diagram for Login:
46
Sequence diagram for Recharge:
47
Sequence diagram for Payment:
48
Class Diagram:
49
Overview:
The class diagram is a static diagram. It represents the static view of
an application. Class diagram is not only used for visualizing,
describing and documenting different aspects of a system but also for
constructing executable code of the software application.
Purpose:
The purpose of the class diagram is to model the static view of an
application. The class diagrams are the only diagrams which can be
directly mapped with object oriented languages and thus widely used
at the time of construction.
50
3.6 Class Diagram
51
Deployment diagram
Overview:
Deployment diagrams are used to visualize the topology of the
physical components of a system where the software components are
deployed.So deployment diagrams are used to describe the static
deployment view of a system. Deployment diagrams consist of nodes
and their relationships.
Purpose:
The name Deployment itself describes the purpose of the diagram.
Deployment diagrams are used for describing the hardware
components where software components are deployed. Component
diagrams and deployment diagrams are closely related.
52
3.7.1 Deployment Diagram:
53
3.8 Web Site Map Diagram
Start
54
Admin Customer
Cust Login
Admin Login
Recharge Process
Add
Recharge
Service
s Transfer Point
Customer
Genr
Ticket
View
View
Member Recharge
List Status
Total Transfer
Earnings Point
Report Ticket
Recharge Status
Customer
Earnings Successful
Transfer Point Pending
Logout Logout
1)
Table Name :Member_reg
Primary Key :mem_id
Description member registration
55
Fie Field Name Da Data Type Siz Size
C D Description
Constraints
mem_id Integer 4 Primary key Member id
mem_email Varchar 30 Not Null Member mail id
mem_pwd Double 8 Not Null Password
mem_mob Varchar 10 Not Null Mobile no
mem_refid Int 5 Not Null Member reference id
mem_status Varchar 50 Not Null status
mem_act Varchar 10 Not Null Activation
mem_datetime Date Not Null Registration date
2)
Table Name : Recharge
Primary Key :rech_id Foreign key : mem_id
Fie Field Name Da Data Type Siz SizeC Constraints De Description
rech_id Integer 4 Primary key Recharge id
rech_info Varchar 50 Not Null Recharge info
56
rech_number Varchar 20 Not Null Mobile no
mem_id Double 4 Foreign key Member id
rech_date Date Not Null Date
Rec rech_amt Varchar 6 Not Null Amount
R rech_operator Varchar 25 Not Null Operator
Re rech_result Varchar 50 Not Null Status
rech ref_id Integer 5 Not Null P Payment gateway
reference id
3)
Table Name :Mobile
Primary Key :m_id Foreign key:mem_id
Description :Mobile Recharge Detail
57
m_date Datetime Not Null Recharge date
m_operator Varchar 20 Not Null Mobile operator
m_no Varchar 10 Not Null Mobile number
rech_amt Varchar 6 Not Null Recharge amount
mem_id Integer 4 Foreign key Member id
4)
Table Name : dth
Primary Key : dth_id Foreign key:mem_id
Description : DTH Recharge Detail
58
dth_date Datetime Not Null Recharge date
dth_operator Varchar 20 Not Null Dth operator
dth_no Varchar 16 Not Null Dth number
dth_amt Varchar 6 Not Null Recharge amount
Me m_id Integer 4 Foreign Key Member id
dth_status Varchar 25 Not Null Recharge status
5)
Table Name : datacard
Primary Key : datacard_id Foreign key:mem_id
Description : Datacard Recharge Detail
59
datac_date Datetime Not Null Datacard Recharge
datac_operator Varchar 10 Not Null Datacard operator
datac_no Varchar 16 Not Null Datacard number
datac_amt Varchar 6 Not Null Datacard Recharge am
Me mem_id Integer 4 Foreign Key Member id
datac_status Varchar 25 Not Null Datacard Recharge st
6)
Table Name : Bank_Detail
Primary Key :bank_id Foreign Key : member _id
Description : user bank detail
60
Bank_name Varchar 15 not Null Bank name
7)
Table Name:Member details
Primary key:memberdetail_id
61
Field Name Data type Size Constraints Description
8)
Table Name : Transfer wallet point
Primary Key : tran_wpid Foreign key : mem_id
62
tran_wpid Integer 4 Primary key Transfer Id
tran_wpdate Date Not Null Transaction date
tran_wppoint Varchar 8 Not Null Wallet Point
mem_id Integer 4 Foreign key Member id
tran_wpmemid Integer 5 Not Null From whom account
transfer
9)
Table Name :Support_ticket
Primary Key :ticket_id Foreign key :mem_id
Description Generate support ticket
Fie Field Name
Da Data TypeSiz SizeCo Constraints
De Description
63
ticket_id Integer 4 Primary key Ticket Id
email_id Varchar 20 Foreign key Email Id
mobile_no Varchar 16 Not Null Mobile no on which
recharge
operator Varchar 16 Not Null Operator
Integer 4 Foreign key Transaction id
trans_id
amount Varchar 8 Not Null Amount
mem_id Integer 4 Forign key Member id
Status Varchar 10 Not Null Status
Date Date Not Null Ticket date
Remark Varchar 10 Not Null Remark
Status Varchar 20 not null Dealer Status
(active/
deactivate)
10)
64
Fie Field Name D Data Type
Siz SizeCo Constraints Description
userwallet_date Date Not Null Date
userwallet_poin Varchar 10 Not Null Point
t
mem_id Varchar 4 Foreign key Member id
11)
Table Name : Company Wallet
Primary Key :wallet_id
Description : Contact us Details
Fie Field Name Data Type Siz SizeConstraints D Description
wallet_id Integer 4 Primary key walletid
wallet_date Date Not Null Created date
wallet_point Varchar 10 Not Null Amount
mem_id Integer 4 Foreign key Member id
cmpny_id Integer 4 Foreign key Comapany reference
12)
Table Name :last seen
Primary Key :ls_id Foreign key:mem_id
Description : user list login status
Fie Field Name Da Data Type Siz Size Co Constraints De Description
ls_id Integer 4 Primary key Last Login id
65
ls_date Date time Not Null Login date time
mem_id Integer 4 Foreign key Member id
13)
Table Name : wallet balance
Primary Key :tot_point_id Foreign key : mem_id
Description wallet balance
Fie Field Name D Data Type Siz SizeCo Constraints De Description
tot_point_id Integer 4 Primary key Total point id
wallet_amt Varchar 6 Not Null Wallet amount
tot_ date Date Not Null Modify date
M mem_id Int 4 Foreign key Member id
14)
Table Name :Contact_Us
Primary Key :contact_id Description : contact us
message
Fie Field_Name Da Data Type Siz Size Co Constraints De Description
contact_id Integer 4 Primary key Contact id
contact_name Varchar 10 Not Null Contact name
66
contact_email Varchar 20 Not Null Email id
contact_msg Varchar 20 Not Null Customer message
15)
Table Name: Ad_msg
Primary Key: ad_id
Description : Post Advertisement
67
Fie Field_Name
Da Data TypeSiz Size
Co Constraints De Description
ad_id Int 4 Primary key Ad id
ad_date Date Not Null A advertise post date
ad_message Varchar 50 Not Null A advertise message
16)
Table Name : Admin_Recharge_Wallete
Primary Key :Recharge_id
Description : Recharge Detail
Fie Field_Name D Data Type Siz Size CC Constraints De Description
recharge_id Integer 4 Primary key Recharge_ id
recharge_Amount Varchar 8 Not Null Recharge amount
recharge_date datetime Not Null Recharge date
company_id Integer 6 Not Null C Company reference
id
17)
Table Name : loadamtstatus
Primary Key :loadstatus_id
Description: Load recharge amount by admin
Fie Field Name Data Type SiS Size Co Constraints De Description
loadstatus_id Integer 4 Primary key Load id
68
loadstatus_name Varchar 15 Not Null Status
load_amount Varchar 8 Not Null Load amount
69
8 Bank_city Varchar 10 not Null City
70
23 datac_no Varchar 16 Not Null Datacard
number
24 datac_status Varchar 25 Not Null Datacard
Recharge
status
25 dth_amt Varchar 6 Not Null Recharge
amount
26 dth_date Date Not Null Recharge date
71
40 mem_datetime datetime Not Null Registration
date
41 m_id Integer 4 Primary key Unique id
72
55 m_operator Varchar 20 Not Null Mobile
operator
56 m_no Varchar 10 Not Null Mobile number
61
73
72 rech_number Varchar 20 Not Null Mobile no
74
88 wallet_id Integer 4 Primary key walletid
75
CHAPTER 4: USER MANUAL
USER MANUAL
User Manual for Administrator:
The administrator is the main user of this system. The administrator
has some extra features that are not provided to users/employee.
1) Registration:
This is provided to register for PAY U CIRCLE system.
76
By using it you can do registration with the PAY U CIRCLE
system.
2) Login:
This is provided to do the login.
The Admin and the customer must have logged in to use the
system.
So to do the login you can use this.
Here simply by entering your login details you can logged in.
3) Add User:
This is to add new user to the Pay U Circle.
You can add the new user to the Pay U Circle using it.
4) Process :
You can check complaint status using with the help of ticket
. This is provided to manage all member details data.
You can check register friends using member id, last name etc.
You can check transfer point
It is provide check the date wise amount.
77
You can deactivate user. They are no longer access long time.
5) Recent Activity :
This is provided load amount to the user account.
With the help of it you can check recent recharge activity.
You can use it for recent transfer point to all users.
78
Recharge Process:
Enter your mobile number for make a recharge to Pay U Circle.
Fill all the bank details in payment options.
After completing all transactional process ,you got the message
your recharge is successfully done.
Balance:
With the help of using my balance, you can check all the
activity regarding your account i.e. check total amount, today
amount, remaining balance etc.
With the help of using my circle, you can check all the down
line of all users i.e. check total users.
Using transfer money options ,you can help to your friend
anytime and anywhere.
Help Desk:
This is provided to generate new ticket when the some issues
occur regarding recharge process related data.
Using this you can view all ticket status and search all the
fields.
Recent Activity:
This is provided to view transfer point to all user using various
member id.
Using this you can view all recharge activity.
Date wise Report:
This is provided to manage all your Date wise report related
data.
79
Using this you can view all reports date wise.
80
4.2) Forms and Report
Index Page :-
About us:
81
Sign in :-
Validation:-
82
Sign up :-
After sign in :-
83
Recharge Process:-
84
My Circle:-
85
My Balance:-
Help Friends:-
Transfer Money
86
Help Desk :-
Generate new ticket:
87
Recent activity :-
View transfer point
View recharge-
88
Promo Link :-
Admin Panel :-
Index Page -
89
Process-
Ticket
90
Register Friend -
91
Transfer Point:-
92
Datewise Amount:-
93
Message:-
94
Deactivate Member:-
Recent Activity:-
Load Amount-
95
Recent Recharge-
96
Admin Recent Transfer Point-
97
4.4Test Procedures and Cases
TYPES OF TESTING:
UNIT TEST
Testing of individual software components or modules. Typically done
by the programmer and not by testers, as it requires detailed knowledge
of the internal program design and code. In our application we do the
unit testing for the login form where all the validations are being
checked properly.
INTEGRATION TESTING:
Testing of integrated modules to verify combined functionality after
integration. Modules are typically code modules, individual
applications, client and server applications on a network, etc. This type
of testing is especially relevant to client/server and distributed systems.
SYSTEM TESTING:
Entire system is tested as per the requirements. Black-box type testing
that is based on overall requirements specifications, covers all
combined parts of a system.
Our whole applications are being tested.
PERFORMANCE TESTING:
98
Term often used interchangeably with stress and load testing. To
check whether system meets performance requirements. Used different
performance and load tools to do this.
Test cases are built around specifications and requirements, i.e., what
the application is supposed to do. Test cases are generally derived from
external descriptions of the software, including specifications,
requirements and design parameters. Although the tests used are
primarily functional in nature, non-functional tests may also be used.
The test designer selects both valid and invalid inputs and determines
the correct output without any knowledge of the test object's internal
structure.
Advantages
Efficient when used on large systems.
Since the tester and developer are independent of each other,
testing is balanced and unprejudiced.
Tester can be non-technical.
99
There is no need for the tester to have detailed functional
knowledge of system.
Tests will be done from an end user's point of view, because the
end user should accept the system. (This testing technique is
sometimes also called Acceptance testing.)
Testing helps to identify vagueness and contradictions in
functional specifications.
Test cases can be designed as soon as the functional
specifications are complete.
Disadvantages
Test cases are challenging to design without having clear
functional specifications.
It is difficult to identify tricky inputs if the test cases are not
developed based on specifications.
It is difficult to identify all possible inputs in limited testing
time. As a result, writing test cases may be slow and difficult.
There are chances of having unidentified paths during the
testing process.
There is a high probability of repeating tests already performed
by the programmer.
100
TEST CASE FOR LOGIN
101
3 Validation Invalid Enter valid Error Error
check for password. email id. message message
password Enter window Invalid Pass
invalid should be name or
password. displayed password
Click on with proper .
login. error
message
invalid
password
102
2] Test case For Check Customer registration:
Test Test Case Input Expected Actual Test
Case Procedure Data Output Output Status
ID
DST- Checking the Keep all field Shows Shows Pass
CR-01 functionality blank proper proper blank
of Customer blank message
registration message
otp button
button
103
4)input all Otp send Otp send on
valid field on mobile mobile and pass
and shows shows otp
otp input input box
box with with submit
submit buttion
buttion
DST Checking the Input wrong Otp not Otp not Pass
-CR-02 functionality otp match match
of check message message
button display display
functionality
for otp 2) Input
correct otp Otp match Otp match pass
message message
display display and
and enable enable
submit submit
buttion buttion
DST Checking the Click on Varificatio Varification Pass
-CR-03 functionality submit n mail mail send on
of Submit buttion send on email id
Button from email id
4.5)Implementation
104
The Struts implementation of Model 2 uses a specific type of
servlet, called on action servlet, and one or more actions and action
mappings to implement the controller. It also uses a specific type of
Java bean, called a form bean. As illustrated in Figure 3, the Web
server at run time contains both the view and controller components of
a Model 2 Web application, while a third tier (which is usually outside
of the Web server) contains the model.
Component Contribution
Model None directly. However, the Struts actions and
configuration file provide an elegant way to control
the circumstances under which the model components
are invoked.
105
Component Contribution
View Java class
org.apache.struts.action.ActionForm, which
you subclass to create a form bean that is used
in two ways at run time:
o When a JSP page prepares the related
HTML form for display, the JSP page
accesses the bean, which holds values
to be placed into the form. Those
values are provided from business logic
or from previous user input.
o When user input is returned from a
Web browser, the bean validates and
holds that input either for use by
business logic or (if validation failed)
for subsequent redisplay.
106
Component Contribution
Controller The Struts action servlet handles run-time
events in accordance with a set of rules that are
provided at deployment time. Those rules are
contained in a Struts configuration file and
specify how the servlet responds to every
outcome received from the business logic.
Changes to the flow of control require changes
only to the configuration file.
Struts also provides the Java class
org.apache.struts.action.Action, which a Java
developer subclasses to create an "action
class". At run time, the action servlet is said to
"execute actions," which means that the servlet
invokes the execute method of each of the
instantiated action classes. The object returned
from the execute method directs the action
servlet as to what action or JSP file to access
next.
107
CHAPTER 5: DRAWBACK AND
LIMITATION
108
Drawbacks and Limitations
Limited storage
109
CHAPTER 6:
PROPOSED ENHANCEMENT
110
6. Proposed Enhancement
The proposed enhancements of this system are as follows:
1. This system will convert into Android version and make
available it for android devices.
2. Integration with external outlook plug-in.
3. Integration with external plug-ins to improve the
performance and functionality of system.
4. Dynamic and easy graphical report generation.
5. Integration with office plug-in.
6. Recharge using text message keyword.
111
CHAPTER 7 : CONCLUSION
112
Conclusion:
113
CHAPTER 8 : BIBLIOGRAPHY
114
8. BIBLIOGRAPHY
WEBSITES:
www.w3schools.com
www.javatpoint.com
www.javatutorial.com
REFERENCE BOOKS:
Core Java
115
CHAPTER 9: ANNEXURE
116
USER INTERFACE SCREENS
My Circle:-
My Balance:-
117
Help Friends:-
Transfer Money
118
Ticket status
Recent activity :-
119
View transfer point
120
Viewrecharge-
Admin Panel :-
Process-
121
Ticket -
122
Register Friend-
123
Transfer Point:-
124
Datewise Amount:-
125
Message:-
126
Deactivate Member:-
Recent Activity:-
127
Load Amount-
Recent Recharge-
128
Admin Recent Transfer Point-
129
ANNEXURE 3 : SAMPLE CODE
{
<%@page
import="java.sql.ResultSet"%>
<%@page import="java.sql.Connection"%>
<%@page import="com.dbUtil.DbUtil"%>
<%@ page language="java" contentType="text/html; charset=ISO-
8859-1"
pageEncoding="ISO-8859-1"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="utf-8">
130
<meta name="viewport" content="width=device-width, initial-
scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-
8859-1">
<link rel="stylesheet"
href="<%=request.getContextPath()
%>/css/bootstrap.min.css">
<script src="<%=request.getContextPath()
%>/js/jquery.min.js"></script>
<%-- <script src="<%=request.getContextPath()
%>/js/bootstrap.min.js"></script> --%>
<%-- <script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"
></script> --%>
<script
src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.
js"></script>
<title>PayuCircle</title>
<link href="<%=request.getContextPath()%>/images/pay.ico"/>
<link href="<%=request.getContextPath()%>/css/payucircle.css"
rel="stylesheet" media="screen" type="text/css">
131
<script type="text/javascript">
/* $(selector).click()
$("#x").hide();
$(".close").hide(); */
function validatedata() {
/*
document.getElementById('mem_email').style.display = "none"; */
var mbno =
document.getElementById("mobileno").value;
return false;
}
if
((document.getElementById("mobileno").value.length < 10)
||
(document.getElementById("mobileno").value.length > 10)) {
alert(" Your Contact number must 10 Digits");
document.getElementById("mobileno").focus();
return false;
}
132
alert("Please Enter Operator");
document.getElementById("operator").focus();
return false;
}
$('#myModal11').modal('show');
/* $('#myModal11').modal('toggle'); */
/* $('#myModal13').modal('hide'); */
return true;
function validatedth() {
/*
document.getElementById('mem_email').style.display = "none"; */
var opr =
document.getElementById("operatordth").value;
if (opr == null || opr == "") {
alert("Please Enter Operator");
133
document.getElementById("operatordth").focus();
return false;
}
return false;
}
if ((document.getElementById("dthno").value.length <
16)
||
(document.getElementById("dthno").value.length > 16)) {
alert(" Your v.c number must 16 Digits");
document.getElementById("dthno").focus();
return false;
}
var mbamt =
document.getElementById("dthamt").value;
if (mbamt == null || mbamt == "") {
alert("Please enter amount");
document.getElementById("dthamt").focus();
return false;
134
}
$('#myModal12').modal('show');
/* $('#myModal11').modal('toggle'); */
/* $('#myModal13').modal('hide'); */
return true;
function validatecard() {
var opr =
document.getElementById("cardoperator").value;
if (opr == null || opr == "") {
alert("Please Enter Operator");
document.getElementById("cardoperator").focus();
return false;
}
var mbno = document.getElementById("mobno").value;
return false;
}
135
if ((document.getElementById("mobno").value.length <
10)
||
(document.getElementById("mobno").value.length > 10)) {
alert(" Your v.c number must 10 Digits");
document.getElementById("mobno").focus();
return false;
}
var mbamt =
document.getElementById("cardamt").value;
if (mbamt == null || mbamt == "") {
alert("Please enter amount");
document.getElementById("cardamt").focus();
return false;
}
$('#myModal13').modal('show');
return true;
function checkNum(x) {
136
s_charcode = x.value.charCodeAt(s_i);
if (!((s_charcode >= 48 && s_charcode <= 57)))
{
alert("Only Numeric Values Allowed");
x.value = '';
x.focus();
return false;
}
}
return true;
}
function checkchar() {
if (!
document.getElementById("operator").value.match(/^[a-zA-Z ]+$/)) {
alert("Only Characters are Allowed");
document.getElementById("operator").value =
'';
return false;
}
return true;
}
function infodata() {
var mno =
document.getElementById("mobileno").value;
137
//alert(mno);
document.getElementById("monum").value = mno;
var amount = document.getElementById("amt").value;
//alert(amount);
document.getElementById("amount").value = amount;
// alert(document.getElementById("monum").value);
var operatr =
document.getElementById("operator").value;
//alert(operatr);
document.getElementById("serviceoperator").value =
operatr;
}
function infodth() {
var dno = document.getElementById("dthno").value;
//alert(mno);
document.getElementById("dnum").value = dno;
var amtdth =
document.getElementById("dthamt").value;
//alert(amount);
document.getElementById("amtdt").value = amtdth;
// alert(document.getElementById("monum").value);
var operatr =
document.getElementById("operatordth").value;
138
//alert(operatr);
document.getElementById("dthoperator").value =
operatr;
function infocard() {
var datano =
document.getElementById("mobno").value;
//alert(mno);
document.getElementById("mbnum").value = datano;
var amtdatacard =
document.getElementById("cardamt").value;
//alert(amount);
document.getElementById("cardamount").value =
amtdatacard;
// alert(document.getElementById("monum").value);
var operatrdatacard =
document.getElementById("cardoperator").value;
//alert(operatr);
document.getElementById("datacardoperator").value =
operatrdatacard;
var datacardtype =
document.getElementById("cardtype").value;
139
// alert(rtype);
document.getElementById("typedata").value =
datacardtype;
}
function validatemsg() {
var x = document.getElementById("msgsend").value;
if (x == null || x == "") {
alert("Please Enter Massage");
return false;
}
return true;
}
function setFocusToTextBox() {
document.getElementById("mobileno").focus();
}
</script>
</head>
<body>
<div class="responsive">
<div class="col-md-12"
140
style="background-color: #d9534f; margin-top:
-19px; position: fixed;">
  
<div class="clearfix"></div>
<%
Connection con=null;
ResultSet rs=null;
DbUtil db = new DbUtil();
try {
con = db.getConnection();
<%
}
} catch (Exception e) {
e.printStackTrace();
141
}
finally {
if (rs != null)
try {
rs.close();
} catch (Exception e) {
// TODO Auto-
generated catch block
e.printStackTrace();
}
db.closeConnection();
%>
</div>
<div id="center">
<div id="header">
142
<img src="<
%=request.getContextPath()%>/image/payucircle logo.png"
width="90%;"
alt="payucircle">
</div>
<div class="col-md-6" style="margin-
left: 10%;">
<img src="<
%=request.getContextPath()%>/image/pu.png" width="90%;"
alt="payucircle">
</div>
<a
href="https://plus.google.com/payucircle"><img src="<
%=request.getContextPath()%>/image/icon-google-plus.png"
class="img-circle" alt="Cinque Terre" width="50" style="margin-top:
30px; float:right;"> </a>
<div class="clearfix"></div>
</div>
143
}
144