0% found this document useful (0 votes)
31 views2 pages

Project Web Application Grocery-Store

This contains the problem statement

Uploaded by

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

Project Web Application Grocery-Store

This contains the problem statement

Uploaded by

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

Project: Web Applica on Project – Grocery Store

Create a Dynamic Web Project with Servlets and JSPs. For database use
MySQL Database. It should have the following end to end flows.
1. Registra on (Sign up) page that provides a form and registers the
username, password, userid (email), name to the database.
2. Login page (with a signup bu on for registra on) to let the authen cated
user to Home page. (When successfully logged in save a Boolean variable
in session scope (session.setArrtrubute()). Note that this variable is
removed upon logout. Get session variable using a method on request
object, in servlet. The same is available in jsp implicitly. Just use the
world session in jsp and it works).
3. Home page should display Fruits and Vegetable images (about 10
products) with name, price, quan ty and Buy bu on. Also display
username and cart bu on at top right corner.
4. Upon clicking buy bu on, put bought items to cart on the server side
(use session scope), display invoice with a back bu on (to take you to
home page for more purchase.
5. Upon clicking cart bu on, show cart, back bu on (to take you to home
page and pay bu on. Upon clicking pay bu on, save the order to
database, and display invoice with invoice id and a bu on to take you to
home page. (Dummy purchase is done. No credit card info asked).
6. Upon logout show the login page.
7. Create database tables based on what’s needed.

NOTE: JSP has about 7 implicit variables available like request, session,
applica on, page, out …. Scope variables an be used to retrieve data when
needed in jsp.
NOTE: first page displayed is the login page with a signup bu on for
registra on.
NOTE: Keep it a simple looking web applica on as the focus is on
func onality and comple on of the project.
NOTE: You may display home page with products in a led fashion (Each le
would have image, product name, price and buy bu on. Like 3 products on
a single line.

MILESTONES OF PROJECT:
Milestone 1: Complete registra on flow and show the login page.
Milestone 2: Complete Login flow and show either Home page or Login
page depending on login result. Complete Logout flow and show the Login
page to the user.
Milestone 3: Display Home page with about 10 products with buy bu on.
Name of user, Cart, Logout bu on in the right corner. Header showing the
name of Grocery store.
Milestone 4: Upon buy bu on show the cart to the user.
Milestone 5: Complete the purchase flow star ng from cart page and show
the Invoice with Order number.

KEY JEE CONCEPTS USED:


Key Concepts used: JSPs, Servlets, Server side scope variables like
(applica on, session, request and page), Request dispatcher, Java/MySQL
interac on., request and response objects, getParameter method of request
object to get form submi ed data, HTML in JSP pages.

You might also like