Write a JSP program that generates subtraction quizzes randomly, as shown in Figure 1a.The first number must always be greater than or equal to the second number. After the user answers all questions, the JSP displays the result, as shown in Figure 1b.
Project 1 involves building a Web application that is designed using Java Server Pages (JSP) Model-View-Controller (MVC) Design Pattern and Model 1 Architecture (Covers Module 2: Java Server Pages)
This project is intended to enforce your knowledge in:
Developing Web Applications using Model 1 Web-application implementation using a View-Controller JSP page and a Model JavaBean.
Project Requirements
Develop and implement the “Subtraction Quiz†Web application using Model 1 architecture, that:
Write a JSP program that generates subtraction quizzes randomly, as shown in Figure 1a.The first number must always be greater than or equal to the second number. After the user answers all questions, the JSP displays the result, as shown in Figure 1b.
Figure 1
The program displays subtraction questions in (a) and answers in (b).
Project Submission
All the required files should be submitted in your assignment folder in one zip file named StudentFirstInitialStudentLastNameProject1.zip.(For example, awebbProject1.zip):
1. Design Diagram demonstrating the architecture of the application
2. a zip file of your Netbeans project and any additional files if required
3. Word document including:
a. Test plan (steps and scenarios including data be used for testing);
b. Screen snapshots of each of your test cases (provide input parameters and screenshots demonstrating the results)
4. Description of the architecture that you implemented
5. Description of how to set up your application
a. this description should include all steps starting from how to open your project in NetBeans, how to compile, how to run locally, version of the Netbeans, Application Server used (Tomcat or Glassfish), how to start GlassFish/Tomcat from the netbeans
6. Description of the Tools and architecture that you implemented, such as
a. user will open IE and invoke index.jsp located in xxx, index.jsp has an HREF that includes a location of the servlet
b. the servlet URL is defined in web.xml and etc
7. SQL Scripts and instructions how to execute them