Servlet chaining servlets cookies handling
|
|
|---|---|
|
|
|
|
and 3 columns. For instance, each row could contain “RowX, Col1”, “RowX Col2”, and “RowX
Col3”, where X is the current row number.
Write a servlet program to validate username and password. if Login is successful redirect to appropriate home page else response with appropriate error Message.
Assumption: - Login Page and User Table exists
|
|
|---|
Note:- Crete a table to add Training Details like TrainingID, TrainingName, Start Date, EndDate, TrainingMode, BusinisessUnit, ContactpersonID.
Topic 3: Servlets - Client Request, Server Response, HTTP Status Codes, Servlet Chaining
a)Accept username & password from login.html file & set or create cookies for it.
b)Retrieve these set of cookies to validate both the field from login table.
Sensitivity: Internal & Restricted
Assignment 4:
Write a servlet program to validate Login and store User information in
Session. From the home page of the user click the link to get Employee
Salary Details.


