Question: In this assignment, you will create an application which will: - Call a servlet which creates a list of 5 objects of a particular data


In this assignment, you will create an application which will: - Call a servlet which creates a list of 5 objects of a particular data class - The data class you will create yourself, based on which product category you were assigned - This list is in a separate PDF linked to this assignment You must give the class attributes appropriate to the product category - not just generic attributes like name and price Obviously the data class will need constructors and getters / setters Put the product objects in a list and add to the session Forward control to a JSP page which should look something like this initially: Products In Stock When you click on the 'Get Stock' button this should invoke a Javascript function which does the ollowing: - Retrieve the list of products from the session (you can use a JSP expression for this) - Populate a table with the list of products - You may use pure Javascript for this, or you can also use the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
