[an error occurred while processing this directive]

How to create a form in JSP


This section illustrates you about the procedure of the creation of a form through the HTML code in the JSP page. You can simply use the <form></form> tags for creating a frojsp" extension.

Following code of the JSP file is given as follows in which all the thing are usm and save the file with the ".ed from the HTML code syntaxes. There are two controls of the form have been generated by the following code of the program.


Here is the code of the program:



	<head><title>Creating Form in JSP.</title></head>
		<form method="post">
			<table border="0" cellpadding="0" cellspacing="0">
					<td>Enter your name: </td>
					<td><input type="text" name="txtName"
					<td><input type="submit" name="B1"/>
<input type="reset" name="B2"/></td>
Output of the program:
Download this example.


[an error occurred while processing this directive]