Bookmark Topic Watch Topic
  • New Topic

Retain drop down values in JSP

 
kasi Raju
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hi Every one,

Sorry to post this in different thread but my problem was not solved

I want to retain drop down values in JSP which are in session.
here is my JSP page

<tr><td align="center"><select name="titles" size="1" >
<c:forEach items="${sessionScope.pNames}" var="current" >
<option value="${current.c1}" >${current.c2}</option>
</c:forEach>
</select></td></tr>

<td align="center"><input type="button" value="modify" onclick="submit(this.form)"/></td>
</tr>

Thanks
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65118
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Report post to moderator
Please continue the discussion in the original topic.
 
    Bookmark Topic Watch Topic
  • New Topic