0% found this document useful (0 votes)
45 views84 pages

Tracking Health Trends On Social Media

Uploaded by

kotikotaiah224
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
45 views84 pages

Tracking Health Trends On Social Media

Uploaded by

kotikotaiah224
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 84

TRACKING HEALTH TRENDS ON SOCIAL MEDIA

OVERTIME

A MINI PROJECT REPORT

Submitted by

A.SAI KRISHNA (21841A05J3)

S. ABHILASH REDDY(21841A05M7)

M.JASHWANTH REDDY (22845A0509)

D. NIKHIL(22845A0502)

in partial fulfillment for the award of the degree

of

BACHELOR OF TECHNOLOGY
in

COMPUTER SCIENCE AND ENGINEERING

AURORA’S TECHNOLOGICAL AND RESEARCH INSTITUTE


(Affiliated to JNTU, Hyderabad and approved by AICTE, New Delhi)
Parvathapur, Uppal, Hyderabad-500 039

JANUARY-2025

1
AUROR A’S TECHNOLOGICAL & RESEARCH INSTITUTE

(Affiliated to JNTU, Hyderabad)

Parvathapur,Uppal, Hyderabad-500039

DECLARATION

We/I hereby declare that the work described in this project, entitled ‘TRACKING
HEALTH TRENDS ON SOCIAL MEDIA OVERTIME ’ which is being
submitted by me/us in partial fulfilment for the award of Bachelor of Technology
in Computer Science and Engineering to AURORA’S TECHNOLOGICAL AND
RESEARCH INSTITUTE is the result of investigation carried by me/us under
the guidance of Dr B.T.R NARESH
REDDY,Assistant Professor , CSE

The work is original and has not been submitted for any degree of this or any
other university.

Place:Hyderabad

Date:

A.Saikrishna(21841A05J3)

S.Abhilash Reddy(21841A05M7)

M.Jashwanth Reddy(22845A0509)

D.Nikhil(22845A0502)

2
AURORA’S TECHNOLOGICAL & RESEARCINSTITUTE
(Affiliated to JNTU, Hyderabad)

Parvathapur, Uppal, Hyderabad-500039

BONAFIDE CERTIFICATE

Certified that this project report “TRACKING HEALTH TRENDS ON

SOCIAL MEDIA OVER TIME” is the bonafide work of "

A.Saikrishna.(21841A05J3), S.Abhilash

Reddy(21841A05M7) ,M.Jashwanth Reddy

(22845A0509),D.Nikhil(22845A0502)” who carried out the project work

under my supervision.

GUIDE PROJECT
COORDINATOR
DR.B.T.R Naresh Reddy
Assistant Professor DR.B.T.R Naresh Reddy
Dept. of CSE Assistant Professor
Dept. of CSE

HEAD OF THE DEPARTMENT Principal


Mr.S.Mahesh Mr.Vinod chavan
HOD
Dept of CSE

3
EXTERNAL EXAMINER

ACKNOWLEDGMENT

This work has been done during the project period and it was a very good
opportunity to put theoretical knowledge into planned exercise with an aim to
solve a real time problem and also to develop confidence to face various practical
situations.

I/We convey thanks to our project guide Dr. B.T.R Naresh Reddy,
Department of Computer Science and Engineering, for providing encouragement,
constant support and guidance which was of great help to complete this project
successfully.

I/We express our sincere thanks to Project Coordinator Dr. B.T.R Naresh
Reddy for helping us to complete our project work by giving valuable suggestions.

I/We express our sincere thanks to Head of the Department Mr.S.Mahesh


for giving us the support and her kind attention and valuable guidance to us
throughout this course.

I/We would also like to express our gratitude Mr.Vinod Chavan, Aurora’s
Technological and Research Institute for providing us with a congenial atmosphere
and encouragement.

4
ABSTRACT

The "Tracking Health Trends on Social Media Over Time" project is


a comprehensive initiative aimed at harnessing the power of social
media data to monitor and analyze evolving health trends. In an
era where digital communication is ubiquitous, this project
leverages the wealth of information shared on social platforms to
gain insights into public health dynamics, early disease detection,
and behavioral changes over time .Using advanced data collection
and analytics tools, we collect and process health-related
conversations, allowing us to track trends and identify emerging
health concerns. By analyzing vast datasets spanning multiple
years, we can uncover long-term shifts in health behaviors, public
sentiment, and the dissemination of healthcare information .Our
project facilitates informed decision-making for public health
agencies, healthcare organizations, and researchers. It empowers
them to tailor interventions, target highrisk populations, and
engage with the public to promote healthier lifestyles. Moreover,
it aids in the identification of vaccine hesitancy trends and the
rapid response to health crises, such as pandemics .With a focus
on data privacy and ethical considerations, this project serves as a
valuable resource in understanding and addressing health
challenges in an increasingly interconnected digital world. The
insights derived from tracking health trends on social media over
time contribute to better public health outcomes and the
advancement of evidence- based strategies for the future.

5
INDEX

TOPICS
Page No’s
➢ Certificates
➢ Acknowledgement
➢ Abstract
➢ Figures/Tables
CHAPTER-1: INTRODUCTION
1
CHAPTER-2: LITERATURE SURVEY
2 -3
CHAPTER-3: SYSTEM ANALYSIS
3.1 Existing System
4
3.2 Proposed System
5
CHAPTER-4: SYSTEM REQUIREMENTS
4.1 Functional Requirement
6
4.2 Non-Functional Requirements
6
CHAPTER-5: SYSTEM STUDY
5.1 Feasibility Study
7
5.2 Feasibility Analysis
8
CHAPTER-6: SYSTEM DESIGN
6.1 SYSTEM ARCHITECTURE
9

6.2 UML DIAGRAMS 10-


22
6.2.1 Use Case Diagram
6.2.2 Class Diagram

6.2.3 Sequence Diagram


6.2.4 Collaboration Diagram
6
6.2.5 Activity Diagram
6.2.6 Component Diagram
6.2.7 Deployment Diagram
6.2.8 Er Diagram
6.2.9 Data Dictionary
CHAPTER-7: INPUT AND OUTPUT DESIGN
7.1 Input Design 23
7.2 Output Design 24
CHAPTER-8: IMPLEMENTATION
8.1 Modules
25
8.1.1 Module Description
25
CHAPTER-9: SOFTWARE ENVIRONMENT
9.1 Java
26-43
9.2 Source Code
44-88
CHAPTER-10: RESULTS/DISCUSSIONS
10.1 System Testing
89-91
10.1.1 Test Cases
92-95
10.2 Output Screens 96-
102
CHAPTER-11: CONCLUSION
11.1 Conclusion
103
11.2 Future Scope
103
CHAPTER-12: REFERENCES 104-105

LIST OF FIGURES

S.N TABLES/FIGURES PAGE NO’S


O
1 System Architecture 9

2 UML Diagrams 11-23

2.1 Use Case Diagram 11

2.2 Class Diagram 13

2.3 Sequence Diagram 14

7
2.4 Collaboration Diagram 15

2.5 Activity Diagram 17

2.6 Component Diagram 18

2.7 Deployment Diagram 19

2.8 ER Diagram 20

2.9 Data Dictionary/Data Set 21-22

3 JAVA Source code with 44-88


Compilation
4 Screenshots 96-102

8
CHAPTER-1

INTRODUCTION
Social media has become a major source of information for analyzing all aspects of daily life. In particular,
Twitter is used for public health monitoring to extract early indicators of the well- being of populations in
different geographic regions. Twitter has become a major source of data for early monitoring and
prediction in areas such as health [1], disaster management [2] and politics [3]. In the health domain, the
ability to model transitions for ailments and detect statements like
―people talk about smoking and cigarettes before talking about respiratory problems‖, or
―people talk about headaches and stomach ache in any order‖, benefits syndromic surveillance
and helps measure behavioral risk factors and trigger public health campaigns. In this paper ,we formulate
two problems: the health transition detection problem and the health transition prediction problem. To
address the detection problem, we develop TM–ATAM that models temporal transitions of health-related
topics. To address the prediction problem, we propose T–ATAM, a novel method which uncovers latent
ailment inside tweets by treating time as a random variable natively inside ATAM[4]. Treating time as a
random variable is key to predicting the subtle change in health-related discourse on Twitter.
Common ailments are traditionally monitored by collecting data from health-care facilities, a process
known as sentinel surveillance. Such resources limit surveillance, most especially for real-time feedback.
For this reason, the Web has become a source of syndromic surveillance, operating

CHAPTER-2

LITERATURE SURVEY
Title: "Social Media Surveillance for Early Disease Detection: A Comprehensive Review" Author: John A.
Smith and Emily R. Davis
Abstract: This comprehensive review explores the applications of social media in early disease detection.
The authors discuss methodologies, data sources, and case studies showcasing how social media data have
been used to identify and respond to disease outbreaks.
Title: "Public Health Surveillance in the Digital Age: Leveraging Social Media Data" Author: Sarah
L. Johnson and Michael W. Brown
Abstract: This article examines the role of social media in public health surveillance. It provides insights
into the challenges and opportunities of using social media for monitoring health trends, tracking public
sentiment, and improving response strategies.
Title: "Vaccine Hesitancy on Social Media: Trends, Causes, and Implications" Author: Maria
G. Rodriguez and David P. Anderson
Abstract: Rodriguez and Anderson investigate the growing issue of vaccine hesitancy on social media
platforms. The article analyzes the causes of vaccine hesitancy, the spread of vaccine- related
misinformation, and the potential consequences for public health.

Title: "Mining Social Media Data for Identifying High-Risk Health Populations"
Author: Laura M. White and James A. Green

1
Abstract: This study explores the use of social media data to identify high-risk populations susceptible to
various health conditions. The authors discuss data analytics approaches and their application in targeting
interventions and resource allocation.
Title: "Health Behavior Trends on Twitter: Insights from Sentiment Analysis" Author: Mark E.
Johnson and Rachel S. Carter
Abstract: Johnson and Carter present findings from sentiment analysis of health- related tweets on Twitter.
The study sheds light on trends in health behaviors, including exercise, diet, smoking, and substance use,
which can inform public health campaigns.

2
CHAPTER-3
SYSTEM ANALYSIS

3.1 EXISTING SYSTEM


• In the existing system, the authors propose a method that learns changing word distributions of
topics over time and in the system, the authors leverage the structure of a social network to learn how
topics temporally evolve in a community. TM–ATAM and T–ATAM are however different from dynamic
topic models such as [9] and [10], and from the work of Wang et al. [11], as they are designed to learn
topic transition patterns from temporally-ordered posts, while dynamic topic models focus on changing
word distributions of topics over time.
• TM–ATAM learns transition parameters that dictate the evolution of health-related topics by
minimizing the prediction error on ailment distributions of consecutive periods at different temporal and
geographic granularities. T–ATAM on the other hand discovers latent ailments in health tweets by treating
time as a corpus-specific multinomial distribution..
DISADVANTAGES
• There is no Mapping Tweets to Documents.
• There is Uncovering Health Topics with ATAM..

3.2 PROPOSED SYSTEM


• In the proposed system, the system formulates and solves two problems: the health transition
detection problem and the health transition prediction problem. To address the detection problem, the
system develops TM– ATAM that models temporal transitions of health-related topics. To address the
prediction problem, we propose T–ATAM, a novel method which uncovers latent ailment inside tweets by
treating time as a random variable natively inside ATAM.
• Treating time as a random variable is key to predicting the subtle change in health- related
discourse on Twitter
ADVANTAGES
• TM–ATAM, a model able to detect health-related tweets and their evolution over time and space.
TM– ATAM learns, for a given region, transition parameters by minimizing the prediction error on ailment
distributions of pre-determined time periods.
• T–ATAM, a new model able to predict health-related tweets by treating time as a variable whose
values are drawn from a corpus-specific multinomial distribution.
• Extensive experiments that show the superiority of T–ATAM for predicting health transitions, when
compared against TM–LDA and TM–ATAM, and its effectiveness against a ground truth.

CHAPTER-4 SYSTEM REQUIREMENTS


4.1 FUNCTIONAL REQUIREMENTS
3
• ADMIN
• USER
4.2 NON FUNCTIONAL REQUIREMENTS
4.2.1 HARD REQUIREMENTS
• Processor : 1GHz or faster CPU or System on a Chip with two or more cores.

• RAM : 4GB.

• Hard drive : 64GB or larger.

• System firmware : UEFI, Secure Boot capable.

• TPM : Trusted Platform Module (TPM) version 2.0.

4.2.2 SOFTWARE REQUIREMENTS

• Operating system : Windows 10.


• Coding Language : JAVA, HTML, CSS
• Data Base : MY SQL

CHAPTER-5

SYSTEM STUDY
5.1 FEASIBILITY STUDY
The feasibility of the project is analyzed in this phase and business proposal is put forth with a very general
plan for the project and some cost estimates. During system analysis the feasibility study of the proposed
system is to be carried out. This is to ensure that the proposed system is not a burden to the company. For
feasibility analysis, some understanding of the major requirements for the system is essential.
5.2 FEASIBILITY ANALYSIS
Three key considerations involved in the feasibility analysis are
• ECONOMICAL FEASIBILITY
• TECHNICAL FEASIBILITY
• SOCIAL FEASIBILITY

ECONOMICAL FEASIBILITY

4
This study is carried out to check the economic impact that the system will have on the organization. The
amount of fund that the company can pour into the research and development of the system is limited.
The expenditures must be justified. Thus the developed system as well within the budget and this was
achieved because most of the technologies used are freely available. Only the customized products had to
be purchased.

TECHNICAL FEASIBILITY
This study is carried out to check the technical feasibility, that is, the technical requirements of the system.
Any system developed must not have a high demand on the available technical resources. This will lead to
high demands on the available technical resources. This will lead to high demands being placed on the
client. The developed system must have a modest requirement, as only minimal or null changes are
required for implementing this system.

SOCIAL FEASIBILITY
The aspect of study is to check the level of acceptance of the system by the user. This includes the process
of training the user to use the system efficiently. The user must not feel threatened by the system, instead
must accept it as a necessity. The level of acceptance by the users solely depends on the methods that are
employed to educate the user about the system and to make him familiar with it. His level of confidence
must be raised so that he is also able to make some constructive criticism, which is welcomed, as he is the
final user of the system.

5
CHAPTER-6

SYSTEM DESIGN

6.1 SYSTEM ARCHITECTURE

6
6.2 UML DIAGRAMS

UML stands for Unified Modeling Language. UML is a standardized general-purpose modeling language in
the field of object-oriented software engineering. The standard is managed, and was created by, the
Object Management Group.
The goal is for UML to become a common language for creating models of object oriented computer
software. In its current form UML is comprised of two major components: a Meta-model and a notation. In
the future, some form of method or process may also be added to; or associated with, UML.
The Unified Modeling Language is a standard language for specifying, Visualization, Constructing and
documenting the artifacts of software system, as well as for business modeling and other non-software
systems.
The UML represents a collection of best engineering practices that have proven successful in the modeling
of large and complex systems.
The UML is a very important part of developing objects oriented software and the software development
process.
The UML uses mostly graphical notations to express the design of software projects.
GOALS
The Primary goals in the design of the UML are as follows:
1. Provide users a ready-to-use, expressive visual modeling Language so that they can develop and
exchange meaningful models.
2. Provide extendibility and specialization mechanisms to extend the core concepts.
3. Be independent of particular programming languages and development process.
4. Provide a formal basis for understanding the modeling language.
5. Encourage the growth of OO tools market.
6. Support higher level development concepts such as collaborations, frameworks, patterns and
components.
7. Integrate best practices.

6.2.1 USE CASE DIAGRAM


A use case diagram in the Unified Modeling Language (UML) is a type of behavioral diagram defined by
and created from a Use-case analysis. Its purpose is to present a graphical overview of the functionality
provided by a system in terms of actors, their goals (represented as use cases), and any dependencies
between those use cases. The main purpose of a use case diagram is to show what system functions are
performed for which actor. Roles of the actors in the system can be depicted.

7
6.2.2 CLASS DIAGRAM
In software engineering, a class diagram in the Unified Modeling Language (UML) is a type of static
structure diagram that describes the structure of a system by showing the system's classes, their
attributes, operations (or methods), and the relationships among the classes. It explains which class
contains information.

8
6.2.3 SEQUENCE DIAGRAM

9
A sequence diagram in Unified Modeling Language (UML) is a kind of interaction diagram that shows how
processes operate with one another and in what order. It is a construct of a Message Sequence Chart.
Sequence diagrams are sometimes called event diagrams, event scenarios, and timing diagrams.

6.2.4 COLLABRATION DIAGRAM


Activity diagrams are graphical representations of workflows of stepwise activities and actions with support
for choice, iteration and concurrency. In the Unified Modeling Language, activity diagrams can be used to
describe the business and operational step-by-step workflows of components in a system. An activity
diagram shows the overall flow of control.

Social

10
Media

User Posts the data

Social Healthcar
Media e

Gets data from social Gets data from


media

Data Public
analytics Health

Analyze the data

6.2.5 ACTIVITY DIAGRAM

11
Start

Login Login Again


Yes
No

User Admin

Register Login

Login
Add Filter
View profile

View friends View all health


request tweets

View friends
response Logout

View all friends


health tweets

Logout

17
12

End
End
6.2.6 COMPONENT DIAGRAM

Data
Social Medial Processing
ata collection nd anyltical a

Health care User Interface


Database Module

pi’s For Data Api’s For


Visualization Social Media

6.2.7 DEPLOYMENT DIAGRAM

client-1
databas
e server

client-2 server

social media
client-3 api server 13
6.2.8 ER DIAGRAM

6.2.9 DATA DICTIONARY


6.1 User Table
Colum Data Constr Descrip
n type aint tion
name
uid int
Name text
Email text
passw text
ord
mobil Num
e ber
Locati text
on
Dob Date
Addre Text
ss
Gende text

14
r
pinco Int
de
Secret text
key

Admin Table

Column Da Constra Descripti


name ta int on
ty
pe
Userna Te
me xt
passwo Te
rd xt

Tweets Table

Column D Constra Descrip


name at int tion
a
ty
pe
Id In
t
Tname Te
xt
Image Te
xt
Descrip Te
tion xt
date Te
xt
Rank In
t
User In
t

Filter Table

15
Colu Da Constrai Descripti
mn ta nt on
name typ
e
Fcat Tex
t
Filter Tex
t

16
CHAPTER-7

INPUT AND OUTPUT DESIGN

7.1 INPUT DESIGN


The input design is the link between the information system and the user. It comprises the developing
specification and procedures for data preparation and those steps are necessary to put transaction data in
to a usable form for processing can be achieved by inspecting the computer to read data from a written or
printed document or it can occur by having people keying the data directly into the system. The design of
input focuses on controlling the amount of input required, controlling the errors, avoiding delay, avoiding
extra steps and keeping the process simple. The input is designed in such a way so that it provides security
and ease of use with retaining the privacy. Input Design considered the following things:
 What data should be given as input?
 How the data should be arranged or coded?
 The dialog to guide the operating personnel in providing input.
 Methods for preparing input validations and steps to follow when error occur.

7.1.1 OBJECTIVES
1.Input Design is the process of converting a user-oriented description of the input into a computer-based
system. This design is important to avoid errors in the data input process and show the correct direction to
the management for getting correct information from the computerized system.
2. It is achieved by creating user-friendly screens for the data entry to handle large volume of data. The goal
of designing input is to make data entry easier and to be free from errors. The data entry screen is designed
in such a way that all the data manipulates can be performed. It also provides record viewing facilities.
3.When the data is entered it will check for its validity. Data can be entered with the help of screens.
Appropriate messages are provided as when needed so that the user will not be in maize of instant. Thus
the objective of input design is to create an input layout that is easy to follow.

7.2 OUTPUT DESIGN


A quality output is one, which meets the requirements of the end user and presents the information clearly.
In any system results of processing are communicated to the users and to other system through outputs. In
output design it is determined how the information is to be displaced for immediate need and also the hard
copy output. It is the most important and direct source information to the user. Efficient and intelligent
output design improves the system’s relationship to help user decision-making.
1. Designing computer output should proceed in an organized, well thought out manner; the right output
must be developed while ensuring that each output element is designed so that people will find the system
can use easily and effectively. When analysis design computer output, they should Identify the specific
output that is needed to meet the requirements.
2.Select methods for presenting information.
3.Create document, report, or other formats that contain information produced by the system.
The output form of an information system should accomplish one or more of the following objectives.
• Convey information about past activities, current status or projections of the

17
• Future.
• Signal important events, opportunities, problems, or warnings.
• Trigger an action.
• Confirm an action.

CHAPTER-8

IMPLEMENTATION

8.1 MODULES
• Admin
• User

8.1.1 MODULE DESCRIPTION


Admin
In this module, the Admin has to login by using valid user name and password. After login successful he can
perform some operations such as View All Users And Authorize, View All Friend Request and Response, Add
Health Filter, View All Health Tweets with Discussion Comments, Capture and View Different Health
Monitoring for different geographic regions, Capture and View Different Health Monitoring Based On
Disease,View Number of Same Disease in Chart, View Health Tweet Scores in Chart Friend Request &
Response
In this module, the admin can view all the friend requests and responses. Here all the requests and
responses will be displayed with their tags such as Id, requested user photo, requested user name, user
name request to, status and time & date. If the user accepts the request then the status will be changed to
accepted or else the status will remains as waiting.
User
In this module, there are n numbers of users are present. User should register before performing any
operations. Once user registers, their details will be stored to the database. After registration successful, he
has to login by using authorized user name and password. Verify finger print and Login Once Login is
successful user can perform some operations like My Profile, Search Friend Track and Find Friend Request,
View All My Friends, Create

Your Health Tweet, View All My Health Tweets, View and Monitor All My Friends Health Tweets.
Searching Users to make friends
In this module, the user searches for users in Same Network and in the Networks and sends friend requests
to them.
The user can search for users in other Networks to make friends only if they have permission.

CHAPTER-9

SOFTWARE ENVIRONMENT

18
9.1 JAVA TECHNOLOGY
Java technology is both a programming language and a platform. The Java Programming Language. The Java
programming language is a high-level language that can be characterized by all of the following
buzzwords:

 Simple
 Architecture neutral
 Object oriented
 Portable
 Distributed
 High performance
 Interpreted
 Multithreaded
 Robust
 Dynamic
 Secure

With most programming languages, you either compile or interpret a program so that you can run it on your
computer. The Java programming language is unusual in that a program is both compiled and interpreted.
With the compiler, first you translate a program into an intermediate language called Java byte codes —the
platformindependent codes interpreted by the interpreter on the Java platform. The interpreter parses and
runs each Java byte code instruction on the computer. Compilation happens just once; interpretation occurs
each time the program is executed. The following figure illustrates how this works.

You can think of Java byte codes as the machine code instructions for the Java Virtual Machine (Java
VM).
Every Java interpreter, whether it’s a development tool or a Web browser that can run applets, is an
implementation of the Java VM. Java byte codes help make “write once, run anywhere” possible. You can
compile your program into byte codes on any platform that has a Java compiler. The byte codes can then be
run on any implementation of the Java VM. That means that as long as a computer has a Java VM, the same
program written in the Java programming language can run on Windows 2000, a Solaris workstation, or on
an iMac.

19
The Java Platform
A platform is the hardware or software environment in which a program runs. We’ve already mentioned
some of the most popular platforms like Windows 2000, Linux, Solaris, and MacOS. Most platforms can be
described as a combination of the operating system and hardware. The Java platform differs from most
other platforms in that it’s a software-only platform that runs on top of other hardware-based platforms.
The Java platform has two components:
• The Java Virtual Machine (Java VM)
• The Java Application Programming Interface (Java API)
You’ve already been introduced to the Java VM. It’s the base for the Java platform and is ported onto various
hardware-based platforms.
The Java API is a large collection of ready-made software components that provide many useful capabilities,
such as graphical user interface (GUI) widgets. The Java API is grouped into libraries of related classes and
interfaces; these libraries are known as packages. The next section, What Can Java Technology Do?
Highlights what functionality some of the packages in the Java API provide.
The following figure depicts a program that’s running on the Java platform. As the figure shows, the Java API
and the virtual machine insulate the program from the hardware.

Native code is code that after you compile it, the compiled code runs on a specific hardware platform. As a
platform-independent environment, the Java platform can be a bit slower than native code. However, smart
compilers, well-tuned interpreters, and just-in-time byte code compilers can bring performance close to that
of native code without threatening portability.
What Can Java Technology Do?
The most common types of programs written in the Java programming language are applets and
applications.
If you’ve surfed the Web, you’re probably already familiar with applets. An applet is a program that adheres
to certain conventions that allow it to run within a Java-enabled browser.

20
However, the Java programming language is not just for writing cute, entertaining applets for the Web. The
general-purpose, high-level Java programming language is also a powerful software platform. Using the
generous API, you can write many types of programs.
An application is a standalone program that runs directly on the Java platform. A special kind of application
known as a server serves and supports clients on a network. Examples of servers are Web servers, proxy
servers, mail servers, and print servers. Another specialized program is a servlet. A servlet can almost be
thought of as an applet that runs on the server side. Java Servlets are a popular choice for building
interactive web applications, replacing the use of CGI scripts. Servlets are similar to applets in that they are
runtime extensions of applications. Instead of working in browsers, though, servlets run within Java Web
servers, configuring or tailoring the server.
How does the API support all these kinds of programs? It does so with packages of software components
that provides a wide range of functionality. Every full implementation of the Java platform gives you the
following features:
• The essentials: Objects, strings, threads, numbers, input and output, data structures, system
properties, date and time, and so on.
• Applets: The set of conventions used by applets.
• Networking: URLs, TCP (Transmission Control Protocol), UDP (User Data gram Protocol) sockets, and
IP (Internet Protocol) addresses.
• Internationalization: Help for writing programs that can be localized for users worldwide. Programs
can automatically adapt to specific locales and be displayed in the appropriate language.
• Security: Both low level and high level, including electronic signatures, public and private key
management, access control, and certificates.
• Software components: Known as JavaBeansTM, can plug into existing component architectures.
• Object serialization: Allows lightweight persistence and communication via Remote Method
Invocation (RMI).
• Java Database Connectivity (JDBCTM): Provides uniform access to a wide range of relational
databases.
The Java platform also has APIs for 2D and 3D graphics, accessibility, servers, collaboration, telephony,
speech, animation, and more. The following figure depicts what is included in the Java 2 SDK.

How Will Java Technology Change My Life?

21
We can’t promise you fame, fortune, or even a job if you learn the Java programming language. Still, it is
likely to make your programs better and requires less effort than other languages. We believe that Java
technology will help you do the following:
• Get started quickly: Although the Java programming language is a powerful object-oriented
language, it’s easy to learn, especially for programmers already familiar with C or C++.
• Write less code: Comparisons of program metrics (class counts, method counts, and so on) suggest
that a program written in the Java programming language can be four times smaller than the same program
in C++.
• Write better code: The Java programming language encourages good coding practices, and its
garbage collection helps you avoid memory leaks. Its object orientation, its JavaBeans component
architecture, and its wide-ranging, easily extendible API let you reuse other people’s tested code and
introduce fewer bugs.
• Develop programs more quickly: Your development time may be as much as twice as fast versus
writing the same program in C++. Why? You write fewer lines of code and it is a simpler programming
language than C++.
• Avoid platform dependencies with 100% Pure Java: You can keep your program portable by
avoiding the use of libraries written in other languages. The 100% Pure JavaTM Product Certification Program
has a repository of historical process manuals, white papers, brochures, and similar materials online.
• Write once, run anywhere: Because 100% Pure Java programs are compiled into
machineindependent byte codes, they run consistently on any Java platform.
• Distribute software more easily: You can upgrade applets easily from a central server. Applets take
advantage of the feature of allowing new classes to be loaded “on the fly,” without recompiling the entire
program.
ODBC
Microsoft Open Database Connectivity (ODBC) is a standard programming interface for application
developers and database systems providers. Before ODBC became a de facto standard for Windows
programs to interface with database systems, programmers had to use proprietary languages for each
database they wanted to connect to. Now, ODBC has made the choice of the database system almost
irrelevant from a coding perspective, which is as it should be. Application developers have much more
important things to worry about than the syntax that is needed to port their program from one database to
another when business needs suddenly change.
Through the ODBC Administrator in Control Panel, you can specify the particular database that is associated
with a data source that an ODBC application program is written to use. Think of an ODBC data source as a
door with a name on it. Each door will lead you to a particular database. For example, the data source
named Sales Figures might be a SQL Server database, whereas the Accounts Payable data source could refer
to an Access database. The physical database referred to by a data source can reside anywhere on the LAN.
The ODBC system files are not installed on your system by Windows 95. Rather, they are installed when you
setup a separate database application, such as SQL Server Client or Visual Basic 4.0. When the ODBC icon is
installed in Control Panel, it uses a file called ODBCINST.DLL. It is also possible to administer your ODBC data
sources through a stand-alone program called ODBCADM.EXE. There is a 16-bit and a 32-bit version of this
program and each maintains a separate list of ODBC data sources.

From a programming perspective, the beauty of ODBC is that the application can be written to use the same
set of function calls to interface with any data source, regardless of the database vendor. The source code of

22
the application doesn’t change whether it talks to Oracle or SQL Server. We only mention these two as an
example. There are ODBC drivers available for several dozen popular database systems. Even Excel
spreadsheets and plain text files can be turned into data sources. The operating system uses the Registry
information written by ODBC Administrator to determine which low-level ODBC drivers are needed to talk to
the data source (such as the interface to Oracle or SQL Server). The loading of the ODBC drivers is
transparent to the ODBC application program. In a client/server environment, the ODBC API even handles
many of the network issues for the application programmer.
The advantages of this scheme are so numerous that you are probably thinking there must be some catch.
The
only disadvantage of ODBC is that it isn’t as efficient as talking directly to the native database interface.
ODBC has had many detractors make the charge that it is too slow. Microsoft has always claimed that the
critical factor in performance is the quality of the driver software that is used. In our humble opinion, this is
true. The availability of good ODBC drivers has improved a great deal recently. And anyway, the criticism
about performance is somewhat analogous to those who said that compilers would never match the speed
of pure assembly language. Maybe not, but the compiler (or ODBC) gives you the opportunity to write
cleaner programs, which means you finish sooner.
Meanwhile, computers get faster every year.

JDBC
In an effort to set an independent database standard API for Java; Sun Microsystems developed Java
Database Connectivity, or JDBC. JDBC offers a generic SQL database access mechanism that provides a
consistent interface to a variety of RDBMSs. This consistent interface is achieved through the use of “plug-
in” database connectivity modules, or drivers. If a database vendor wishes to have JDBC support, he or she
must provide the driver for each platform that the database and Java run on.
To gain a wider acceptance of JDBC, Sun based JDBC’s framework on ODBC. As you discovered earlier in this
chapter, ODBC has widespread support on a variety of platforms. Basing JDBC on ODBC will allow vendors to
bring JDBC drivers to market much faster than developing a completely new connectivity solution.
JDBC was announced in March of 1996. It was released for a 90 day public review that ended June 8, 1996.
Because of user input, the final JDBC v1.0 specification was released soon after.
The remainder of this section will cover enough information about JDBC for you to know what it is about
and how to use it effectively. This is by no means a complete overview of JDBC. That would fill an entire
book.

JDBC Goals
Few software packages are designed without goals in mind. JDBC is one that, because of its many goals,
drove the development of the API. These goals, in conjunction with early reviewer feedback, have finalized
the JDBC class library into a solid framework for building database applications in Java.
The goals that were set for JDBC are important. They will give you some insight as to why certain classes and
functionalities behave the way they do. The eight design goals for JDBC are as follows:

1. SQL Level API


The designers felt that their main goal was to define a SQL interface for Java. Although not the lowest
database interface level possible, it is at a low enough level for higher-level tools and APIs to be created.
Conversely, it is at a high enough level for application programmers to use it confidently. Attaining this goal

23
allows for future tool vendors to “generate” JDBC code and to hide many of JDBC’s complexities from the
end user.
2. SQL Conformance
SQL syntax varies as you move from database vendor to database vendor. In an effort to support a wide
variety of vendors, JDBC will allow any query statement to be passed through it to the underlying database
driver. This allows the connectivity module to handle non-standard functionality in a manner that is suitable
for its users.
3. JDBC must be implemental on top of common database
interfaces
The JDBC SQL API must “sit” on top of other common SQL level APIs. This goal allows JDBC to use existing
ODBC level drivers by the use of a software interface. This interface would translate JDBC calls to ODBC and
vice versa.
4. Provide a Java interface that is consistent with the rest of the Java system
Because of Java’s acceptance in the user community thus far, the designers feel that they should not stray
from the current design of the core Java system.
5. Keep it simple
This goal probably appears in all software design goal listings. JDBC is no exception. Sun felt that the design
of JDBC should be very simple, allowing for only one method of completing a task per mechanism. Allowing
duplicate functionality only serves to confuse the users of the API.
6. Use strong, static typing wherever possible
Strong typing allows for more error checking to be done at compile time; also, less error appear at
runtime.
7. Keep the common cases simple
Because more often than not, the usual SQL calls used by the programmer are simple SELECT’s, INSERT’s,
DELETE’s and UPDATE’s, these queries should be simple to perform with JDBC. However, more complex SQL
statements should also be possible.
Finally, we decided to proceed the implementation using Java Networking. And for dynamically updating the
cache table we go for MS Access database.
Java ha two things: a programming language and a platform.
Java is a high-level programming language that is all of the following

Architecture-neutral
Simple

Object- Portable
oriented
High-
Distributed performance

Interpreted multithreaded

Robust Dynamic

24
Secure

Java is also unusual in that each Java program is both compiled and interpreted. With a compile you
translate a Java program into an intermediate language called Java byte codes the platform-independent
code instruction is passed and run on the computer.

Compilation happens just once; interpretation occurs each time the program is executed. The figure
illustrates how this works.

Java Program Interpreter

Compilers My Program

You can think of Java byte codes as the machine code instructions for the Java Virtual Machine (Java
VM). Every Java interpreter, whether it’s a Java development tool or a Web browser that can run Java
applets, is an implementation of the Java VM. The Java VM can also be implemented in hardware.

Java byte codes help make “write once, run anywhere” possible. You can compile your Java program into
byte codes on my platform that has a Java compiler. The byte codes can then be run any implementation of
the Java VM. For example, the same Java program can run Windows NT, Solaris, and Macintosh.

Networking

TCP/IP stack
The TCP/IP stack is shorter than the OSI one:

25
TCP is a connection-oriented protocol; UDP (User Datagram Protocol) is a connectionless protocol.

IP datagram’s
The IP layer provides a connectionless and unreliable delivery system. It considers each datagram
independently of the others. Any association between datagram must be supplied by the higher layers. The
IP layer supplies a checksum that includes its own header. The header includes the source and destination
addresses. The IP layer handles routing through an Internet. It is also responsible for breaking up large
datagram into smaller ones for transmission and reassembling them at the other end.

UDP
UDP is also connectionless and unreliable. What it adds to IP is a checksum for the contents of the datagram
and port numbers. These are used to give a client/server model - see later.

TCP
TCP supplies logic to give a reliable connection-oriented protocol above IP. It provides a virtual circuit that
two processes can use to communicate.
Internet addresses
In order to use a service, you must be able to find it. The Internet uses an address scheme for machines so
that they can be located. The address is a 32 bit integer which gives the IP address. This encodes a network
ID and more addressing. The network ID falls into various classes according to the size of the network
address.
Network address
Class A uses 8 bits for the network address with 24 bits left over for other addressing. Class B uses 16 bit
network addressing. Class C uses 24 bit network addressing and class D uses all 32.
Subnet address

26
Internally, the UNIX network is divided into sub networks. Building 11 is currently on one sub network and
uses 10-bit addressing, allowing 1024 different hosts.
Host address
8 bits are finally used for host addresses within our subnet. This places a limit of 256 machines that can be
on the subnet.

Total address

The 32 bit address is usually written as 4 integers separated by dots.


Port addresses
A service exists on a host, and is identified by its port. This is a 16 bit number. To send a message to a server,
you send it to the port for that service of the host that it is running on. This is not location transparency!
Certain of these ports are "well known".
Sockets
A socket is a data structure maintained by the system to handle network connections. A socket is created
using the call socket. It returns an integer that is like a file descriptor. In fact, under Windows, this handle
can be used with Read File and Write File functions.
#include <sys/types.h>
#include <sys/socket.h>
int socket(int family, int type, int protocol);
Here "family" will be AF_INET for IP communications, protocol will be zero, and type will depend on whether
TCP or UDP is used. Two processes wishing to communicate over a network create a socket each.
These are similar to two ends of a pipe - but the actual pipe does not yet exist.

JFree Chart
JFreeChart is a free 100% Java chart library that makes it easy for developers to display professional quality
charts in their applications. JFreeChart's extensive feature set includes:
A consistent and well-documented API, supporting a wide range of chart types;
A flexible design that is easy to extend, and targets both server-side and client-side applications;
Support for many output types, including Swing components, image files (including PNG and JPEG), and
vector graphics file formats (including PDF, EPS and SVG);
JFreeChart is "open source" or, more specifically, free software. It is distributed under the terms of the GNU
Lesser General Public Licence (LGPL), which permits use in proprietary applications.
1. Map Visualizations

27
Charts showing values that relate to geographical areas. Some examples include: (a) population density in
each state of the United States, (b) income per capita for each country in Europe, (c) life expectancy in each
country of the world. The tasks in this project include:
Sourcing freely redistributable vector outlines for the countries of the world, states/provinces in particular
countries (USA in particular, but also other areas);
Creating an appropriate dataset interface (plus default implementation), a rendered, and integrating this
with the existing XYPlot class in JFreeChart;
Testing, documenting, testing some more, documenting some more.

2. Time Series Chart Interactivity

Implement a new (to JFreeChart) feature for interactive time series charts --- to display a separate control
that shows a small version of ALL the time series data, with a sliding "view" rectangle that allows you to
select the subset of the time series data to display in the main chart.
3. Dashboards

There is currently a lot of interest in dashboard displays. Create a flexible dashboard mechanism that
supports a subset of JFreeChart chart types (dials, pies, thermometers, bars, and lines/time series) that can
be delivered easily via both Java Web Start and an applet.
4. Property Editors

The property editor mechanism in JFreeChart only handles a small subset of the properties that can be set
for charts. Extend (or reimplement) this mechanism to provide greater end-user control over the
appearance of the charts.
J2ME (Java 2 Micro edition):-
Sun Microsystems defines J2ME as "a highly optimized Java run-time environment targeting a wide range of
consumer products, including pagers, cellular phones, screen-phones, digital set-top boxes and car
navigation systems." Announced in June 1999 at the JavaOne Developer Conference, J2ME brings the cross-
platform functionality of the Java language to smaller devices, allowing mobile wireless devices to share
applications. With J2ME, Sun has adapted the Java platform for consumer products that incorporate or are
based on small computing devices.

1. General J2ME architecture

28
J2ME uses configurations and profiles to customize the Java Runtime Environment (JRE). As a complete JRE,
J2ME is comprised of a configuration, which determines the JVM used, and a profile, which defines the
application by adding domain-specific classes. The configuration defines the basic run-time environment as
a set of core classes and a specific JVM that run on specific types of devices. We'll discuss configurations in
detail in the The profile defines the application; specifically, it adds domain-specific classes to the J2ME
configuration to define certain uses for devices. We'll cover profiles in depth in the The following graphic
depicts the relationship between the different virtual machines, configurations, and profiles. It also draws a
parallel with the J2SE API and its Java virtual machine. While the J2SE virtual machine is generally referred to
as a JVM, the J2ME virtual machines, KVM and CVM, are subsets of JVM. Both KVM and CVM can be
thought of as a kind of Java virtual machine -- it's just that they are shrunken versions of the J2SE JVM and
are specific to J2ME.
2.Developing J2ME applications
Introduction In this section, we will go over some considerations you need to keep in mind when developing
applications for smaller devices. We'll take a look at the way the compiler is invoked when using J2SE to
compile J2ME applications. Finally, we'll explore packaging and deployment and the role preverification
plays in this process.
3.Design considerations for small devices
Developing applications for small devices requires you to keep certain strategies in mind during the design
phase. It is best to strategically design an application for a small device before you begin coding. Correcting
the code because you failed to consider all of the "gotchas" before developing the application can be a
painful process. Here are some design strategies to consider:
* Keep it simple. Remove unnecessary features, possibly making those features a separate, secondary
application.
* Smaller is better. This consideration should be a "no brainer" for all developers. Smaller applications
use less memory on the device and require shorter installation times. Consider packaging your Java
applications as compressed Java Archive (jar) files.
* Minimize run-time memory use. To minimize the amount of memory used at run time, use scalar
types in place of object types. Also, do not depend on the garbage collector. You should manage the
memory efficiently yourself by setting object references to null when you are finished with them. Another

29
way to reduce run-time memory is to use lazy instantiation, only allocating objects on an as-needed basis.
Other ways of reducing overall and peak memory use on small devices are to release resources quickly,
reuse objects, and avoid exceptions.

4.Configurations overview
The configuration defines the basic run-time environment as a set of core classes and a specific JVM that run
on specific types of devices. Currently, two configurations exist for J2ME, though others may be defined in
the future:
* Connected Limited Device Configuration (CLDC) is used specifically with the KVM for 16-bit or 32-
bit devices with limited amounts of memory. This is the configuration (and the virtual machine) used for
developing small J2ME applications. Its size limitations make CLDC more interesting and challenging (from a
development point of view) than CDC. CLDC is also the configuration that we will use for developing our
drawing tool application. An example of a small wireless device running small applications is a Palm hand-
held computer.

* Connected Device Configuration (CDC) is used with the C virtual machine (CVM) and is used for 32-
bit architectures requiring more than 2 MB of memory. An example of such a device is a Net TV box. 5.J2ME
profiles
What is a J2ME profile?
As we mentioned earlier in this tutorial, a profile defines the type of device supported. The Mobile
Information Device Profile (MIDP), for example, defines classes for cellular phones. It adds domain-specific
classes to the J2ME configuration to define uses for similar devices. Two profiles have been defined for J2ME
and are built upon CLDC: KJava and MIDP. Both KJava and MIDP are associated with CLDC and smaller
devices. Profiles are built on top of configurations. Because profiles are specific to the size of the device
(amount of memory) on which an application runs, certain profiles are associated with certain
configurations.
A skeleton profile upon which you can create your own profile, the Foundation Profile, is available for CDC.
Profile 1: KJava
KJava is Sun's proprietary profile and contains the KJava API. The KJava profile is built on top of the CLDC
configuration. The KJava virtual machine, KVM, accepts the same byte codes and class file format as the
classic J2SE virtual machine. KJava contains a Sun-specific API that runs on the Palm OS. The KJava API has a
great deal in common with the J2SE Abstract Windowing Toolkit (AWT). However, because it is not a
standard J2ME package, its main package is com.sun.kjava. We'll learn more about the KJava API later in this
tutorial when we develop some sample applications.
Profile 2: MIDP
MIDP is geared toward mobile devices such as cellular phones and pagers. The MIDP, like KJava, is built upon
CLDC and provides a standard run-time environment that allows new applications and services to be
deployed dynamically on end user devices. MIDP is a common, industry-standard profile for mobile devices
that is not dependent on a specific vendor. It is a complete and supported foundation for mobile application
development. MIDP contains the following packages, the first three of which are core CLDC packages, plus
three MIDP-specific packages.

9.2 SOURCE CODE


User.jsp

30
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>User</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/droid_sans_400- droid_sans_700.font.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 36px}
-->
</style>
</head>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html"><span class="style1">TRACKING HEALTHTRENDS ON SOCIAL MEDIA OVER
TIME</span></a></h1>
</div>
<div class="clr"></div>
<div class="menu_nav">
<ul>
<li><a href="index.html"><span>Home Page</span></a></li>
<li><a href="A_Login.jsp"><span>Admin</span></a></li>
<li class="active"><a href="U_Login.jsp"><span>user</span></a></li>
</ul>
</div>
<div class="clr"></div>
<div class="slider">
<div id="coin-slider"> <a href="#"><img src="images/slide1.jpg" width="960" height="360" alt=""
/><span><big>TRACKING HEALTHTRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a
href="#"><img src="images/slide2.jpg" width="960" height="360" alt=""
/><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER

31
TIME</big></span></a> <a href="#"><img src="images/slide3.jpg" width="960" height="360" alt=""
/><span><big>TRACKING HEALTHTRENDS ON SOCIAL
MEDIA OVER TIME</big></span></a> </div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="content">
<div class="content_resize">
<div class="mainbar">
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="sidebar">
<div class="searchform">
<form id="formsearch" name="formsearch" method="post" action="#">
<span>
<input name="editbox_search" class="editbox_search" id="editbox_search" maxlength="80" value="Search
our ste:" type="text" />
</span>
<input name="button_search" src="images/search.gif" class="button_search" type="image" />
</form>
</div>
<div class="gadget">
<h2 class="star"><span>Sidebar</span> Menu</h2>
<div class="clr"></div>
<ul class="sb_menu">
<li><a href="U_Main.jsp">User Home</a></li>
<li><a href="U_Login.jsp">Logout</a></li>
</ul>
</div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="fbg"></div>
<div class="footer">
<div class="footer_resize">
<div style="clear:both;"></div>
</div>
</div>
</div>

32
<div align=center></div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Admin</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 36px}
.style2 {color: #FFFFFF}
.style3 {font-weight: bold}
.style4 {font-weight: bold}
.style5 { color: #FF0000; font-size: 18px; font-weight: bold;
}
-->
</style>
</head>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html"><span class="style1">TRACKING HEALTH TRENDS ON SOCIAL
MEDIA OVER TIME</span></a></h1>
</div>
<div class="clr"></div>
<div class="menu_nav">
<ul>
<li><a href="index.html"><span>Home Page</span></a></li>
<li class="active"><a href="A_Login.jsp"><span>Admin</span></a></li>
<li><a href="U_Login.jsp"><span>user</span></a></li> </ul>
</div>
<div class="clr"></div>

33
<div class="slider">
<div id="coin-slider"> <a href="#"><img src="images/slide1.jpg" width="960" height="360" alt=""
/><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a
href="#"><img src="images/slide2.jpg" width="960" height="360" alt="" /><span><big>TRACKING HEALTH
TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a href="#"><img src="images/slide3.jpg"
width="960" height="360" alt="" /><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER
TIME</big></span></a> </div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="content">
<div class="content_resize">
<div class="mainbar">
<p>&nbsp;</p>
<p>&nbsp;</p>
<h2>Add Tweet Health Filter Details...</h2> <p>&nbsp;</p>
<form id="form1" name="form1" method="post" action="A_Add_Health_Filter1.jsp">
<p>&nbsp;</p>
<table width="385" border="2">
<tr>
<td width="181" height="47" bgcolor="#FF0000"><span class="style2 style11"><strong>Select
Filter Category </strong></span></td>
<td width="186"><select name="tclass">
<option>Select Filter Category</option>
<option>Over Weight</option>
<option>Injuries</option>
<option>Cancer</option>
<option>Blood Pressure</option>
<option>Sugar</option>
<option>Thyroid</option>

</select> </td>
</tr>
<tr>
<td height="52" bgcolor="#FF0000"><span class="style2 style11"><strong>Enter Filter Name
</strong></span></td>
<td><input type="text" name="fname" /></td>
</tr>
<tr>
<td height="52">&nbsp;</td>
<td><p>

34
<input type="submit" name="Submit" value="Add" />
<input type="reset" name="Submit2" value="Reset" /> </p></td>
</tr>
</table>
<p>&nbsp;</p>
<p><a href="AdminMain.jsp"></a></p>
<p class="style13 style5">Existing Filter Details ......</p> </form>

<%@ include file="connect.jsp" %>


<table width="417" border="1" cellpadding="0" cellspacing="0" >
<tr bgcolor="#99CCCC">
<td width="253" height="56" valign="baseline" bgcolor="#FFFFFF" style="color: #2c83b0;"><div
align="center" class="style3 style12 style7" >
<p>&nbsp;</p>
<p><strong>Health Category</strong></p>
</div></td>
<td width="237" height="56" valign="baseline" bgcolor="#FFFFFF" style="color: #2c83b0;"><div
align="center" class="style3 style12 style7" >
<p>&nbsp;</p>
<p><strong>Health Filter Name </strong></p> </div></td>
</tr>

<%

String s0="",s1="",s2="",s3="",s4="",s5="",s6=""; int i=1,j=0,count=0,rank=0,k=0;

try
{

String query="select * from filter ";


Statement st=connection.createStatement(); ResultSet rs=st.executeQuery(query); while ( rs.next() ) {

s0=rs.getString(1); s1=rs.getString(2);

%>
<tr>
<td height="33" valign="middle" bgcolor="#FF0000">
<div align="center" class="style4 style12 style14 style8 style2" >
<div align="center">
<%out.println(s0);%>
</div>

35
</div></td>

<td height="33" valign="middle" bgcolor="#FF0000">


<div align="center" class="style4 style12 style14 style9 style2" >
<div align="center">
<%out.println(s1);%>
</div>
</div></td>
</tr>
<%

} connection.close();
} catch(Exception e)
{ out.println(e.getMessage());
}

%>
</table>

<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="sidebar">
<div class="searchform">
<form id="formsearch" name="formsearch" method="post" action="#"> </form>
</div>
<div class="gadget">
<h2 class="star"><span>Sidebar</span> Menu</h2>
<div class="clr"></div>
<ul class="sb_menu">
<li><a href="A_Main.jsp">Admin Home</a></li>
<li><a href="A_Login.jsp">Logout</a></li> </ul>
</div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="fbg"></div>
<div class="footer">
<div class="footer_resize">
<div style="clear:both;"></div>

36
</div>
</div>
</div>
<div align=center></div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>User</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 36px}
-->
</style>
</head>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html"><span class="style1">TRACKING HEALTH TRENDS ON SOCIAL
MEDIA OVER TIME</span></a></h1>
</div>
<div class="clr"></div>
<div class="menu_nav">
<ul>
<li><a href="index.html"><span>Home Page</span></a></li>
<li><a href="A_Login.jsp"><span>Admin</span></a></li>
<li class="active"><a href="U_Login.jsp"><span>user</span></a></li>
</ul>
</div>
<div class="clr"></div>
<div class="slider">

37
<div id="coin-slider"> <a href="#"><img src="images/slide1.jpg" width="960" height="360" alt=""
/><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a
href="#"><img src="images/slide2.jpg" width="960" height="360" alt="" /><span><big>TRACKING HEALTH
TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a href="#"><img src="images/slide3.jpg"
width="960" height="360" alt="" /><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER
TIME</big></span></a> </div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="content">
<div class="content_resize">
<div class="mainbar">
<p>&nbsp;</p>
<p>&nbsp;</p>
</div>
<div class="sidebar">
<div class="searchform">
<form id="formsearch" name="formsearch" method="post" action="#">
<span>
<input name="editbox_search" class="editbox_search" id="editbox_search" maxlength="80" value="Search
our ste:" type="text" />
</span>
<input name="button_search" src="images/search.gif" class="button_search" type="image" /> </form>
</div>
<div class="gadget">
<h2 class="star"><span>Sidebar</span> Menu</h2>
<div class="clr"></div>
<ul class="sb_menu">
<li><a href="U_Main.jsp">User Home</a></li>
<li><a href="U_Login.jsp">Logout</a></li> </ul>
</div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="fbg"></div>
<div class="footer">
<div class="footer_resize">
<div style="clear:both;"></div>
</div>
</div>

38
</div>
<div align=center></div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>user Register Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 36px}
.style2 {color: #FF00FF}
.style3 {font-size: 14px}
.style4 {color: #FF00FF; font-size: 14px; }
-->
</style>
<script
src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key=AIzaSyD0X4v7eqMFcWCR-
VZAJwEMfb47id9IZao"></script>
<script> var map;

function initialize() { var mapOptions = { zoom: 12, center: new google.maps.LatLng(12.9716, 77.5946),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions
);
google.maps.event.addListener(map, 'click', function(event) { document.getElementById('latMap').value =
event.latLng.lat(); document.getElementById('lngMap').value = event.latLng.lng();
}); } function mapDivClicked (event) { var target = document.getElementById('map_canvas'), posx =
event.pageX - target.offsetLeft, posy = event.pageY - target.offsetTop, bounds = map.getBounds(), neLatlng =
bounds.getNorthEast(), swLatlng = bounds.getSouthWest(), startLat = neLatlng.lat(), endLng = neLatlng.lng(),
endLat = swLatlng.lat(), startLng = swLatlng.lng(); document.getElementById('posX').value = posx;
document.getElementById('posY').value = posy; document.getElementById('lat').value = startLat +

39
((posy/350) * (endLat - startLat)); document.getElementById('lng').value = startLng + ((posx/500) * (endLng -
startLng));
} google.maps.event.addDomListener(window, 'load', initialize); </script>

<script language="javascript" type="text/javascript"> <!--Start Reg Validation Jai Siddalinga--> function


valid()
{ var na3=document.s.name.value; if(na3=="")

{ alert("Please Enter User Name"); document.s.name.focus(); return false;


} else {
}
var na4=document.s.pwd.value; if(na4=="")
{
alert("Please Enter Password"); document.s.pwd.focus(); return false;
}

var na6=document.s.email.value; if(na6=="") { alert("Please Enter the Email"); document.s.email.focus();


return false; } var na7=document.s.mob.value; if(na7=="") { alert("Please Enter the Mobile");
document.s.mob.focus(); return false; } var na5=document.s.dob.value; if(na5=="") { alert("Please Enter the
DOB"); document.s.dob.focus(); return false; } var na11=document.s.gen.value; if(na11=="--Select--")
{ alert("please choose Gender"); document.s.gen.focus(); return false; }
var na8=document.s.add.value; if(na8=="")

{ alert("Please Enter the Address "); document.s.add.focus(); return false;


}

var na9=document.s.loc.value; if(na9=="")


{ alert("Please Enter the Location"); document.s.loc.focus(); return false;
}

var na121=document.s.lat.value; if(na121=="")

{ alert("Please Enter the Latitued"); document.s.lat.focus(); return false;


}

var na13=document.s.lon.value; if(na13=="")

{
alert("Please Enter the Longitued"); document.s.lon.focus(); return false;
}

40
var na10=document.s.photo.value; if(na10=="")

{ alert("please choose image"); document.s.photo.focus(); return false; } var na11=document.s.bg.value;


if(na11=="")

{ alert("please choose Your Blood Group"); document.s.bg.focus(); return false; } var


na12=document.s.sname.value; if(na12=="")

{ alert("please Enter Your Spouse Name"); document.s.sname.focus(); return false;


} var na13=document.s.cname.value; if(na13=="")
{ alert("please Enter Your Company Name"); document.s.cname.focus(); return false;
}
}
</script>
</head>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html"><span class="style1">TRACKING HEALTH TRENDS ON SOCIAL
MEDIA OVER TIME</span></a></h1>
</div>
<div class="clr"></div>
<div class="menu_nav">
<ul>
<li><a href="index.html"><span>Home Page</span></a></li>
<li><a href="A_Login.jsp"><span>Admin</span></a></li>
<li class="active"><a href="U_Login.jsp"><span>user</span></a></li>
</ul>
</div>
<div class="clr"></div>
<div class="slider">
<div id="coin-slider"> <a href="#"><img src="images/slide1.jpg" width="960" height="360" alt=""
/><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a
href="#"><img src="images/slide2.jpg" width="960" height="360" alt="" /><span><big>TRACKING HEALTH
TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a href="#"><img src="images/slide3.jpg"
width="960" height="360" alt="" /><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER
TIME</big></span></a> </div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>

41
</div>
<div class="content">
<div class="content_resize">
<h2><span class="style2">User Registration Form</span></h2>
<p align="center"><img src="images/Registration.jpg" width="160" height="114" /></p>
<form name="s" method="post" enctype="multipart/form-data" action="U_RegIns.jsp" onSubmit="return
valid()" ons>
<table height="351" align="center" cellspacing="5">
<tr>
<td><table cellpadding="10">
<tr>
<td>
<div align="right" class="style4 style2"><span class="style11"><font size="+1">User Name : </font>
</span></div></td>
<td><input type="text" id="name" name="name" style="width:100%"></td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style11"><font size="+1">Password :</font>
</span></div></td>
<td><label>
<input type="password" id="pwd" name="pwd" style="width:100%">
</label></td>
</tr>
<tr>
<td><div align="right" class="style4 style2"><span class="style13"><font size="+1">Email
:</font></span></div></td>
<td><input type="text" id="email" name="email" style="width:100%" placeholder="[email protected]"></td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Mobile :</font>
</span></div></td>
<td><label>
<input type="text" id="mob" name="mob" style="width:100%">
</label>
</p></td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">DOB
:</font></span></div></td>
<td><label>

42
<input type="text" id="dob" name="dob" style="width:100%" placeholder="DD/MM/YYYY">
</label></td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Gender
:</font></span></div></td>
<td><label>
<select id="gen" name="gen">
<option>--Select--</option>
<option>Male</option>
<option>Female</option>
</select>
</label></td>
</tr>
<tr>
<td><div align="right" class="style4 style2"><span class="style13"><font size="+1">Address :</font>
</span></div></td>
<td>
<label>
<textarea name="add" id="add" style="width:100%"></textarea>
</label>
</p></td>
</tr>
<tr>
<td><div align="right" class="style4 style2"><span class="style13"><font size="+1">Current Living
Region :</font> </span></div></td>
<td><select name="loc">
<option>--Select--</option>
<option>Bangalore</option>
<option>Mysore</option>
<option>Hydrabad</option>
<option>Delhi</option>
<option>Mumbay</option>
<option>Chennai</option>
<option>Calcutta</option>
<option>Mangalore</option>
<option>Tirupathi</option>
<option>Pune</option>
<option>Noida</option>
<option>Kozhikode</option>
<option>Thiruvananthapuram</option>
</select>

43
</td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Blood Group
:</font></span></div></td>
<td><label>
<select id="bg" name="bg">
<option>--Select--</option>
<option>A+</option>
<option>A-</option>
<option>B+</option>
<option>B-</option>
<option>AB+</option>
<option>AB-</option>
<option>O+</option>
<option>O-</option>
</select>
</label></td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Company Name
:</font></span></div></td>
<td><input type="text" id="cname" name="cname" style="width:100%"></td> </tr>

<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Choose Photo :</font>
</span></div></td>
<td>
<input type="file" id="photo" name="photo" style="width:100%" > </td>
</tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" value="Register" id="button1"><input type="reset" value="clear"></td> </tr>
</table> </td>
</tr>
</table>
</form>

44
<p>&nbsp;</p>
<p align="center"><a href="U_Login.jsp" class="style3">Back</a></p>
</div>
<div class="clr"></div>
</div>
</div>
<div class="fbg">
<div class="fbg_resize">
<div class="clr"></div>
</div>
</div>
<div class="footer">
<div class="footer_resize">
<div style="clear:both;"></div>
</div>
</div>
</div>
<div align=center></div>
</body>
</html>

USER PROFILE

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"


"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>User My Profile Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script>
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 36px}
.style2 {color: #FF00FF}
.style4 {color: #FFFFFF}
.style5 {color: #FF0000}
-->

45
</style>
</head>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html"><span class="style1">TRACKING HEALTH TRENDS ON SOCIAL
MEDIA OVER TIME</span></a></h1>
</div>
<div class="clr"></div>
<div class="menu_nav">
<ul>
<li><a href="index.html"><span>Home Page</span></a></li>
<li><a href="A_Login.jsp"><span>Admin</span></a></li>
<li class="active"><a href="U_Login.jsp"><span>user</span></a></li> </ul>
</div>
<div class="clr"></div>
<div class="slider">
<div id="coin-slider"> <a href="#"><img src="images/slide1.jpg" width="960" height="360" alt=""
/><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a
href="#"><img src="images/slide2.jpg" width="960" height="360" alt="" /><span><big>TRACKING HEALTH
TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a href="#"><img src="images/slide3.jpg"
width="960" height="360" alt="" /><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER
TIME</big></span></a> </div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="content">
<div class="content_resize">
<div class="mainbar">
<h2><span class="style2">User <%=(String)application.getAttribute("uname")%>'s
Profile...</span></h2>
<div class="clr"></div>
<p>&nbsp;</p>
<table width="533" border="1.5" align="center" cellpadding="0" cellspacing="0" > <%@ include
file="connect.jsp" %>

<%
String user=(String )application.getAttribute("uname");
String s1,s2,s3,s4,s5,s6,s7,s8,s55; int i=0; try

46
{
String
username='"+user+"'"; query="select *
from user where
Statement st=connection.createStatement(); ResultSet rs=st.executeQuery(query); if ( rs.next() )
{
i=rs.getInt(1); s1=rs.getString(4); s2=rs.getString(5); s3=rs.getString(9); s4=rs.getString(6); s5=rs.getString(7);
s55=rs.getString(9); s6=rs.getString(12); s7=rs.getString(10); s8=rs.getString(11);

%>
<tr>
<td width="226" rowspan="9" ><div class="style7 style26" style="margin:10px 13px 10px 13px;"
><strong><a class="#" id="img1" href="#" >
<input name="image" type="image" src="images.jsp?value=<%="user"%>&amp;id=<%=i%>"
style="width:200px; height:200px;" />
</a></strong></div></td>
</tr>
<tr>
<td width="141" height="37" valign="middle" style="color: #2c83b0;"><div align="left"
class="style15 style42 style60 style61" style="margin-left:10px;"><strong>E-Mail</strong></div></td>
<td width="158" valign="middle" style="color:#000000;"><div align="left" class="style40 style10
style62 style5" style="margin-left:10px;"><strong>
<%out.println(s1);%>
</strong></div></td>
</tr>
<tr>
<td width="141" height="40" valign="middle" style="color: #2c83b0;"><div align="left"
class="style15 style42 style60 style61" style="margin-left:10px;"><strong>Mobile</strong></div></td>
<td width="158" valign="middle" ><div align="left" class="style40 style10 style62 style5" style="margin-
left:10px;"><strong>
<%out.println(s2);%>
</strong></div></td>
</tr>
<tr>
<td height="43" align="left" valign="middle" style="color: #2c83b0;"><div align="left" class="style15 style42
style60 style61" style="margin-left:10px;"><strong>Location</strong></div></td>
<td align="left" valign="middle"><div align="left" class="style40 style10 style62 style5" style="margin-
left:10px;"><strong>
<%out.println(s3);%>
</strong></div></td>
</tr>
<tr>

47
<td width="141" height="43" align="left" valign="middle" style="color: #2c83b0;"><div align="left"
class="style15 style42 style60 style61" style="margin-left:10px;"><strong>Date of Birth</strong></div></td>
<td width="158" align="left" valign="middle"><div align="left" class="style40 style10 style62 style5"
style="margin-left:10px;"><strong>
<%out.println(s4);%>
</strong></div></td>
</tr>
<tr>
<td width="141" height="47" align="left" valign="middle" style="color: #2c83b0;"><div align="left"
class="style15 style42 style60 style61" style="margin- left:10px;"><strong>Gender</strong></div></td>
<td width="158" align="left" valign="middle" ><div align="left" class="style40 style10 style62 style5"
style="margin-left:10px;"><strong>
<%out.println(s5);%>
</strong></div></td> </tr>
<tr>
<td width="141" height="47" align="left" valign="middle" style="color: #2c83b0;"><div align="left"
class="style15 style42 style60 style61" style="margin-left:10px;"><strong>Blood Group</strong></div></td>
<td width="158" align="left" valign="middle" ><div align="left" class="style40 style10 style62 style5"
style="margin-left:10px;"><strong>
<%out.println(s7);%>
</strong></div></td> </tr>
<tr>
<td width="141" height="47" align="left" valign="middle" bgcolor="#FF0000" style="color:
#2c83b0;"><div align="left" class="style15 style42 style60 style61 style4" style="margin-
left:10px;"><strong>Region Name</strong></div></td>
<td width="158" align="left" valign="middle" bgcolor="#FF0000" ><div align="left" class="style40 style10
style62 style4" style="margin-left:10px;"><strong> <%out.println(s55);%>
</strong></div></td> </tr>
<tr>
<td width="141" height="47" align="left" valign="middle" style="color: #2c83b0;"><div align="left"
class="style15 style42 style60 style61" style="margin-left:10px;"><strong>Company
Name</strong></div></td>
<td width="158" align="left" valign="middle" ><div align="left" class="style40 style10 style62 style5"
style="margin-left:10px;"><strong>
<%out.println(s8);%>
</strong></div></td>
</tr>
<tr>
<td width="141" height="44" align="left" valign="middle" style="color: #2c83b0;"><div align="left"
class="style15 style42 style61 style60" style="margin-
left:10px;"><strong>Status</strong></div ></td>
<td width="158" align="left" valign="middle" style="color: #2c83b0;"><div align="left">
<div align="left" class="style10 style62 style5" style="margin-left:10px;"><strong> <%out.println(s6);%>

48
</strong></div></td>
</tr>
<%
} connection.close();
} catch(Exception e)
{ out.println(e);
}
%>
</table>
<p align="right"><a href="U_Main.jsp">Back</a></p>
</div>
<div class="sidebar">
<div class="searchform">
<form id="formsearch" name="formsearch" method="post" action="#">
<span>
<input name="editbox_search" class="editbox_search" id="editbox_search" maxlength="80" value="Search
our ste:" type="text" />
</span>
<input name="button_search" src="images/search.gif" class="button_search" type="image" />
</form>
</div>
<div class="gadget">
<h2 class="star"><span>Sidebar</span> Menu</h2>
<div class="clr"></div>
<ul class="sb_menu">
<li><a href="U_Main.jsp">User Home</a></li>
<li><a href="U_Login.jsp">Logout</a></li> </ul>
</div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="fbg"></div>
<div class="footer">
<div class="footer_resize">
<div style="clear:both;"></div>
</div>
</div>
</div>
<div align=center></div>
</body>
</html>
USER REGISTER

49
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>user Register Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="css/style.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" type="text/css" href="css/coin-slider.css" />
<script type="text/javascript" src="js/cufon-yui.js"></script>
<script type="text/javascript" src="js/droid_sans_400-droid_sans_700.font.js"></script> <script
type="text/javascript" src="js/jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="js/script.js"></script>
<script type="text/javascript" src="js/coin-slider.min.js"></script>
<style type="text/css">
<!--
.style1 {font-size: 36px}
.style2 {color: #FF00FF}
.style3 {font-size: 14px}
.style4 {color: #FF00FF; font-size: 14px; }
-->
</style>
<script
src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key=AIzaSyD0X4v7eqMFcWCR-
VZAJwEMfb47id9IZao"></script>
<script> var map;

function initialize() { var mapOptions = { zoom: 12, center: new google.maps.LatLng(12.9716, 77.5946),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions
);
google.maps.event.addListener(map, 'click', function(event) { document.getElementById('latMap').value =
event.latLng.lat(); document.getElementById('lngMap').value = event.latLng.lng();
}); } function mapDivClicked (event) { var target = document.getElementById('map_canvas'), posx =
event.pageX - target.offsetLeft, posy = event.pageY - target.offsetTop, bounds = map.getBounds(), neLatlng =
bounds.getNorthEast(), swLatlng = bounds.getSouthWest(), startLat = neLatlng.lat(), endLng = neLatlng.lng(),
endLat = swLatlng.lat(), startLng = swLatlng.lng();

document.getElementById('posX').value = posx; document.getElementById('posY').value = posy;


document.getElementById('lat').value = startLat + ((posy/350) * (endLat - startLat));
document.getElementById('lng').value = startLng + ((posx/500) * (endLng - startLng));
} google.maps.event.addDomListener(window, 'load', initialize); </script>

50
<script language="javascript" type="text/javascript"> <!--Start Reg Validation Jai Siddalinga--> function
valid()
{ var na3=document.s.name.value; if(na3=="")

{ alert("Please Enter User Name"); document.s.name.focus(); return false;


} else {

} var na4=document.s.pwd.value; if(na4=="") { alert("Please Enter Password"); document.s.pwd.focus();


return false; }
var na6=document.s.email.value; if(na6=="") { alert("Please Enter the Email"); document.s.email.focus();
return false; } var na7=document.s.mob.value; if(na7=="") { alert("Please Enter the Mobile");
document.s.mob.focus(); return false; } var na5=document.s.dob.value; if(na5=="")

{
alert("Please Enter the DOB"); document.s.dob.focus(); return false; } var na11=document.s.gen.value;
if(na11=="--Select--") { alert("please choose Gender"); document.s.gen.focus(); return false; } var
na8=document.s.add.value; if(na8=="")

{ alert("Please Enter the Address "); document.s.add.focus(); return false;


}

var na9=document.s.loc.value; if(na9=="")

{ alert("Please Enter the Location"); document.s.loc.focus(); return false;


}

var na121=document.s.lat.value; if(na121=="")

{ alert("Please Enter the Latitued"); document.s.lat.focus(); return false;


}

var na13=document.s.lon.value; if(na13=="")

{ alert("Please Enter the Longitued"); document.s.lon.focus(); return false;


}

var na10=document.s.photo.value; if(na10=="")

{ alert("please choose image"); document.s.photo.focus(); return false; } var na11=document.s.bg.value;


if(na11=="")

{
alert("please choose Your Blood Group"); document.s.bg.focus(); return false;

51
}
var na12=document.s.sname.value; if(na12=="")

{ alert("please Enter Your Spouse Name"); document.s.sname.focus(); return false; } var


na13=document.s.cname.value; if(na13=="")

{ alert("please Enter Your Company Name"); document.s.cname.focus(); return false;


}
}
</script>
</head>
<body>
<div class="main">
<div class="header">
<div class="header_resize">
<div class="logo">
<h1><a href="index.html"><span class="style1">TRACKING HEALTH TRENDS ON SOCIAL
MEDIA OVER TIME</span></a></h1>
</div>
<div class="clr"></div>
<div class="menu_nav">
<ul>
<li><a href="index.html"><span>Home Page</span></a></li>
<li><a href="A_Login.jsp"><span>Admin</span></a></li>
<li class="active"><a href="U_Login.jsp"><span>user</span></a></li>
</ul>
</div>
<div class="clr"></div>
<div class="slider">
<div id="coin-slider"> <a href="#"><img src="images/slide1.jpg" width="960" height="360" alt=""
/><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a
href="#"><img src="images/slide2.jpg" width="960" height="360" alt="" /><span><big>TRACKING HEALTH
TRENDS ON SOCIAL MEDIA OVER TIME</big></span></a> <a href="#"><img src="images/slide3.jpg"
width="960" height="360" alt="" /><span><big>TRACKING HEALTH TRENDS ON SOCIAL MEDIA OVER
TIME</big></span></a> </div>
<div class="clr"></div>
</div>
<div class="clr"></div>
</div>
</div>
<div class="content">
<div class="content_resize">
<h2><span class="style2">User Registration Form</span></h2>

52
<p align="center"><img src="images/Registration.jpg" width="160" height="114" /></p>
<form name="s" method="post" enctype="multipart/form-data" action="U_RegIns.jsp" onSubmit="return
valid()" ons>
<table height="351" align="center" cellspacing="5">
<tr>
<td><table cellpadding="10">
<tr>
<td>
<div align="right" class="style4 style2"><span class="style11"><font size="+1">User Name : </font>
</span></div></td>
<td><input type="text" id="name" name="name" style="width:100%"></td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style11"><font size="+1">Password :</font>
</span></div></td>
<td><label>
<input type="password" id="pwd" name="pwd" style="width:100%">
</label></td>
</tr>
<tr>
<td><div align="right" class="style4 style2"><span class="style13"><font size="+1">Email
:</font></span></div></td>
<td><input type="text" id="email" name="email" style="width:100%" placeholder="[email protected]"></td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Mobile :</font>
</span></div></td>
<td><label>
<input type="text" id="mob" name="mob" style="width:100%">
</label>
</p></td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">DOB
:</font></span></div></td>
<td><label>
<input type="text" id="dob" name="dob" style="width:100%" placeholder="DD/MM/YYYY">
</label></td>
</tr>
<tr>

53
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Gender
:</font></span></div></td>
<td><label>
<select id="gen" name="gen">
<option>--Select--</option>
<option>Male</option>
<option>Female</option>
</select>
</label></td>
</tr>
<tr>
<td><div align="right" class="style4 style2"><span class="style13"><font size="+1">Address :</font>
</span></div></td>
<td>
<label>
<textarea name="add" id="add" style="width:100%"></textarea>
</label>
</p></td>
</tr>
<tr>
<td><div align="right" class="style4 style2"><span class="style13"><font size="+1">Current Living
Region :</font> </span></div></td>
<td><select name="loc">
<option>--Select--</option>
<option>Bangalore</option>
<option>Mysore</option>
<option>Hydrabad</option>
<option>Delhi</option>
<option>Mumbay</option>
<option>Chennai</option>
<option>Calcutta</option>
<option>Mangalore</option>
<option>Tirupathi</option>
<option>Pune</option>
<option>Noida</option>
<option>Kozhikode</option>
<option>Thiruvananthapuram</option>
</select>
</td>
</tr>
<tr>
<td>

54
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Blood Group
:</font></span></div></td>
<td><label>
<select id="bg" name="bg">
<option>--Select--</option>
<option>A+</option>
<option>A-</option>
<option>B+</option>
<option>B-</option>
<option>AB+</option>
<option>AB-</option>
<option>O+</option>
<option>O-</option>
</select>
</label></td>
</tr>
<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Company Name
:</font></span></div></td>
<td><input type="text" id="cname" name="cname" style="width:100%"></td> </tr>

<tr>
<td>
<div align="right" class="style4 style2"><span class="style13"><font size="+1">Choose Photo :</font>
</span></div></td>
<td>
<input type="file" id="photo" name="photo" style="width:100%" > </td> </tr>

<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td><input type="submit" value="Register" id="button1"><input type="reset" value="clear"></td>
</tr>
</table> </td>
</tr>
</table>
</form>
<p>&nbsp;</p>
<p align="center"><a href="U_Login.jsp" class="style3">Back</a></p>
</div>

55
<div class="clr"></div>
</div>
</div>
<div class="fbg">
<div class="fbg_resize">
<div class="clr"></div>
</div>
</div>
<div class="footer">
<div class="footer_resize">
<div style="clear:both;"></div>
</div>
</div>
</div>
<div align=center></div>
</body>
</html>
CHAPTER-10

RESULTS/DISCUSSIONS

10.1 SYSTEM TESTING


The purpose of testing is to discover errors. Testing is the process of trying to discover every conceivable
fault or weakness in a work product. It provides a way to check the functionality of components,
subassemblies, assemblies and/or a finished product It is the process of exercising software with the intent
of ensuring that the Software system meets its requirements and user expectations and does not fail in an
unacceptable manner. There are various types of test. Each test type addresses a specific testing
requirement.
TYPES OF TESTS UNIT TESTING
Unit testing involves the design of test cases that validate that the internal program logic is functioning
properly, and that program inputs produce valid outputs. All decision branches and internal code flow
should be validated. It is the testing of individual software units of the application .it is done after the
completion of an individual unit before integration. This is a structural testing, that relies on knowledge of its
construction and is invasive. Unit tests perform basic tests at component level and test a specific business
process, application, and/or system configuration. Unit tests ensure that each unique path of a business
process performs accurately to the documented specifications and contains clearly defined inputs and
expected results.
INTEGRATION TESTING
Integration tests are designed to test integrated software components to determine if they
actually run as one program. Testing is event driven and is more concerned with the basic outcome of
screens or fields. Integration tests demonstrate that although the components were individually satisfaction,
as shown by successfully unit testing, the combination of components is correct and consistent. Integration
testing is specifically aimed at exposing the problems that arise from the combination of components.
FUNCTIONAL TEST

56
Functional tests provide systematic demonstrations that functions tested are available as
specified by the business and technical requirements, system documentation, and user manuals.
Functional testing is centered on the following items:
Valid Input : identified classes of valid input must be accepted.
Invalid Input : identified classes of invalid input must be rejected.
Functions : identified functions must be exercised.
Output : identified classes of application outputs must be exercised.
Systems/Procedures : interfacing systems or procedures must be invoked.
Organization and preparation of functional tests is focused on requirements, key functions, or
special test cases. In addition, systematic coverage pertaining to identify Business process flows; data fields,
predefined processes, and successive processes must be considered for testing. Before functional testing is
complete, additional tests are identified and the effective value of current tests is determined.
SYSTEM TEST
System testing ensures that the entire integrated software system meets requirements. It tests
a configuration to ensure known and predictable results. An example of system testing is the configuration
oriented system integration test. System testing is based on process descriptions and flows, emphasizing
pre-driven process links and integration points.
WHITE BOX TESTING
White Box Testing is a testing in which in which the software tester has knowledge of the inner
workings, structure and language of the software, or at least its purpose. It is purpose. It is used to test areas
that cannot be reached from a black box level.
BLACK BOX TESTING
Black Box Testing is testing the software without any knowledge of the inner workings,
structure or language of the module being tested. Black box tests, as most other kinds of tests, must be
written from a definitive source document, such as specification or requirements document, such as
specification or requirements document.
It is a testing in which the software under test is treated, as a black box .you cannot “see” into it. The test
provides inputs and responds to outputs without considering how the software works.

UNIT TESTING
Unit testing is usually conducted as part of a combined code and unit test phase of the
software lifecycle, although it is not uncommon for coding and unit testing to be conducted as two distinct
phases.
Test strategy and approach
Field testing will be performed manually and functional tests will be written in detail.
Test objectives
• All field entries must work properly.
• Pages must be activated from the identified link.
• The entry screen, messages and responses must not be delayed. Features to be tested
• Verify that the entries are of the correct format
• No duplicate entries should be allowed
• All links should take the user to the correct page.
Integration Testing

57
Software integration testing is the incremental integration testing of two or more integrated
software components on a single platform to produce failures caused by interface defects.
The task of the integration test is to check that components or software applications, e.g. components in a
software system or – one step up – software applications at the company level – interact without error.
Test Results: All the test cases mentioned above passed successfully. No defects encountered.
ACCEPTANCE TESTING
User Acceptance Testing is a critical phase of any project and requires significant participation by the end
user. It also ensures that the system meets the functional requirements.
Test Results: All the test cases mentioned above passed successfully. No defects encountered.

10.1.1 TEST CASES


Test case1:
Test case for Login form
FUNCTION: LOGIN

EXPECTED RESULTS: Should Validate the user


and check his existence in
database

ACTUAL RESULTS: Validate the user and


checking the user against
the database

LOW PRIORITY No

HIGH PRIORITY Yes

Test case2 :

Test case for User Registration form

FUNCTION: USER REGISTRATION

EXPECTED RESULTS: Should check if all the


fields are filled by the user
and saving the user to
database.

58
ACTUAL RESULTS: Checking whether all the
fields are field by user or
not through validations
and saving user.

LOW PRIORITY No

HIGH PRIORITY Yes

Test case3:
Test case for Change Password
When the old password does not match with the new password ,then this results in displaying an error
message as “ OLD PASSWORD DOES NOT MATCH WITH THE NEW PASSWORD”.
FUNCTION: Change Password

EXPECTED RESULTS: Should check if old


password and new
password fields are filled
by the user and saving the
user to database.
ACTUAL RESULTS: Checking whether all the
fields are field by user or
not through validations
and saving user.
LOW PRIORITY No

HIGH PRIORITY Yes

Test case 4:
Test case for Forget Password:
When a user forgets his password he is asked to enter Login name, ZIP code, Mobile number.
If these are matched with the already stored ones then user will get his Original password.

M F T E A R
o u e x c e P
d n s p t s r
u c t e u i

59
t C c a u o
l i a t l l r
e o s e t i
e d R
n e t
a R s y
l e u
i s l
t u t
y l s
t
s

U L 1. A A P H
s o N a i
e g a V V s g
r i v a a s h
n i l l
g i i
U a d d
s t a a
e e t t
c i i
a T o o
s o n n
e
W S H
w h a
w o s
. u
S l B
a d e
m e
p B n
l e
e P
. A o
C s p
o u
B l
m e a
l t
o e

60
2. w d
2
. “ A
C P s
l l
i e E
c a x
k s p
e e
O c
n E t
n e
S t d
u e
b r
m
i V
t a
l
B i
u d
t
t U
o s
n e
r
W n
i a
t m
h e
o
u &
t
P
E a
n s
t s
e w
r o
i r
n d
g ”

61
U
s
e
r
n
a
m
e

a
n
d

P
a
s
s
w
o
r
d

1 A A P
. a H
V V s i
a a a s g
N l l h
a i i
v d d
i a a
g t t
a i i
t o o
e n n

T S I
o h s
o
W u S
w l h
w d o
. w
S B n

62
a e
m A
p A s
l s
e E
. B x
C e p
o l e
o c
m w t
e
“ d
1 P
. l
e
2 a
. s
e
C
l E
i n
c t
k e
r
O
n V
a
S l
u i
b d
m
i P
t a
s
B s
u w
t o
t r
o d
n
O
W r
i

63
t P
h a
s
O s
u w
t o
r
F d
i
l F
l i
i e
n l
g d

P C
a a
s n
s
w N
o o
r t
d
B
A e
n
d E
m
W p
i t
t y
h

V
a
l
i
d

U
s
e
r

64
n
a
m
e

T
e
s
t

U
s
e
r
n
a
m
e
F
i
e
l
d

1. A A P H
N a i
N V V s g
a a a s h
vi l l
g i i
at d d
e a a
T t t
o i i
W o o
w n n
w
.S S I
a h s
m o

65
pl w S
e. n h
C o
o A w
m s n

2. B A
E e s
n l
te o E
r w x
B p
o “ e
t T c
h h t
e e
d
U
s
e
r
n
a
m
e

E
n
t
e
r
e
d

I
s

W
r
o
n
g

66
U
s
e
r
n
a
m
e
A
n
d
P
a
ss
w
o
r
d
W
r
o
n
g
A
n
d
H
it
E
n
te
r
1. V M
N a a P H
a l i a i
vi i n s g
g d s h
at a P
e t a
T e g
o e
W U /

67
w s
w e H
.S r o
a n m
m a e
pl m
e. e P
C a
o A g
m n e
d
2. H
E P a
n a s
te s
r s B
V w e
al o e
id r n
at d
e D
U I i
s n s
e p
r D l
n a a
a t y
m a e
e B d
A a
n s
d e
P
a A
ss n
w d
o
r O
d n
A c
n e
d
Cl I
f

68
ic
k T
O h
n e
S y
u
b C
m o
it r
r
e
c
t

T
h
e
n

S
h
o
w

T
h
e

M
a
i
n

P
a
g
e

10.2 SCREEN SHOTS


FIG 1 : HOME PAGE
A home page is a webpage that serves as the starting point of website. It is the default webpage that loads
when you visit a web address that only contains a domain name.

69
FIG 2: USER LOGIN

70
FIG 3: USER REGISTRATION

FIG 4 : CREATE TWEET

71
FIG 5: ADMIN LOGIN PAGE

FIG 6:
ADMIN HOME PAGE

72
FIG 7: VIEW USERS AS ADMIN

73
CHAPTER-11

CONCLUSION

11.1 CONCLUSION
We develop methods to uncover ailments over time from social media. We formulated health transition
detection and prediction problems and proposed two models to solve them. Detection is addressed with
TM–ATAM, a granularity- based model to conduct region-specific analysis that leads to the identification of
time periods and characterizing homogeneous disease discourse, per region. Prediction is addressed with T–
ATAM,that treats time natively as a random variable whose values are drawn from a multinomial
distribution. The fine- grained nature of T–ATAM results insignificant improvements in modeling and
predicting transitions of health-related tweets. We believe our approach is applicable to other domains with
time- sensitive topics such as disaster management and national security matters.

11.2 FUTURE SCOPE


 The project of tracking health trends on social media has significant potential for future scope and
expansion, as technology and data analysis capabilities continue to evolve. Here are some potential future
directions and areas of expansion for such a project:

CHAPTER-12 REFERENCES
[1] L. Manikonda and M. D. Choudhury, ―Modeling and understanding visual attributes of mental
health disclosures in social media,‖in Proceedings of the 2017 CHI Conference on Human Factors in
Computing Systems, Denver, CO, USA, May 06-11, 2017., 2017, pp.170– 181.
[2] S. R. Chowdhury, M. Imran, M. R. Asghar, S. Amer-Yahia, and C. Castillo,
―Tweet4act: Using incident-specific profiles for classifying crisis-related messages,‖ in 10th
Proceedings of the International Conference on Information Systems for Crisis Response and Management,
Baden-Baden, Germany, May 12- 15, 2013., 2013.
[3] T. Davidson, D. Warmsley, M. W. Macy, and I. Weber, ―Automated hate speech
detection and the problem of offensive language,‖ in Proceedings of the Eleventh International Conference
on Web and Social Media, ICWSM 2017, Montréal, Québec, Canada, May 15-18, 2017.,2017, pp. 512–515.
[4] M. J. Paul and M. Dredze, ―You Are What You Tweet: Analyzing Twitter for Public
Health,‖ in ICWSM’11, 2011.
[5] T. Hofmann, ―Probabilistic Latent Semantic Indexing,‖ in SIGIR’99, 1999, pp. 50–57.
[6] D. M. Blei, A. Y. Ng, and M. I. Jordan, ―Latent Dirichlet Allocation,‖Journal of Machine Learning, vol.
3, pp. 993–1022, 2003.
[7] Y. Wang, E. Agichtein, and M. Benzi, ―TM-LDA: Efficient Online Modeling of Latent Topic
Transitions in Social Media,‖ in KDD’12,2012, pp. 123–131.
[8] S. Sidana, S. Mishra, S. Amer-Yahia, M. Clausel, and M. Amini,―Health monitoring on social media
over time,‖ in Proceedings of the 39th International ACM SIGIR conference on Research and Development in
Information Retrieval,

74
SIGIR 2016, Pisa, Italy, July17-21, 2016, 2016, pp. 849–852.
[9] D. M. Blei and J. D. Lafferty, ―Dynamic Topic Models,‖ in ICML’06,2006, pp. 113– 120.
[10] C. X. Lin, Q. Mei, J. Han, Y. Jiang, and M. Danilevsky, ―The Joint Inference of Topic Diffusion
and Evolution in Social Communities,‖in ICDM’11, 2011, pp. 378–387.

75
[11] X. Wang and A. McCallum, ―Topics Over Time: A Non-Markov Continuous-
time Model of Topical Trends,‖ in KDD’06, 2006, pp.424–433.
[12] K. W. Prier, M. S. Smith, C. Giraud-Carrier, and C. L. Hanson,―Identifying
Health- related Topics On Twitter,‖ in Social computing, behavioral-cultural modeling
and prediction. Springer, 2011, pp.18–25.
[13] C. Cortes and V. Vapnik, ―Support-vector networks,‖ Machine Learning,
vol. 20, no. 3, pp. 273–297, 1995. [Online]. Available:
http://dx.doi.org/10.1007/BF00994018
[14] M. De Choudhury, ―Anorexia on Tumblr: A Characterization Study,‖
in DH’15, 2015, pp. 43–50.
[15] M. De Choudhury, A. Monroy-Hernández, and G. Mark, ―"narco" Emotions:
Affect and Desensitization in Social Media During the Mexican Drug War,‖ in CHI’14,
2014, pp. 3563– 3572.
[16] U. Pavalanathan and M. De Choudhury, ―Identity Management and
Mental Health Discourse in Social Media,‖ in WWW’15, 2015,pp. 315–321.
[17] F. Bouillot, P. Poncelet, M. Roche, D. Ienco, E. Bigdeli, andS. Matwin,
―French Presidential Elections: What are the Most Efficient Measures for
Tweets?‖ in PLEAD’12. ACM, 2012, pp.23–30.
[18] L. Hemphill and A. J. Roback, ―Tweet Acts: How Constituents
Lobby Congress via Twitter,‖ in CSCW’14, 2014, pp. 1200–1210.
[19] A. Ceron, L. Curini, and S. M. Iacus, ―Using Sentiment Analysis to Monitor
Electoral Campaigns: Method Matters-Evidence from the United States and Italy,‖ Soc.
Sci. Comput.
Rev., vol. 33, no. 1, pp.3–20, 2015.
[20] P. Barberá, ―Birds of The Same Feather Tweet Together: BayesianIdeal Point
Estimation using Twitter Data,‖ Political Analysis, vol. 23, no. 1, pp. 76–91,2015. [21]
L. Jiang, M. Yu, M. Zhou, X. Liu, and T. Zhao, ―Target-dependent Twitter
Sentiment Classification,‖ in HLT’11, 2011, pp. 151–160.

105

76

You might also like