This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:select help

 
Venkat Babu
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

Please help.

I have drop down in the jsp and i am not seeing the values in the drop box but I am able to print the values using bean:write,

here's the code:

// this line prints the value
<bean:write name="form" property="action1"/>

//The following lines using struts tag libs does not show the selected value in the drop down, shows only the default values in the list
<td >

<html:select name="form" property="action1" disabled="true">

<htmlptionsCollection name="form" property="actionList" label="label" value="value" />

</html:select>

</td>

Please let me know if I am doing anything wrong. Thanks.

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic