1.) Write an application with two user transactions (login which includes viewAllStudents and viewStudent) with full MVC architecture that displays the details of the selected student when a view button next to each student is clicked by the user.
I have all the servlets,bean,xml and html ready, but I can't get theviewStudentto display the selected student,only an empty table.Not too sure if it's the model (getStudent)servlet where the problem is.
2.) An application has already the controller servlet and model servlets as per MVC. I am adding 3 jsp files as view elements. The viewAllCustomeris displaying fine, but I need to view vehicles for each customer when I click on the view vehicles button next to each customer.I can't get the (getCustomervehicles.java / viewCustomerVehicles.jsp) to work.
3.) Secondly, I am able to view the list of all vehicles, but the customer name and address which are from a different bean(customer) are not displaying.
1. The application has already all the MVC elements except for the custom actions in the JSP view elements. You need to add the missing custom action and add the appropriate attribute and variable tags to the TDL file.
2. You should modify the DisplayOrders.javafile, this is the file that handles the custom action tag, DisplayOrders. Add any variables and methods that you think necessary.Add code to the standard methods, doStart() and doAfterBody().
3. You should modify theDisplayOrderLines.java file. This is the file that handles the custom action tag, DisplayOrderLine. . Add any variables and methods that you think necessary.Add code to the standard methods, doStart() and doAfterBody().