I have from where have a one searchbox and submit button, i want to refresh the div after getting the value of searchbox
<form action="/searchemp" method="post">
Employee <input type="text" name="EmployeeName" id="text1"/>
<input type ="submit" value="check"/>
</form>
<div>
<table border="1">
<thead> <h3 align="center">Selected Rule</h2>
<tr>
<th data-field="id" width="30">ID</th>
<th data-field="details" width="20">RuleName</th>
<th data-field="parameter" width="180">Parameter | Value </th>
</tr>
</thead>
<c:forEach items="${List2}" var="as">
<tr >
<td>${as.id}</td>
<td>${as.ruleName}</td>
<td>
<div>
<table>
<c:forEach items="${as.ruleParameter}" var="asss">
<tr>
<td >${asss.parameterName} | </td>
<td >${asss.parameterValue}</td>
</tr>
</c:forEach>
</table>
</div>
</td>
</tr>
</c:forEach>
</table>
</div>
I want to keep that searchbox value after submit. how could i do this..??please help me,
Thank you