This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I have the following html:select <html:select property="curruserlist" size="5" multiple="true" > <html ptions name="<%=Constants.CURR_USER_NAMES%>" labelName="<%=Constants.CURR_USERS%>" /> </html:select> I want everything in this to be selected by default. Any idea
Assuming that you are following the best practice of always going through Actions first, you need to set the ActionForm's curruserlist to an array that contains all values that you want selected. You do this before you forward to the JSP that displays the select. Struts will take care of the rest.