0% found this document useful (0 votes)
19 views4 pages

Hackathon SBQ 16april

The document outlines requirements for developing a web application for an electronics repair shop. It includes creating JSP pages for a home screen, client request screen, and process request screen. The home screen should include a header, footer, menu and content. The client request screen allows submitting a service request form. The process request screen displays existing requests based on status and allows updating the status.

Uploaded by

Shiva Kushi
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)
19 views4 pages

Hackathon SBQ 16april

The document outlines requirements for developing a web application for an electronics repair shop. It includes creating JSP pages for a home screen, client request screen, and process request screen. The home screen should include a header, footer, menu and content. The client request screen allows submitting a service request form. The process request screen displays existing requests based on status and allows updating the status.

Uploaded by

Shiva Kushi
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/ 4

Instructions

• Read the problem statement thoroughly


• Create a WEB project using Eclipse .
• Create all java classes in package “com” in src folder of created java project
• Must follow java coding standards
• Apply styles using external CSS file. Avoid creating inline and internal styles.
• Perform necessary client-side validations
• Each page should have header, footer, menu and content area, defined using div tags
• Add the necessary jars to your project build path
• Make sure your java project must be free from compilation error ,ie. zero compilation error. In case of
any compilation error, the project will not be considered for evaluation.
• Create folder with your Name_CT Reference Number . Copy the completed project from your
workspace and place it inside the folder . Run the Web application and capture the Screenshot of the
JSP Pages and the save the log captured from the console in a text file . Place all these files inside the
folder and zip the folder ( eg. Raj_CT12345.zip), upload the same.
• Follow MVC pattern and create necessary DAO class. Use JDBC. Please do not use sequence
generator of database.
• Please stick to the exact method name (case sensitive) as given in class description.

Problem statement:

A XYZ electronics repair shop is looking for a web application to automate their process. Develop a Web
application using JSP and Servlet which serves this system following below guidelines

Requirements in detail:

Create WEB application XYZ electronics project in eclipse.

1)Create a Home screen with below guidelines :


Page Layout : Use necessary implicit objects and directives to create the related jsp pages .

Header: Should have a Logo for XYZ electronics repair with a message “online “ on the left . No of Visitors :
<Count> . – on right corner - Have a counter and add it to cookies and display the no of visitors who visited
the page.
Logout – hyper link – on right corner - On clicking it invalidate the session , and redirect to www.google.com.

Footer: Copyright message and a text next to it which should read “designed by ID : Full Name –
CTREFERENCENO” e.g. “Designed by : Raj - 12345” .

Menu: This section would be on the left and have two menu options – Client Request and Process Request
menu options .On clicking the link the screen Client Request and Process Request should be displayed.
Content: ABC Construction and Limited :
Contact Us: XYZ electronics repair LTD, Mayur Vihar, Delhi Ph :01123344 Fax:011131231231 General
enquiry :aec@abc.com
To enhance form appearance, styles can be applied. Direct images , advertisements, articles can be added to
make page attractive.
All web pages need to be consistent in its layout and appearance.

Note: Header and Footer needs to be provided in all the pages.

2)Create Client Request screen with below guidelines :


Page Layout

Menu: This section would be on the left and have two menu option – Home and Process Request Page
Content:

Client Request : Have a table with following form controls

Client Request
Client Name < text input, mandatory field,
maximum character 30 >
Address <text area character 100,
mandatory field >
Contact number < text input, mandatory field,
maximum numbers 10 >
email address < text input, mandatory field,
maximum character 30 >
Service requested Drop down Predefined values e.g. Ac Repair,
Refrigerator repair,TV Repair ,laptop
Repair,mobile Repair,mixer Repair
Service details < text input, maximum character
100 >
Date of service <date, mandatory field >
Date of Request Current date
Time slot <time, mandatory field >
Button 'Submit ' and 'Reset' button

Form data has to be validated on clicking Submit button .

Create necessary bean class named as ClientRequest which has the attributes Client Id , ClientName, address ,
contact number, email,service requested,Date of request . The details are collected in the post method of the
servlet and store in a table named as Client . Use necessary DOA class for adding the details to Client table .
ClientId is the primary key , use increment strategy , start from 1000. On inserting the record successfully return
to the same page and display the client details . If form submission is unsuccessful then appropriate error
message has to appear .

On clicking 'Reset' , reset the form fields .


3)Create Process Request screen with below guidelines :
Page Layout

Menu: This section would be on the left and have two menu option – Home and Client Request Page
Content:

Process Request Page: Displays a drop down of request status as New, inprogress, completed, onhold. On
selecting any request type all the request based on status will be displayed.

If status is selected as “New” from the dropdown and click on “Process Request” button then display all the
request based on new status as the below grid.

On Click of “Update” link, the status “new” should be updated to inprogress”.


On click of “Delete” link the request needs to be deleted.

If status is selected as “In Progress” from the dropdown and click on “Process Request” button then all the
request based on in progress status will be displayed as the below grid.

In case the time slot and Date of request cannot be met then set the status to “Onhold” with description”.

If status is selected as “Completed ” from the dropdown and click on “Process Request” button then all the
request based on completed status will be displayed as the below grid.

If status is selected as “onhold ” from the dropdown and click on “Process Request” button then all the request
based on onhold status will be displayed as the below grid.
Click “Update” link to update the status as Inprogress.
Click “Delete” link to delete the request.
If any issues during update /delete actions then appropriate error message has to displayed using error page
directive .

Wish you all the best

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy