Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Enter Product No:Part B ) Web Application with JSP interacting with MySQL 1 . Develop the following JSP page called AddProductForm . jsp Product No:
Enter Product No:Part B Web Application with JSP interacting with MySQL
Develop the following JSP page called AddProductFormjsp
Product No:
Product Name
Product Type
Home Appliance Computer Hardware Game Console Clothing
Manufacturer:
Price:
Weight:And add JSP Expressions below to print the data when the user clicks Add Product, The data
should be printed below the same form in the same JSP file, hint: dont provide action in form
tag
The following information is received
Product No is AB
Product Name is Washing Machine
Product Type is Home Appliance
Manufacturer is LG
Price is
Weight is Save AddProductFormjsp as InsertRecordsjsp remove the below JSP Expressions for
printing details and add the below points instead.
a When user clicks Add Product button, read the data and add it to products table.
b Execute form validation to ensure the price of each product is between $ $
c The program should display all existing products in HTML Table format below the form.
Note: the page shouldnt insert any record until user press the Add Product button.
However, when user opens the page, the form and the existing records can be displayed!
Develop a JSP page called DeleteRecordsjsp which displays the following form and delete the
product based on product no provided. Just like above the program should display all the
existing products below the form.Part C Develop a JSP file called Formatjsp with the following code, to run it successfully, add jstl jar
to WEDINFlib folder, find the jar in BB jars and answer the following questions.
JSTL fmt:formatNumber Tag
Formatted Number: step : step : step : $p $q
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started