This assignment deals Java Server Pages and the Model, View, Controller (MVC) design pattern.
For this assignment the model will be represented by an array of JavaBeans as shown in the code
You will create a servlet to act as a controller and a Java Server Page (JSP) to provide the view.
The init() method of the servlet creates a class scoped collection of JavaBeans and populates the
collection with data. The JSP uses the bean values to create the HTML response.
When first accessed, the application shows the first element of the collection and shows the
redemption fee, capital cost total, and annual cost totals for the pet. Next and previous buttons
allow the user to select the next or previous element of the collection to display. A list button
lists the entire collection in a tabular format.
You should create your own data for the array (with at least 5 entries). Feel free to use either
real or made-up data. In addition to the data, and next and previous buttons, each page should
also display the names and student Ids of those that worked on the project. The application
should also provide a welcome file that redirects the user to the servlet.
· Each page should display all of the information about the pet. Including the total annual
and capital costs.
· If the pet has been neutered or is spade deduct the cost from the capital cost total. At least
one pet in your examples should be spayed or neutered.
· Each page should display an image of the pet. You should find and size images for your
entries. Images may be placed in a folder below the root of your application and should
be no larger than 320 pixels wide by 240 pixels tall in size. Links to images should be
· In list mode, display only the first 40 characters of the description. Displaying the image
and costs is optional for list mode
See all details on attached file.
How to delete this post ... Becz i haven't posted this project and i don't know how to add on my profile