How to prevent form inputs clearing in servlets?
<p>I am creating a dynamic web project in eclipse using servlets. </p>

<p>Once I submited the form with username and password fields in <code>index.html</code> page. When username or password is incorrect, the servlet class should display the <code>index.html</code> page again with the data entered in the input fields except password fields, but it is not showing any data in input fields.</p>