Servlet
1. Write a program in Servlet to login into home page using session. Make
sure the user name and password are matching value from database.
(2023)
2. Write a Servlet to receive a natural number from a HTML form and
display whether the number is odd or even. (2022)
3. Write a Servlet to read the values of principle, time and rate from a
HTML form and display the simple interest. Also write the contents of
HTML page and [Link] file. (2022)
4. Write a Servlet to add two numbers if they are even, if numbers are not
even just display those numbers. (2019)
5. Create a Servlet to find out factorial of a positive integer value. (2018)
6. Write a servlet to find the reverse of a string. (2017)
7. Write a servlet to display “Hello Tomcat”. (2016)
8. Write a program to illustrate how to use session state in servlet. (2016)
9. Write a servlet which displays factorial of an integer. (2016)