Hi, I'm pretty new to struts and haven't been using it for very long. I have spent the past few days trawling though web sites and usenet trying to find the answer to my problem below. If anyone can help it would be much appreciated.
I am trying to find an example of code that will populate a collection within a form bean and then forward it on to a jsp where the drop down box will have the contents of the collection. I have got the gist of how this is done but can't quite get the syntax correct. I have the following in my forwarded JSP: <html:select property="makeText"> <html:options collection="MakeCollectionFormBean" property="value" labelProperty="label"/> </html:select> MakeCollectionFormBean is set up to only contain a getter and setter for my Vector collections as shown below: import java.util.Vector; import org.apache.struts.action.ActionForm; public class MakeCollectionFormBean extends ActionForm { private Vector makes; public Vector getMakes() { return makes; } public void setMakes(Vector makes) { this.makes = makes; } } My Vector contains LabelValueBean objects. If anyone can help with what should go where it would be really helpfull. Thanks Scott. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]