> waht the wrong with following code, it doesn't work. > can't we use <bean:write> inside any other struts tag? > <html:select property="fosCode" value="<bean:write name="header" > property="gender"/>" > <html:options collection="FIELD_OF_STUDY_CODES" property="code" > labelProperty="description" /> > </html:select>
No, you cannot nest tags like that. But if all you're trying to do is pre-select a certain value in your select list, all you have to do is populate the form bean with the value, and Struts will render the HTML with the proper one selected. -- Wendy Smoak Applications Systems Analyst, Sr. Arizona State University PA Information Resources Management

