Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

html:select help  RSS feed

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

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" />



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

It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!