File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes html:select help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:select help" Watch "html:select help" New topic

html:select help

Venkat Babu
Ranch Hand

Joined: Jan 12, 2007
Posts: 47

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.

I agree. Here's the link:
subject: html:select help
It's not a secret anymore!