Thanks Tim, I could solve my issue with the el tags. Now I am using el tags in other places, Life is easy now.
Sandhya -----Original Message----- From: Slattery, Tim - BLS [mailto:[EMAIL PROTECTED] Sent: Thursday, May 20, 2004 1:25 PM To: 'Struts Users Mailing List' Subject: RE: <html:option> and <c:out> tags > Hello , > I have a question on how to use <C:out> tag as the value > to the value attribute of <html:option> tag > > On my JSP > > <html:select property="optionList"> > <c:forEach items="${TaskForm.optionList}" > var="optionList"> > > > <html:option value="<c:out value=${optionList.optionID}/>"> That's the problem right there, you *cannot* nest tags. So use the el version of the tag: <html-el:option value="${optionList.optionID}"/> -- Tim Slattery [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]