Struts 2 Select tag
- by nathj07
I'm pretty new to the jsp and struts way of doing things and so far I like what I see.
My current question is with the use of the struts select tag.
I have a page that displays a number of dropdown boxes using struts select currently the options are hard coded in the jsp. I would like to populate them based on a properties file. However I have no idea where to start.
I assume I need to take the contents of a properties file into an Array (of some sort) and assign that to the select tag. My questions are:
Where does the code t build the array go?
How do I connect that array to the select tag?