Created
January 4, 2017 15:30
-
-
Save darbyluv2code/8facc94af7b81d4445ca5cb10c4e78c7 to your computer and use it in GitHub Desktop.
JSP: Drop down forms
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head><title>Student Registration Form</title></head> | |
<body> | |
<form action="student-dropdown-response.jsp"> | |
First name: <input type="text" name="firstName" /> | |
<br/><br/> | |
Last name: <input type="text" name="lastName" /> | |
<br/><br/> | |
<select name="country"> | |
<option>Brazil</option> | |
<option>France</option> | |
<option>Germany</option> | |
<option>India</option> | |
<option>Turkey</option> | |
<option>United Kingdom</option> | |
<option>United States of America</option> | |
</select> | |
<br/><br/> | |
<input type="submit" value="Submit" /> | |
</form> | |
</body> | |
</html> | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head><title>Student Confirmation Title</title></head> | |
<body> | |
The student is confirmed: ${param.firstName} ${param.lastName} | |
<br/><br/> | |
The student's country: ${param.country} | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment