This is my success.jsp page which is having a button name Employee List, which opens a new page viewEmployee.jsp, i want to include the viewEmployee.jsp page inside my success.jsp page only on button click
<html>
<body>
<form action="index.jsp">
<table>
<tr>
<td align="left">Welcome !! <%=session.getAttribute("user")%></td>
<td align="right"> <input type="submit" value="Logout"></td>
</tr>
</table>
<hr>
<h2>Choose your action to perform...</h2>
<table align="center">
<tr>
<td><h3>
<input type="button" value="Employee List" onclick="window.location='viewEmployee.jsp'" /> |
</h3></td>
<td><h3>
<a href="addEmployee.jsp">Add Employee </a> |
</h3></td>
<td><h3>
<a href="deleteEmployee.jsp">Delete Employee </a> |
</h3></td>
<td><h3>
<a href="updateEmployee.jsp">Update Employee </a>
</h3></td>
</tr>
</table>
<%
session.invalidate();
%>
</form>