SSD1 Practical guiz 8
no vote
You should write the servlet Payroll.java along with three other
classes ( Employee.java , RegularEmployee.java , and ContractEmployee.java )
to process five values obtained through the Web page PayrollForm.html .
The Payroll servlet must do the following:
Capture the values submitted by PayrollForm.html: eName , eRate , oRate , eHours, and eType as String values.
Convert the String values for eRate , oRate and eHours into integer values so that arithmetic calculations
can be performed using them.
Call the correct methods in RegularEmployee.java or ContractEmployee.java to calculate the employee's earnings using these values. The calculation for
regular pay for a regular employee and a contract employee is the same. The
calc