Question: CS 3520: Website Development Assignment 5: JSP and Servlets Purposes of this assignment To introdace To reinforee TML orms General idea of the assignment Write

 CS 3520: Website Development Assignment 5: JSP and Servlets Purposes of
this assignment To introdace To reinforee TML orms General idea of the

CS 3520: Website Development Assignment 5: JSP and Servlets Purposes of this assignment To introdace To reinforee TML orms General idea of the assignment Write a web application to function as a simple hand calculator that also keeps a "paper trail" of all your previous work. Details Your prog components: An HTML page This page is dynamically generated by JSP. It contains a trail of all the work you have done previously, for example something like this: 0.0+ 2.5 2.5+ 5.07.5 3.55 =26.625/-3.0=-8.875 etc. In addition, it should have the following HTML form elements: a text field in which you can enter numbers; add, subtract, multiply, and divide buttons; a clear button, to reset the current value to zero; and a clear all button, to reset the current value to zero and "erase" the paper trail (for when your page is getting too long and you want to start over) Since the user should enter only numbers into the text field, use JavaScript to validate the numbers before you submit the form. (Hint: Google on "JavaScript validate input field.") A servlet The servlet should handle getting the request, calling some other class to do the work, and forwarding the result to JSP for formatting. Along the way, the servlet should do session tracking, that is, it needs to keep track of the "paper trail" and the current value. I strongly recommend ram should consist of the following

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 Databases Questions!