CST 365 Michael Ruth Homework #2 Due: 6/24/19 (by midnight) For this assignment, you will need to download a Netbeans project which you will need to rename using your Last name followed by your first...

can you do this


CST 365 Michael Ruth Homework #2 Due: 6/24/19 (by midnight) For this assignment, you will need to download a Netbeans project which you will need to rename using your Last name followed by your first name followed by “-Homework3” to name it. Note that this project contains an Item object and Comparators to sort them using various fields. After completing the assignment, zip the project directory and turn in via blackboard by the due date. Part I: (15%) Creating the JSP files 1. (10%) Create a web page (index.jsp) that shows the same list of items sorted different ways. For this assignment, only sort in ascending order. 2. (0%) The lists shown in these pages should be in a HTML table that shows the IDs, Names, Manufacturer, and Cost of each item in your list. (you should alternate colors between rows and have a table header identifying what item goes where) 3. (5%) The table should have links which identify the heading and allow the user to sort the items as requested. Part II: (35%) Creating an Add form 1. (10%) Create an addItem.jsp page which has a form with the following elements: a. (2%) The action should be processAddItem.jsp and the method should be POST b. (0%) The form should have input text fields for ID, name, manufacturer, description, and cost c. (0%) The form should have a select box to select from a list of manufacturers available (see the java code for possibilities) d. (0%) The form should include a submit button and a reset button e. (0%) The title of the page and the heading on the page should read “Add New Item”. f. (5%) The form should use Angular to ensure that the user cannot submit an empty form. g. (8%) The page should read values from the request object if something went wrong in the processAddItem.jsp page and help the user (if something is wrong, identify what is wrong to help the user solve the problem) 2. (20%) The processAddItem.jsp page should verify that all is well with the data and report back to the addItem.jsp page if something is wrong. If everything is well, add the item and redirect back to the index page. Part III: (40%) Creating an Edit form 1. (15%) Create an editItem.jsp page which has a form with the following elements: a. (2%) The action should be processEditItem.jsp and the method should be POST b. (0%) The form should have input text fields for ID, name, manufacturer, description, and cost (the ID field should be disabled which means you will need a hidden field to actually send ID) c. (0%) The form should have a select box to select from a list of manufacturers available (see the java code for possibilities) d. (0%) The form should include a submit button and a reset button e. (0%) The title of the page and the heading on the page should read “Edit Item”. f. (5%) The form should use Angular to ensure that the user cannot submit an empty form. g. (8%) The page should read values from the request object if something went wrong in the processEditItem.jsp page and help the user (if something is wrong, identify what is wrong to help the user solve the problem) h. (5%) The page should populate fields using the items values and should contain a verification that the item exists. 2. (20%) The processEditItem.jsp page should verify that all is well with the data and report back to the editItem.jsp page if something is wrong. If everything is well, add the item and redirect back to the index page. Part III: (10%) Creating the website 1. (5%) In all pages except for the list, create a link to view the list. 2. (5%) In all pages except for the add item page, create a link to the add item page. 3. (0%) For all pages, use an external style sheet to beautify the pages in some way. 4. (0%) The index.jsp page must have a link to the editItem.jsp and it’s up to you how to do it. Note:  If the project or the zipped file is NOT named correctly, I will take 10 points off the total score.  If the files within the project are named incorrectly, I will take 10 points off the total score.  If the project doesn’t contain sufficient comments, I will take 10 points off the total score.  This is an individual assignment and what you turn in should represent only your work.  Do NOT try to do this last minute!
Jun 20, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here