File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:select help

Venkat Babu
Ranch Hand
Posts: 47
  • 0
  • 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.

  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic