How can I display a text like "Your input was submitted" after the submit button was clicked. My document is a Java-Server-Pages file.
I have an HTML form like this:
<!DOCTYPE html>
<html>
<head>
<meta charset="ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<form name=test action=greetings.jsp method=POST>
<label for="name">Name:</label><br>
<input type=text id=name /><br>
<label for="surname">Surname:</label><br>
<input type=text id=surname/><br><br>
<input type=submit value=Save>
</form>
</body>
</html>