Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java Open Source > Struts
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Struts section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 20th, 2006, 03:34 AM
Registered User
Join Date: Jun 2006
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Populate the drop down

i want to populate drop-down from formbean or action classes
how to do it , Please help me

Reply With Quote
  #2 (permalink)  
Old July 12th, 2006, 03:09 AM
Registered User
Join Date: Jul 2006
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

for the above question first u have to store all the elements of drop-down box into any scopeble object ( request or session or application) in an action class. then in jsp use <html:options ../> to populate the values into drop-down box.

Reply With Quote
  #3 (permalink)  
Old August 2nd, 2006, 03:06 AM
Authorized User
Join Date: Aug 2006
Location: , , .
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to sachin.tathod

U can use this option

<html:option value="planID">name</html:option>

Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Populate the 2nd drop down based on value of 1st pendemv Classic ASP Databases 3 August 26th, 2008 12:42 PM
Populate fields from drop-down selection SimonL Infopath 0 April 12th, 2007 07:30 AM
How to populate drop down box with registery value method Beginning VB 6 2 April 20th, 2006 03:00 AM
populate drop down list with a function code3hree Javascript 1 May 28th, 2005 11:44 AM
Populate a drop down from database topshed Access 5 November 29th, 2004 09:38 PM

All times are GMT -4. The time now is 05:16 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.