Hi all,
I created the the file index.jsp as below
<form action="" method="POST"><br>
First Name: <input type="text" name="firstName" size="20"><br>
Surname: <input type="text" name="surname" size="20"><br>
<input type="submit" value="Submit"><br>
</form>
I export it to .war and everything works fine. Then later I modified index.jsp, added in the form action to
<form action="GreetingServlet" method="POST"><br>
First Name: <input type="text" name="firstName" size="20"><br>
Surname: <input type="text" name="surname" size="20"><br>
<input type="submit" value="Submit"><br>
</form>
I exported it again to .war, but the changes were not reflected. When I view source, the form action is still equal to blank. I have restarted apache as well. I view the log, it shows me that it has been redeployed.. but the changes were not reflected.
I have tried with different browsers, restart eclipse to see if the changes are saved, restart apache. Any advice? Thank you