0% found this document useful (0 votes)
4 views1 page

HR

The document contains an HTML table displaying employee information, including their name, gender, designation, and salary. It also provides options to edit or delete each employee's record through links. The data is dynamically populated using a loop that iterates over a list of employees.

Uploaded by

nilimapawase14
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views1 page

HR

The document contains an HTML table displaying employee information, including their name, gender, designation, and salary. It also provides options to edit or delete each employee's record through links. The data is dynamically populated using a loop that iterates over a list of employees.

Uploaded by

nilimapawase14
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

<hr/>

<table border="1">
<thead>
<tr>
<th>Sr No</th>
<th>Employee Name</th>
<th>Gender</th>
<th>Designation</th>
<th>Salary</th>
<th>Action</th>
</tr>
</thead>
<tbody>
<%
int i=1;
for(Employee emp:lst)
{
%>
<tr>
<td><%=i%></td>
<td><%=emp.getEmployee_name()%></td>
<td><%=emp.getGender()%></td>
<td><%=emp.getDesignation()%></td>
<td><%=emp.getSalary()%></td>
<td>
<a href="EditEmployee.jsp?id=<
%=emp.getEmployee_id()%>">Edit<a/>
&nbsp;
<a href="DeleteEmployee.jsp?id<
%=emp.getEmployee_id()%>">Delete</a>
&nbsp;
</td>
</tr>
<%
i++;
}
%>
</tbody>
</table>
</body>
</html>

You might also like