Write JSP programs which can perform the following tasks (you may create a single or multiple webpages for these tasks):
(i) Write a JSP code to create a simple web page that accepts user input for two variables, namely alpha and beta. After the successful input to these variables, the JSP program should display the values entered for the alpha and beta variables, along with the result of their multiplication.
(ii) Create a web page that takes input in two fields, namely the student ID and the Programme of the student. In case the data is correctly entered in both fields, two cookies, one for the student ID and the second for the Programme of the student, are created.
d ) Create a database for the Student Examination System consisting of the following two tables:
Student (StudentID, Name, ProgrammeCode, DateOfEnrolment)
FeePaid (StudentID, Semester, dateofPayment, AmountPaid)
Develop and deploy a web-based "Student Examination System" using JSP, having a database backend and a web server (you may select DBMS and web server, as per your choice). Your system should use JDBC for input of information to both tables. The system should also display the StudentID, Name, dateofPayment and Amount paid for all the students.
Submit the JSP program, screens and database of the system. You must demonstrate this system at the time of viva voce.
Make and state suitable assumptions, if any.
To accomplish the tasks mentioned, you can create multiple JSP pages along with a backend database and JDBC connectivity. For the first task, a simple JSP page can be written with an HTML form to accept user inputs for `alpha` and `beta`. Once submitted, the JSP scriptlet retrieves the values using `request.getParameter()`, converts them into numbers, and calculates ______ __________ _____ _________ _________ ______ _________.
_______ __________ ____ ___ ________ ___ _______ __________ _________ _______.
___ _________ _______ _____ ________ _______ ____ ____ ___.
___ ____ _____ _________ _______ _________.
_____ __________ _______ ____ ____ _______.
___ __________ __________ _____ _____ _____ _______ __________ ________ _________ _____ ________.
_____ ____ ___ _______ ______ _________.
____ ___ ________ ____ _______.
____ __________ __________ ________ ______ __________ ____ __________ _______ _________ __________ __________.
_____ ____ ________ __________ ___ ______ _________.
____ ____ ___ ________ ______ _____ __________ _____ ______ __________.
_______ ________ _________ ______ _______ ________.
_________ ___ ______ ___ ______.
_______ __________ _________ ______ __________ ___ ________ ________ _________.
___ _______ _________ _____ _______ ____ __________.
______ _________ __________ ________ ______ ________ ________ ______ _______ _________.
_____ ______ __________ _______ ___.
________ _______ ________ ____ ______ ___ ________ ______ __________ ____ _______ _____.
____ ______ _____ ________ ________ _______ __________ ___ _____.
____ _______ ____ ___ ______ ___ ____ ___ ______ _______ ______ ______.
_____ _________ _______ ________ _____.
______ _________ _________ _______ ____ ________.
_____ ____ ____ ____ __________ _________ _________ ____ _________ ________ __________.
_________ ___ ______ ______ __________ _______ _______.
______ __________ ________ _____ ___.
___ ____ ____ ____ ______ __________ ______.
______ ____ ___ _______ ______.
_______ __________ __________ __________ _____ ____ ____ _________ ____ _____ __________ ____.
_____ _____ __________ ______ _____.
____ ________ _________ ___.
Get Full Answer on WhatsApp