yiannakop
October 3rd, 2004, 10:15 AM
Hi everyone. I am building a jsp file that uses a simple form like:
(the file is named test.jsp)
....
<form method= "post" action = "test.jsp">
<input type=text name=username/>
<input type=submit name=operation value="Login">
</form>
....
and I want, after pressing the "submit" button the page to be directed to the same file, but this time not displaying the form, but only a message like:
"Your username is ...."
Plese give me an example on how to achieve this.
Thanx
(the file is named test.jsp)
....
<form method= "post" action = "test.jsp">
<input type=text name=username/>
<input type=submit name=operation value="Login">
</form>
....
and I want, after pressing the "submit" button the page to be directed to the same file, but this time not displaying the form, but only a message like:
"Your username is ...."
Plese give me an example on how to achieve this.
Thanx