Question: Web applications (10 points) 1. Write a servlet and associated HTML code for the following application. A user is allowed to submit a form containing

Web applications (10 points) 1. Write a servlet and associated HTML code for the following application. A user is allowed to submit a form containing a value, say n, and should get a response containing n " symbols. (3 points) 2. Write a servlet and associated HTML code for the following application. A user is allowed to submit a form containing a value, say n, and should get a response saying how many previously submitted values are larger than n. The submitted values should be stored in a database table values (seq no, value). (3 points) 3. Write a servlet that authenticates a user (based on user names and passwords stored in a database table) and sets a session variable called userid after authentication. (4 points) Web applications (10 points) 1. Write a servlet and associated HTML code for the following application. A user is allowed to submit a form containing a value, say n, and should get a response containing n " symbols. (3 points) 2. Write a servlet and associated HTML code for the following application. A user is allowed to submit a form containing a value, say n, and should get a response saying how many previously submitted values are larger than n. The submitted values should be stored in a database table values (seq no, value). (3 points) 3. Write a servlet that authenticates a user (based on user names and passwords stored in a database table) and sets a session variable called userid after authentication. (4 points)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
