Hi everybody
In servlet 1, I hava a code that builds a 2 dim array with 3 columns (Col1, Col2 and Col3) and number of rows (dynamic) ,the array is saved as session var.
In JSP 1 , I display the array in a combo box as :
<select name="myCBO">
<c:forEach var = "item" items = "${myArray}">
<option value="${item[0]}"> ${item[2]} </option>
</c:forEach>
</select>
As can be seen, I am displaying Col3 and the value of combo box is Col1.
In servlet 2, I get the value of combo box (Col1) and then perform a search in the session var (myArray) to find Col2 and Col3, but I am looking for a better and faster way to solve this issue.
Could you please help ?
Thank you in advance
Vajra