JSTL Form Value and ForEach Loop
<html> <head> <title>Page Data Example</title> </head> <body> <table border="1"> <form method="POST" action="params2.jsp"> <tr> <td width="33%"> <b>First Name</b> </td> <td width="73%"> <input type="text" name="first" size="40" /> </td> </tr> <tr> <td width="33%"> <b>Last Name</b> </td> <td width="73%"> <input type="text" name="last" size="40" /> </td> </tr> <tr> <td width="33%"> <b>Address</b> </td> <td width="73%"> <input type="text" name="address" size="40" /> </td> </tr> <tr> <td width="33%"> <b>City</b> </td> <td width="73%"> <input type="text" name="city" size="20" /> </td> </tr> <tr> <td width="33%"> <b>State</b> </td> <td width="73%"> <input type="text" name="state" size="20" /> </td> </tr> <tr> <td width="33%"> <b>ZIP</b> </td> <td width="73%"> <input type="text" name="zip" size="20" /> </td> </tr> <tr> <td colspan="2"> <input type="submit" value="Submit" name="action" /> <input type="reset" value="Reset" name="action" /> </td> </tr> </form> </table> </body> </html> ///////////////////////////////////////////////////////////////////////////////////// //File: params2.zip