AJP
AJP
2
Develop a program to demonstrate the use of mouseDragged() and
mouseMoved() methods of MouseMotion Listener.
Develop a program using JPasswordField to set the password character as
‘#’ instead of ‘*’ Verify the password and authenticate the user.
Develop a program to accept password from user and if the length is less
than 6 characters, then error message should be displayed “Password length
must be > 6 characters”. Use GenericServlet.
Develop a program to accept password from user on client and check if the
length is less than 6 characters on server , then error message should be
displayed on client ”Password length must be > 6 characters”
3
Develop a program to retrieve data using Resultset. (Columns in Table
Rollno, FirstName, LastName, TotalMarks, Grade)) (Use MsAccess
Database)
Develop a program to update a record in database table. (Columns in Table
Empcode, FirstName, LastName, Salary, Position)) (Use MySQL Database)
Develop a program to update name of student from ‘ABC’ to “PQR’ in
database. Retrieve data in the table using ResultSet and display it. (Use
MySQL Database)
Develop a program to delete all records for a product whose “price is greater
than 500” and “Id is P1234”. (Use MySQL to create database.)
Develop a servlet to print “Hello”+Username in browser window.
Develop a servlet to receive the parameter through HTML forms and send
back received parameter to browser
Develop a servlet to receive student subject marks through HTML forms and
send the response whether student passed or Failed in Examination
Develop a generic servlet program to find whether the number given by the
client is prime or not.