Question: Lab 9 : 3 0 pts The main new functionality in this lab is building on what you learned in the last lab. SUMMARY a

Lab 9: 30 pts
The main new functionality in this lab is building on what you learned in the last lab.
SUMMARY
a. You will have two jsp pages, one that submits user entries to the other. You will also have a regular Java class that provides methods for the second JSP page to access.
b. This lab will involve the following new features:
i. Incorporating external Java classes into a web app.
ii. Handling submitted Request values in a separate JSP page.
DETAILS
Alrighty... More web app DevelopmentI
This week, we're going to expand our HTML a bit, and we're going to expand our Java out to two pages. We're also going to make a class and use it in our web pages.
You'll learn how to:
Import and use external classes in JSP pages and Tomcat.
Submit form data from one JSP page to another.
Perform basic formatting of HTML pages using tables.
So we're going to make a simple "Movie Fan" registration site. This is what we're going to make:
A home registration page.
a. This page will have first/last name fields to fill out along with favorite movie and actor.
b. This information will be in an HTML form, as you did last week; but this time the form will be submitting the information to our registration confirmation page.
A registration confirmation page.
a. This page will instantiate a class you will create called FavoritesManager, and call methods on that class that will compare the user's submitted favorites against yours (which you'll put into the class when you code it).
A new java class.
a. This class will have two methods that will check the user's favorites against yours.
i. checkFavoriteMovie.
ii. checkFavoriteActor.
b. This class/object is being used by another object (in this case, our compiled JSP page that becomes a servlet, which is a standard java class/object), so for that reason, we don't have any beginning method such as "init" or "main."
These are the three files you'll be turning in.
So now I'm going to take you through the details... follow along carefully.
Lab 9 : 3 0 pts The main new functionality in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!