G
Greg White
I am currently reading "Struts Survival Guide" and doing some sample
coding - excellent book however one area that is not explained is populating
select box options. My question is for the following tag on a JSP page
<html:select name="customer>
<htmlptions collection="customers" value="id" label="name" />
</html:select>
Do I just create a class called customers that extends collection and put it
in my build path or am I missing some steps here. Do I need other
initialization in my JSP. If anyone can supply me with some sample code it
would be much appreciated.
Greg
coding - excellent book however one area that is not explained is populating
select box options. My question is for the following tag on a JSP page
<html:select name="customer>
<htmlptions collection="customers" value="id" label="name" />
</html:select>
Do I just create a class called customers that extends collection and put it
in my build path or am I missing some steps here. Do I need other
initialization in my JSP. If anyone can supply me with some sample code it
would be much appreciated.
Greg