This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
The moose likes JSP and the fly likes Retain drop down values in JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

Retain drop down values in JSP

kasi Raju
Greenhorn

Joined: Jun 07, 2011
Posts: 8
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

Joined: Jan 10, 2002
Posts: 63026
    
  69

Please continue the discussion in the original topic.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retain drop down values in JSP
 
jQuery in Action, 3rd edition