> From: Jamison Roberts [mailto:[EMAIL PROTECTED] > (and I can't figure out how to populate a select box > from a Vector or other sort of list).
The <html:options> tag will do it for you. ;) <html-el:select property="team"> <html-el:options collection="teams"/> </html-el:select> Put an ArrayList of the teams in request (or session or application) scope, and it will magically populate your drop-down. I think. Mine are Maps, but I think it works the same with Lists. I am using Struts-EL and JSTL, but since there are no ${expressions} you can just get rid of the "-el" on each of the tags and it will still work. > The closest i've gotten is to have a "static" Teams.jsp > with an input-text box, which calls an Action to display the users. > In otherwords my Index.jsp links to Teams.jsp, instead of something > like Teams.do On index.jsp, put a link to displayTeam.do which will be an action (DisplayTeamAction?) that retrieves the teams and places an ArrayList in request scope. Then it forwards to teams.jsp. (If the teams don't change often, you can do this once when the application starts up.) Now, how are you currently getting from teams.jsp to the page that displays the riders? My preferred approach involves LookupDispatchAction, and I think that's going to add to your frustration level. :/ If you have not already, it's a good idea to spend enough time with the struts-example webapp that you completely understand it. Running it in a debugger (JSwat) is an incredibly enlightening experience. Given that you've learned all this stuff in three weeks, you're doing great! -- Wendy Smoak Application Systems Analyst, Sr. ASU IA Information Resources Management --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]