Q1. (2 Mark) Write a servlet program saying “Hello” followed by the name you enter. Q2. (2 Marks) Use JavaScript to write a function that calculates the total of continues numbers (e.g Total for numbers from 1 – 3 is 1+2+3 = 6), and add the script to an H

Q1. (2 Mark) Write a servlet program saying “Hello” followed by the name you enter. Q2. (2 Marks) Use JavaScript to write a function that calculates the total of continues numbers (e.g Total for numbers from 1 – 3 is 1+2+3 = 6), and add the script to an HTML page and name it “JSExample”