Jump to content

HTML syntax problem, how to show the output


rajanpahuja

Recommended Posts

i am making the login page of my project. the aim of this page is to get the usename and password from the user. after entering the username and password and pressing the 'PRESS' button the page should show username and password entered.Basically i dont know how to show output ( username and password )Please help me in the gettin the syntax correct.The HTML code i have used is :<HTML><HEAD><TITLE>First Page</TITLE></HEAD><BODY> <h1>One two three</h1>Username: <INPUT type="text" name="username" size="35"><BR>Password: <INPUT type="password" name="password" size="35"><BR><BR><INPUT type="submit" name="Submit" value="PRESS"></FORM>The Entered Username is : <c: out value="${username}" ><br>The Password Entered is : <c: out value="${password}" ></BODY></HTML>

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...