Read the file into a class, parse the key/values and stick them in a Properties object. Define the object as a page-scoped bean and assign whatever values you want to an <option> tag.
Mark -----Original Message----- From: Struts Rodolphe [mailto:[EMAIL PROTECTED]] Sent: Friday, August 30, 2002 8:57 AM To: [EMAIL PROTECTED] Subject: Display dropdown list with data from Application Resources ??? Does anyone know of an elegant solution to display a drop downlist with default data from Application Resources file? Specifically, I want to display all the days in a week. It'd be nice if we can specify in Resources properties file as followed: weekday.0= Sunday weekday.1=Monday....Then use <bean:messge key > inside the <html: select>. Currently I have it a collection of beans stored in application context, then use <html:options> within <html:select>, which is not a good idea. Thanks for any inputs. --------------------------------- Do You Yahoo!? Yahoo! Finance - Get real-time stock quotes -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>