Documente Academic
Documente Profesional
Documente Cultură
PROJECT REPORT
Submitted in partial fulfillment of the Requirements
For the award of Master of Computer Application Degree
Submitted by
PRATISHA MALVIYA
Enrollment NO. (0103CA173D45)
JANUARY-JUNE, 2019
LAKSHMI NARAIN COLLEGE OF TECHNOLOGY (MCA),
BHOPAL
CERTIFICATE
This is to certify that the work embodied in this Minor project-I, “Title of the Project” has been
satisfactorily completed by PRATISHA MALVIYA (0103CA173D45). It is a bonafide piece of
work, carried out under our / my guidance in the Master of Computer Application, Lakshmi
Narain College of Technology, Bhopal for the partial fulfillment of the Master of Computer
Application degree during the academic session January-June, 2019.
Guided By
Approved By
Head of Department
Forwarded by
Director
Lakshmi Narain College of Technology (MCA),Bhopal
LAKSHMI NARAIN COLLEGE OF TECHNOLOGY (MCA),BHOPAL
CERTIFICATE OF APPROVAL
DECLARATION
Date:
CONTENTS
Certificate i
Certificate of Approval ii
Declaration iii
Acknowledgment iv
Chapter 1. Introduction
1.1 Project Overview 1
1.2 Purpose/Objective of Project 1
1.3 Problems in Existing System 3
1.3.1 a 5
1.3.2 b 6
1.3.3 c 7
1.3.4 d 8
1.4 Solution of these Problems 10
1.4.1 a 10
1.4.1.1 aa 10
1.4.1.2 bb 10
1.4.1.3 cc 11
1.4.2 b 13
1.4.2.1 aa 14
1.4.2.2 bb 14
1.5 Socio-Economic Benefits
Bibliography
Chapter 1. Introduction
“CLASSIFIED WEB”
If you post something on a classified website there would be many responses waiting for you. It’s
the advantage in a classified website which is highly appreciated by online user’s community and this
is the popular way on the internet for both recruiters and seeker so they all go at same place and find
easily what they are looking for.
Here you could both be buyer and seller. You could also start a new business through a classified
website.
This is a website where registered users can post the advertisement of the products they want to sell
and also they can see the details of the products posted by other users and they can buy product
they want.
The aim of this is on the online shopping web side. The application is very useful where the can
directly buying and selling the product .The application reduces lot of workload for customers as
well as owner. The transaction of money is completed in real time System.
Shopping has long been considered as refreshment by many. Shopping in online became a
recreational activity of life. The reason of developing web based online shopping system is everyone
walking down the street has some difficulties, also some people are so much busy and not able to go
out for shopping, some don’t like to shop in crowd. There is another reason that it’s not possible to
see all the product of a store, also its hazardous for both the customer and the seller. The world of
software development there lots of improvement in this area and to reduce the complexity of people
of life online shopping system development. Online shopping system is a virtual store on Internet
where customer can browse the product and select the product of interest. The selected product
may be collected in shopping cart. At checkout time the items in the shopping care will be presented
as an order. At that time shipping information and payment method have to select to the customer.
Finally by confirming the order has to complete the shopping and the product will deliver to
customer via currier, post office or by direct agent of company.
The main objective of the project is to facilitate people with simple way to sell their products at
valuable price to a valuable customer and also the user can search the product they need in various
category and sub categories. The objective of the Shopping systems is to increase the point of
customer choice, reduce time used in shopping and efficiency in buying product.
To develop an easy way to use web based interface where users can search for product view
the details of the product and order it without going to market.
The searching product can be done by product category, manufacturer as well as latest
product, view it purchase it become a convenient way for customer.
Customer can add product to cart to purchase, delete the product from cart before selecting
the final submission.
A user can view the complete specification of the product with various images and also view
the customer review the product.
It also facilitate the service provider to know the current stats of market and take decision
which product are selling more now a days and have to keep in store.
At present whenever people want to sale their goods they have to search for the valuable buyer for a
long time so this website will provide them a platform where they can post the details of the product
they want to sale.
Also the users can see the details of the products posted by other users and they can buy the
products they want.
1.3.1 a
The existing system i.e., classifieds and yellow pages system works by manually supplying
Information regarding an Advertisement to be placed in the media say newspapers, magazines etc.
This must be checked thoroughly before given for final print the existing system has got lot of
intricacies within itself and need lot of human effort and paper works.
All above the data need to be maintained properly and maintaining this is a tedious and risky process
as a small printing error may completely change the sense of the Advertisement.
Moreover to view a data or to keep a record of a particular Advertisement may need lot of paper to
be searched.
1.3.2 b
Course of action is time consuming. Wherever need for search arises, the process
Evolves search through paper.
Paper records are easily damaged in course of time. The life time of paper records is
unreliable less that it easily gets spoiled.
1.3.4.d
It is difficult for the user to category and do the comparative study of the AD’s on the basis of just
reading about it on a piece of paper.
This challenge can be solved by taking the proper steps to verify the customers Information. First of
all recognize signs of suspicious activities like if any customers are placing high priced order or large
orders, Detect fake phone numbers or email address, check zip code whether it is matching with
state/city. Besides this when a customer’s signs up send a verification link via a text message or
email to validate the genuineness of customers. And when a customer makes a COD purchase
automated call can be dialed out of the customer and ask him /her to validate the delivery address
Considering consumers’ worry of misuse of credit card information, Inc. acquired Pay pal, a global
leader in online payment solutions, which uses the most exceptional exclusive fraud prevention
systems, enabling any individual or business with an email address to securely, easily and quickly
send and receive payments online. When using Pay pal, the credit card information is kept in its
server, thus preventing sellers from knowing that information. On the other hand, the payment
process completes immediately as the money transfers directly to the seller’s account. Then,
customer can track the progress of the payment by my classified web or PayPal account.
Additionally, Pay pal also provide Buyer Protection in case of non-receipt of item or dramatically
difference from seller’s description. This programmer covers eligible transactions for up to the full
purchase price plus original shipping charges. In order to use PayPal, consumers are required to bind
the eBay and PayPal account together and confirm the address with it.
As the bad emotion of this risk arises from the disclosure of personal information, keeping this
information private plays an essential role in the process to solve the problem. Stated by eBay, they
treasure the data as valuable assets, so store them on their servers located in America by using
variety of methods (password, encryption, physical security, etc.) to prevent unlawful entrance and
exposure, unauthorized disclosure to third party for marketing purpose as well. They also make use
of Cookies, most of which are session cookies that can disappear by itself immediately after logging
out from eBay or exiting from the web pages, to lessen the times of inputting passwords, thus
enforcing trust and safety. Another guarantee of eBay is that they forbid spreading spam or spyware
through their communication tools by automatic scan and manual filter. They suggested that
individual identities combined with feedback ratings and icons comprise a trust-building function at
eBay which can reduce product performance risk perceived by consumers. Community members
choose their own usernames to maintain individual identities used to distinguish each other.
Feedback ratings are the numbers appear next to one’s username, calculated by the sum of positive
comments minus that of negative ones describing the behavior of the user during past trades. A
higher number means a good reputation, resulting out more traders to involve in the trade with that
person. By clicking the rating, there will arise more details about the comments, including negative,
positive, as well as neutral ones. To maintain a minimum performance level from all sellers, eBay
sets out specific amount of detailed seller ratings (DSRs) from the aspects of communication,
delivery time, shipping fees and items. Sellers who do not meet the requirement will be forbidden to
register new accounts or use the old ones to bypass any restrictions as a punishment. Icons also
appear after usernames, reflecting the status of the user and reminding potential bidders or sellers of
the recent change in status or new comers. For example, a pair of sunglasses indicates the recent
change of status while stars of various colors represent certain levels of experience. To sum up, the
username distinguish individuals, the feedback rating reflects the amount of positive experience
attained by different individuals, and the icon generates the status according to the feedback
rating. To cope with time/convenience risk, Toolbar is a wise choice, with which shoppers can log
into My and your alerts quickly, seek merchandise efficiently in eBay.com, eBay Motors, Half.com
and more, as well as manage items properly. For example, when searching items online, consumers
can access both the Web and the eBay, customize the appearance of result list according to different
aspects of individual references, such as location, buying format, distance. Then during the
management period after the selection of goods, desktop alerts of the eBay Toolbar provides buyers
with timely notifications to prevent neglecting any items that may be overdue. Traders can also
browse their buying and selling status right through the desktop instead of logging in, which saves a
lot of time .Considering the shipping stage, adopts a discriminating service strategy which provides
various delivery types in order to meet different needs towards time demand. For instance, in United
States, there are options like Next Day Air, 2nd Day Air, 3 Day Select among others, which takes
corresponding time to deliver goods. Offer your product on prominent marketplaces like Amazon,
eBay, etc. as these e-commerce sites already have an existing network of buyers so pitching and
branding your product becomes relatively easy.
Segment visitors - Visitor segmentation allows ecommerce companies to focus on their website
visitors on the basis of their customer journey - past conversations, geographical location, browsing
behavior, referral page, and more.
This allows ecommerce companies to anticipate customer needs and offer them personalized service
(free delivery or promo codes) to convert them more easily.
To earn customer loyalty, what you must provide is excellent customer service. You must make sure
from ordering online to shipping, the customer is satisfied with your service. There are plenty of
online retailers that might be selling the same product like yours, so you must identify your
competitive advantage and nurture your customer service accordingly.
The few simple ways to increase trust with visitors are as follows:
Display your address, phone number, and pictures of staff, customer testimonials, and
credibility badges on your website.
Make customer service as a priority before profit. Always remember, it’s always easy to
maintain an existing customer than to find a new.
Create loyalty programs. As the points are not transferable to other companies, the customer
will definitely make next purchases from your sites.
Online shopping opens up the market to buyers and sellers across the world. This increases visibility
and can be a positive revenue stream for many countries. Shopping can take place at any time of the
day or night and from any location. This really opens up the market and makes time zones obsolete;
everything is ‘open’ all of the time.
Targeted Marketing
Retailers have more access to their customer’s wants, needs and shopping habits and can easily send
advertisements to them on targeted items they would be the most interested in. This is a benefit for
customers because they have better access to product they actually are interested and are more likely
to shop for sales online. This is great for retailers because they aren’t just sending out mass flyers
and emails to the wrong individuals. This leads to quicker more efficient sales.
Price Consistency
Customers are more likely to price compare online which leads to more transparency for the
customer. There are search engines and sites that even do this work for customers. Because of this,
customers can be sure they are getting a fair deal. On the flip side, if there are items that are scare or
very popular, then customers will be able to find all of the places a product is available. This
transparency can drive prices either up or down depending on the product and its popularity.
Direct Sellers
There are websites that serve as middlemen for direct sellers as well, if they do not have a retail
website or can use as a secondary referral service. These types of websites take a commission but
increase visibility and can bring business to smaller merchants who in the past may not have had
access to such a large, diverse market place. This also helps with the bottom like because online sales
can be seen as icing on the cake. Retailers do not have to actually have a location and all of the costs
that go into a storefront. Small businesses can boost brick and mortar sales by increased visibility.
There has also been an emergence of online retailers that function autonomously through their own
website. These retailers can sell, produce and ship from pretty much anywhere and have more
access.
Overall, online shopping is a win-win for the economy. This is the new standard way many prefer to
shop, especially for niche items and to price compare. With shopping being simpler and more
transparent, customers are more apt to feel confident with their purchases and get a fair deal. More
options and consistency leads to a more stable economy, and offers up more opportunities for
retailers who in the past would not have as much visibility or sales.
Chapter 2. System Analysis
2.1 Introduction
Analysis is the focus of system developing and is the stage when system designer have to work at
two levels of definition regarding the study of situational issues and possible solutions in terms of
“what to do” and “how to do”.
SDLC is nothing but Software Development Life Cycle. It is a standard which is used by software
industry to develop good software.
Analysis Stage-The planning stage establishes a bird's eye view of the intended software
product, and uses this to establish the basic project structure, evaluate feasibility and risks
associated with the project, and describe appropriate management and technical approaches
Designing Stage-The design stage takes as its initial input the requirements identified in the
approved requirements document. For each requirement, a set of one or more design
elements will be produced as a result of interviews, workshops, and/or prototype efforts.
Design elements describe the desired software features in detail, and generally include
functional hierarchy diagrams, screen layout diagrams, tables of business rules, business
process diagrams, pseudo code, and a complete entity-relationship diagram with a full data
dictionary. These design elements are intended to describe the software in sufficient detail
that skilled programmers may develop the software with minimal additional input.
Development (Coding) Stage-The development stage takes as its primary input the design
elements described in the approved design document. For each design element, a set of one
or more software artifacts will be produced. Software artifacts include but are not limited to
menus, dialogs, and data management forms, data reporting formats, and specialized
procedures and functions. Appropriate test cases will be developed for each set of
functionally related software artifacts, and an online help system will be developed to guide
users in their interactions with the software .RTM will be updated to show that each
developed artifact is linked to a specific design element, and that each developed artifact has
one or more corresponding test case items.
Integration & Test Stage-During the integration and test stage, the software artifacts,
online help, and test data are migrated from the development environment to a separate test
environment. At this point, all test cases are run to verify the correctness and completeness
of the software. Successful execution of the test suite confirms a robust and complete
migration capability. During this stage, reference data is finalized for production use and
production users are identified and linked to their appropriate roles. The final reference data
(or links to reference data source files) and production user list are compiled into the
Production Initiation Plan.
Installation & Acceptance Test-During the installation and acceptance stage, the software
artifacts, online help, and initial production data are loaded onto the production server. At
this point, all test cases are run to verify the correctness and completeness of the software.
Successful execution of the test suite is a prerequisite to acceptance of the software by the
customer..
2.4 Feasibility Study
It is a measure of the practically of a specific technical solution and the availability of technical
resources and expertise.
The above tools are readily available, easy to work with and widely used for developing commercial
application.
2.4.2 Operational Feasibility
It looks at the financial aspects of the project. It determines whether the manageme nt
has enough resources and budge t to invest in the proposed system and the estimated time
for the recovery of cost incurred. It a l s o d e t e r m i n e s w h e t h e r i t
i s w o r t h w h i l e t o i n v e s t t h e m o n e y i n t h e proposed project. Economic
feasibility is determines by the means of cost benefit analysis. The proposed system is
economically feasible because the c o s t i n v o l v e d i n p u r c h a s i n g t h e h a r d w a r e
a n d t h e s o f t w a r e a r e w i t h i n approachable. The personal cost like salaries
o f e m p l o y e e s h i r e d a r e a l s o nominal, because working in this system need not required a
highly qualified professional. The operating-environment costs are marginal. The less
time involved also helped in its economic feasibility.
This system will be used if it is developed well then be resistance for users that undetermined.
No major training and new skills are required as it is based on Process model.
It will help in the time saving and fast processing and dispersal of user request and
application.
New product will provide all the benefits of present system better performance.
User support.
User involvement in the building of present system is sought to keep in mind the user
specific requirement and needs.
User will have control over their own information. Important information such as pay-
slip can be generated at the click of a button.
A third strategy you can use to validate your product and its market is to analyze demand and search
volume. Now that you know more about your competitors, let’s take a closer look at interest from
potential customers.
The easiest starting place is to go to Google Trends. This is a free tool that allows you to see how
often people are searching for the product you’re selling. Knowing where the market is going can
help you make a more informed decision and using Google Trends lets you see if your product idea
is trending up, down, or if it’s stagnant. The last thing you want to do is jump into a declining
market. There are a number of other ways to validate your product, and we share additional
resources in our full course on Shoplift Academy. In the course, we also cover other important
lessons we’ve learned about reaching new customers and scaling our business. One final point all
entrepreneurs should keep in mind is to not let validation turn into procrastination. Doing the initial
legwork to validate your product is undeniably useful: it will give you the confidence necessary to
put yourself out there, and it can help you avoid costly mistakes, saving you time and money.
The truth is every business owner has to learn as they go, and trying to perfectly predict how
everything will play out just delays you from shipping and selling a real product. Dipping your toes
in the water can teach you a lot, but all of your research and analysis is ultimately just a lead up to
that pivotal moment when you finally dive in.
13.1 Introduction
This chapter deals with the type of hardware that is used and the software to support the same.
Selection and identification of suitable software is also taken into account. Connectivity between
various technologies used is established. The designing of interfaces and identification of all
functional requirements is carried out. Mainly this system is designed in two modules.
Desktop application using open source software like java and data mining tool Weak for
predicting air and water quality data.
Web based GIS application for finding its impact on human health and the representation of
the same in the form of real time maps.
Software Requirements
Operating System: Windows XP/Windows7/8/
Server Side Scripting Language: Java
Data Base: MySQL 5.0
IDE/Tools: Net Beans/Sublime Text
Web Server: Apache Tomcat
Hardware Requirements
Intel - Celeron/DC/C2D/i3/i5: 2.4 GHz or above.
RAM (SD/DDR): 4GB or above.
Hard Disc: 10GB or above.
4.1 Introduction
System design is the solution for the creation of a new system. This phase focuses on the detailed
implementation of the feasible system. It emphasis on translating design. Specifications to
performance specification. System design has two phases of development.
Logical design
Physical design
During logical design phase the analyst describes inputs sources, output destinations, databases data
sores and procedures data flows all in a format that meets the user requirements. The analyst also
specifies the needs of the user at a level that virtually determines the information flow in and out of
the system and the data resources. Here the logical design is done through data flow diagrams and
database design. The physical design is followed by physical design or coding. Physical design
produces the working system by defining the design specifications, which specify exactly what the
candidate system must do. The programmers write the necessary programs that accept input from
the user perform necessary processing on accepted data and produce the required report on a hard
copy or display it on the screen.
A designer usually draws a context-level DFD showing the relationship between the entities inside
and outside of a system as one single step. This basic DFD can be then disintegrated to a lower level
diagram demonstrating smaller steps exhibiting details of the system that is being modeled.
Numerous levels may be required to explain a complicated system .Data flow diagram is made up of
basic geometric shapes connected by arrows showing the flow direction.
Countryid Bigint 255 Primary key for country table and also auto incremented
Id Int 11 Primary key for post table and also auto incremented
Category Varchar 100 Category of the product to be posted
Subategory Varchar 100 Sub category of the product to be posted
Email Varchar 100 Email of the user who is posting the ad.
Amount Int 11 Price of the product
Description Varchar 100 Details of the product
File Varchar 100 Name of the file uploaded with product
Productname Varchar 100 Name of the product
Table No 9. (Admin)
Login.jsp
Post. Jsp
<%@page import="conn.Getconn"%>
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="java.sql.Connection"%>
<%@include file="header. Jsp" %>
<div class="container">
<form action="uploadpage.jsp" method="post" enctype="multipart/form-data">
<div class="row">
<div class="col-md-3"></div>
<div class="col-md-6">
<div class="box box-primary pad">
<div class="box-header">
<h3>Post for Public</h3>
</div>
<div class="box-footer">
<div class="row">
<div class="col-md-6 col-sm-6">
<div class="form-group">
<select class="form-control select2" id="product Category" on
change="clear Error (categoryerr)" style="width: 100%;" name="cat">
<option selected="selected">Select category</option>
<% Connection con = null;
Try {
Con = Getconn.getconnection ();
String sql = "select * from product";
PreparedStatement ps = con. Prepare Statement (sql);
Result Set rs = ps.executeQuery ();
While (rs. next ()) {
%>
<Option><%=rs.getString ("Pname")%></option>
<%
}
} catch (Exception e) {
e.printStackTrace ();
} finally {
Try {
con.close ();
} catch (Exception e) {
}
}
%>
</select>
</div>
<div class="form-group">
<span id="categoryerr" class="error"></span>
</div>
</div>
<div class="col-md-6 col-sm-6">
<div class="form-group">
<select class="form-control select2" id="produc tsubCategory" on
change="clear Error(sub categoryerr)" style="width: 100%;" name="subcat">
<option selected="selected">Select sub-category</option>
<% Connection con1 = null;
try {
con1 = Getconn.getconnection();
String sql = "select * from sub_product";
PreparedStatement ps = con1.prepareStatement(sql);
ResultSet rs = ps.executeQuery();
while (rs.next()) {
%>
<option><%=rs.getString("sub_name")%></option>
<%
}
} catch (Exception e) {
e.printStackTrace();
} finally {
try {
con1.close();
} catch (Exception e) {
}
}
%>
</select>
</div>
<div class="form-group">
<span id="subcategoryerr" class="error"></span>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6 col-sm-6">
<div class="form-group">
<input type="text" class="form-control" name="productname"
id="producName" onkeypress="clearError(productnameerr)" placeholder="Product Name"
value="">
</div>
<div class="form-group">
<span id="productnameerr" class="error"></span>
</div>
</div>
<div class="col-md-6 col-sm-6">
<div class="form-group">
<input type="text" class="form-control" name="amount"
id="productPrice" onkeypress="clearError(priceerr)" required="required" placeholder="Enter
Price">
</div>
<div class="form-group">
<span id="priceerr" class="error"></span>
</div>
</div>
</div>
<div class="row">
Registration.jsp
seedetails
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="conn.Getconn"%>
<%@page import="java.sql.Connection"%>
User_profile.jsp
<%@page import="java.sql.ResultSet"%>
<%@page import="java.sql.PreparedStatement"%>
<%@page import="conn.Getconn"%>
<%@page import="java.sql.Connection"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%
String email = (String) session.getAttribute("email");
session.setAttribute("email", email);
%>
<ul class="nav navbar-nav navbar-right">
<li><a href="#"><%=(String) session.getAttribute("email")%></a></li>
<li><a href="#">Track Order</a></li>
<li><a href="post_redirect.jsp">Post</a></li>
<li><a href="#"></a></li>
<li><a href="logout.jsp">logout</a></li>
<li><a href="post_redirect.jsp">Post</a></li>
<li><a href="#">Orders</a></li>
<li><a href="user_wallet.jsp">Wallet</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><%=(String)
session.getAttribute("email")%><b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#">My Profile</a></li>
<li class="divider"></li>
<li><a href="#">Log Out </a></li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">24x7 Support <b
class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="#"><strong>Call: </strong>+09-456-567-890</a></li>
<li><a href="#"><strong>Mail: </strong>info@yourdomain.com</a></li>
<li class="divider"></li>
<li><a href="#"><strong>Address: </strong>
<div>
234, New york Street,<br />
Just Location, USA
</div>
</a>
</li>
</ul>
</li>
</ul>
<form class="navbar-form navbar-right" role="search">
<div class="form-group">
<input type="text" placeholder="Search Here ..." class="form-control">
</div>
<button type="submit" class="btn btn-primary">Search</button>
</form>
</div>
/.navbar-collapse
</div>
/.container-fluid
</nav>-->
<%@include file="header.jsp" %>
<section class="content">
<section class="block">
<div class="container-fluid">
<div class="row">
<div class="col-md-3">
<nav class="nav flex-column side-nav">
<a class="list-group-item active" href="my-profile.jsp">
<i class="fa fa-user"></i> Update Profile
</a>
<a class="list-group-item " href="user_wallet.jsp">
<i class="fa fa-money"></i> Wallet
</a>
<a class="list-group-item " href="myads.jsp">
<i class="fa fa-heart"></i> My Ads
</a>
<a class="list-group-item " href="userMessages.jsp">
<i class="fa fa-comments"></i> Messages
</a>
<a class="list-group-item" href="change_password.jsp">
<i class="fa fa-key"></i> Change Password
</a>
<a class="list-group-item" href="logout.jsp">
<i class="fa fa-sign-out"></i> Log Out
</a>
</nav>
</div>
<div class="col-md-9">
<div class="row">
<div class="col-md-9">
<form action="upload_profilepicture.jsp"enctype="multipart/form-data"
method="post" class="form">
<div class="box box-primary pad">
<div class="row">
<div class="col-md-12">
<div>
<div class="image background-image col-md-4">
<img style="width: 150px; height: 150px"
src="dist/img/avatar_1.png" alt="">
</div>
</div>
</div>
</div>
<div class="box-footer">
<button class="btn btn-primary"
onclick="document.getElementById('getFile').click()">Change Image</button>
<input type='file' id="getFile" style="display:none">
</div>
</div>
</form>
</div>
<div class="col-md-9">
<div class="box box-primary pad">
<div class="box-header">
<h2>Personal Information:</h2>
</div>
<form role="form" action="user_profile_update.jsp">
<% Connection con = null;
try {
con = conn.Getconn.getconnection();
String sql = "select * from user where email = ?";
PreparedStatement ps = con.prepareStatement(sql);
ps.setString(1, email);
ResultSet rs = ps.executeQuery();
if (rs.next()) {
%>
<div class="row">
<div class="form-group col-md-6">
<label for="name" class="">First Name</label>
<input name="fname" type="text" class="form-control" id="name"
placeholder="First Name" value="<%=(String) rs.getString("fname")%>" required>
</div>
<div class="form-group col-md-6">
<label for="name" class="">Last Name</label>
<input name="lname" type="text" class="form-control" id="name"
placeholder="Last Name" value="<%=(String) rs.getString("lname")%>" required>
</div>
</div>
<div class="row">
<div class="form-group col-md-6">
<label for="gender" class="">Select Gender</label>
<select class="form-control select2" id="gender" style="width: 100%;"
name="gender">
<option>select gender</option>
<option>Male</option>
<option>Female</option>
</select>
</div>
<div class="form-group col-md-6">
<label for="location" class="col-form-label required">Your
Location</label>
<input name="location" type="text" class="form-control" id="input-
location2" placeholder="Your Location" value="Enter your location" >
</div>
</div>
<div class="box-header">
<h2>Contact Details:</h2>
</div>
<div class="row">
<div class="form-group col-md-6">
<label for="phone" class="col-form-label">Phone</label>
<input name="contact" type="text" class="form-control" id="phone"
placeholder="Your Phone" value="<%=(String) rs.getString("contact")%>">
</div>
<!--end form-group-->
<div class="form-group col-md-6">
<label for="email" class="col-form-label">Email</label>
<input name="email" type="email" class="form-control" id="email"
placeholder="Your Email" value="<%=(String) rs.getString("email")%>" readonly="">
</div>
</div>
<%
}
} catch (Exception e) {
e.printStackTrace();
} finally {
try {
con.close();
} catch (Exception e) {
}
}
%>
<div class="box-footer">
<button type="submit" class="btn btn-primary">Update
Profile</button>
</div>
</form>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</section>
</section>
</div>
%@include file="footer.jsp" %
UserHome.jsp
<%
String email = (String) session.getAttribute("email");
session.setAttribute("email", email);
%>
<%@include file="header.jsp"%>
<style>
.cut-text {
text-overflow: ellipsis;
overflow: hidden;
width: 220px;
white-space: nowrap;
}
</style>
<% if (session != null) {
if (session.getAttribute("email") != null) {
response.setHeader("Cache-Control", "No-Cache,no-store, must-revalidate");
} else {
response.sendRedirect("login.jsp");
}
}
%>
<div class="container-fluid">
<div class="row">
<div class="col-md-12-mar">
<div class="well well-lg offer-box text-center">
<marquee>Offers :
<%
Connection conToOffer = null;
try {
conToOffer = Getconn.getconnection();
String sql = "Select * from offers";
PreparedStatement ps = conToOffer.prepareStatement(sql);
ResultSet rs = ps.executeQuery(sql);
while (rs.next()) {
%>
<span class="glyphicon glyphicon-
fire"></span> <%=rs.getString("discount_per")%>% off on purchase of Rs.
<%=rs.getString("purchase_above")%> and above till
<%=rs.getString("till_date")%>
<%
}
} catch (Exception e) {
e.printStackTrace();
} finally {
try {
conToOffer.close();
} catch (Exception e) {
}
}
%>
</marquee>
</div>
</div>
</div>
<div class="row">
<div class="col-md-3">
<div>
<%
Connection con = Getconn.getconnection();
String str = "select * from product order by pname";
PreparedStatement pt = con.prepareStatement(str);
ResultSet rs = pt.executeQuery();
while (rs.next()) {
int i = rs.getInt("pid");
%>
<a href="#" class="list-group-item active"><%=rs.getString("pname")%></a>
<ul class="list-group">
<%
Connection con1 = Getconn.getconnection();
String str1 = "select * from Sub_Product where pid= " + i + " order by sub_name";
PreparedStatement pt1 = con1.prepareStatement(str1);
ResultSet rs1 = pt1.executeQuery();
while (rs1.next()) {
%>
<a class="list-group-item"
href="showProducts.jsp?sub_cat=<%=rs1.getString("sub_name")%>"><%=rs1.getString("sub_na
me")%></a>
<%
}
%>
</ul>
<%
}
%>
</div>
</div>
<div class="col-md-9">
<div class="row">
<div class="col-md-9">
<div>
<ol class="breadcrumb">
<li><a href="#">Home</a></li>
<li class="active">Electronics</li>
</ol>
</div>
</div>
<div class="col-md-3">
<div class="btn-group alg-right-pad">
<button type="button" class="btn btn-default"><strong>1235
</strong>items</button>
<div class="btn-group">
<button type="button" class="btn btn-danger dropdown-toggle" data-
toggle="dropdown">
Sort Products
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a href="#">By Price Low</a></li>
<li class="divider"></li>
<li><a href="#">By Price High</a></li>
<li class="divider"></li>
<li><a href="#">By Popularity</a></li>
<li class="divider"></li>
<li><a href="#">By Reviews</a></li>
</ul>
</div>
</div>
</div>
</div>
<!-- /.row -->
<div class="row">
<%
Connection con1 = null;
con1 = conn.Getconn.getconnection();
String sql1 = "select * from post";
PreparedStatement ps1 = con1.prepareStatement(sql1);
ResultSet rs1 = ps1.executeQuery();
while (rs1.next()) {
%>
<div class="col-md-3 col-sm-6 col-xs-6">
<div class="thumbnail product-box">
<img id="imageGrid" src="images/<%=rs1.getString(7)%>" alt=""/>
<div class="caption">
<h3 class="cut-text"><a
href="#"><%=rs1.getString("productname")%></a></h3>
<p>Price : <strong>Rs. <%=rs1.getString("amount")%></strong> </p>
<p class="cut-text"><%=rs1.getString(6)%></p>
<a href="seedetails.jsp?pid=<%=rs1.getString("id")%>" class="btn btn-primary"
role="button">See Details</a></p>
</div>
</div>
</div>
<%
}
%>
</div>
</div>
</div>
</div>
</div>
<%@include file="footer.jsp" %>
5.1 Introduction
In these times of metaphors, mice, widgets/controls, links, applets, and usability, the user interface is
being scrutinized, studied, written about, and talked about like never before. This welcome attention,
along with the proliferation of usability laboratories and product testing, has significantly raised the
usability of products being presented to users today. People's voices have finally been heard above
the din. Their frustration with complicated procedures and incomprehensible screens has finally
become overwhelming. “We're no longer going to peacefully accept products that mess up our lives
and put everything we work on at risk,” they are saying. They're also saying “That's just the way it is”
is no longer tolerable as an answer to a problem. Examples of good design, when they have
occurred, have been presented as vivid proof that good design is possible .Developers listened.
Greatly improved technology in the late twentieth century eliminated a host of barriers to good
interface design and unleashed a variety of new display and interaction techniques wrapped into a
package called the graphical user interface or, as it is commonly called, GUI (pronounced “gooey”).
Almost every graphical platform now provides a style guide to assist in product design. Software to
aid the GUI design process proliferates. Hard on the heels of GUIs has come the amazingly fast
intrusion of the World Wide Web into the everyday lives of people web.
5.4 Report
6.1 Introduction
Any particular testing strategy is not used in the project only manual downloading strategy used to
check the retrieved data is correct. Software testing is defined as an activity to check whether the
actual results match the expected results and to ensure that the software system is detailed free. It
involves execution of a software component or system component to evaluate one or more
properties of interest. Software testing also helps to identify errors, gaps or missing requirements in
contrary to the actual requirements. It can be either done manually or using automated tools. Some
prefer saying Software testing as a White Box and Black Box Testing. In simple terms, Software
Testing means Verification of Application under Test (AUT).This tutorial introduces testing
software to the audience and justifies its importance.
It defines
Process of testing
Testing levels
Roles and responsibilities of each team member
Types of Testing (Load testing, Security testing, Performance testing etc.)
Testing approach & automation tool if applicable
Adding new defects, re-testing, Defect triage, Regression Testing and test sign off.
Define the number of requirement and setup required for each environment
Define backup of test data and restore strategy
Automation and Test management tools needed for test execution
Figure out a number of open-source as well as commercial tools required, and determine
how many users are supported on it and plan accordingly
BIBLIOGRAPHY
1. Han J. and Kamber M. (2003): “Data Mining, Concepts and Techniques”, Academic Press, 2003.
2. Hand D., Mannila H. and Smyth P. (2001): “Principle of Data Mining”. MIT Press,Cambridge,
Massachusetts, USA, 2001.
3. J. Han and M. Kamber (2011): “Data Mining: Concepts and Techniques”, Morgan Kaufmann d., 2011.
4. Berson (1997): “Data warehousing, Data Mining & DLAP, Computing” Mcgraw-Hill, 1997.
5. W. H. Inmon (2005): “Building the Data Warehouse”, 3 ed , Wiley India, 2005.
6. B. W. Kernighan and R. Pike (1995): “The UNIX Programming Environment”, Prentice Hall of India,
1995.
7. Buyya and Selvi (2013): ”Mastering Cloud Computing “,TMH Pub., 2013.
8. Law and Kelton (2000): “Simulation Modelling and Analysis” 3rd Ed., McGraw Hill, 2000.
9. Jeffrey R. Shapiro (2002): “The Complete Reference Visual Basic .NET”, Tata Mcgraw Hill, 2002.
10. Chris Ullman and Kauffman (2003): “Beg ASP.NET1.1 with VC#.NET 2003”, Wiley Dream tech.,
2003.
11. Han J., Pei J. and Yin Y. (2000): “Mining Frequent Patterns without Candidate Generation”. In
proceedings of International Conference on Management of Data (ACM SIGMOD’00), pages 1-12,
ACM Press Dallas, TX, United States, May 2000.
12. Andrew S. Tanenbaum and Maarten Van Steen (2002): “Distributed Systems Principles and
Paradigms” Pearson Education Inc. 2002.
13. Eric Maiwald (2004): “Fundamentals of network security”, New Delhi, Wiley Dreamtech India Ltd,
2004 Edition.
14. Elaine Rich, Kevin Knight and Shivashankar B. Nair(2009): “Artifical Intelligence”, Tata McGraw-Hill
Education Private Limited, 2009.
15. G. Somasundaram and Alok Shrivastava (EMC Education Services)(2002): “Information Storage and
Management: Storing, Managing, and Protecting Digital Information”,2nd Ed., Wiley India, 2002.
16. S. Harrington (1987): “Computer Graphics - a Programming approach”, 2nd ed. McGrawhill, New
York, 1987.
17. Ullman (2008): "Analysis and Design of Algorithm", McGrawhill, New York, 2008.
18. Goodman (2002): “Introduction to the Design & Analysis of Algorithms”, TMH-2002.
19. Naughton and Schildt (1999): “The Complete Reference Java 2”, Tata McGraw Hill 1999.
20. Deitel (2004): "Java How to Program", Fifth Edition. Pearson Education, 2004.
21. Alfred V. Aho, Ravi Sethi and J.D. Ullman (1986): “Compilers- Principles, Techniques and tools”,
Addison Wesley, 1986.
22. Elmarsi (2004): “Fundamentals of Database Systems”, 6 th Edition, Pearson Education, 2004.
23. R. Ramakrishnan (1998): “Database Management Systems”, McGraw Hill, International Editions,