Your Task

This lab builds upon the AddNumbers and GuessingGame examples from CS320_Lab02. It will “force” you to investigate, explore, and learn the structure of a WebApp, from the server (main()), through Web.xml, the servlets, the controllers, the model, and the JSPs, as well as how to refactor an entire project space. You will need to have this kind of familiarity with the WebApp architecture in order to get started on your team project, as well as to be able to make significant technical contributions to any and all aspects of your team project.

NOTE: You must work individually on this lab. It is imperative that everyone on your team be able to full comprehend, design, implement, toubleshoot, and debug the complete architecture of a standard client-server application. This WILL come up on the exam.

NOTE: This lab will require a significant effort, and you should start on it as soon as possible.

You have six tasks:

Example: I would refactor the copy of my CS320_Lab02_djhake2 project to CS320_Lab02a_djhake2 as soon as I imported the project into Eclipse.

After you refactor the project name, refactor the package names, change the locations specified in Web.xml and the JSP’s, as well as the context folder specified in main() so that they all refer to lab02a_username. Verify that both of the AddNumbers and GuessingGame WebApps still work - you will no longer be able to use the URL links included on the CS320_Lab02 page, you will need to modify those URLs to replace lab02 with lab02a_username. You should save those new URLs as bookmarks in your browser.

NOTE: You must work individually on this lab. It is imperative that everyone on your team be able to fully comprehend, design, implement, toubleshoot, and debug the complete architecture of a standard client-server application. This WILL come up on the exam.

Submitting

When you are done, submit the lab to the Marmoset server using the method below.

From a web browser

Save your project (CS320_Lab02a_username) to a zip file by right-clicking it and choosing

Export…→Archive File

Upload the saved zip file to the Lab02a project on the Marmoset server. The server URL is

https://cs.ycp.edu/marmoset/