Shouldn't it be more like: <html:img src="<bean:write name="pollInfo" property="imgSrc"/>" height="20" width="20"/> <bean:write name="pollInfo" property="name"/>
----- Message-ID: <[EMAIL PROTECTED]> From: "vineesh . kumar" <[EMAIL PROTECTED]> To: struts_user <struts-user@jakarta.apache.org> Subject: Bean write problem on emebedding an image Date: Fri, 11 Nov 2005 01:31:34 -0500 X-Mailer: Internet Mail Service (5.5.2653.19) List-Help: <mailto:[EMAIL PROTECTED]> List-Unsubscribe: <mailto:[EMAIL PROTECTED]> X-BrightmailFiltered: true X-Brightmail-Tracker: AAAAAA== X-IronPort-AV: i="3.99,116,1131343200"; d="scan'208,217"; a="11900048:sNHT34132504" Delivered-To: mailing list user@struts.apache.org X-Virus-Checked: Checked by ClamAV on apache.org Hi all, I am trying to create a page, so that based on some crieterial the image to be displayed is selected. So i made an Form bean in which i initialize a class array and i am using logic itereate and bean write to display the image accordingly so i wrote <lgic:iterate id="pollInfo" name="PollForm" property="pollInfo" scope="session"> <html:img src="<bean:write name="pollInfo" property="imgSrc" height="20" width="20"/>" /> <bean:write name="pollInfo" property="name"/> </logic:iterate> so i am getting an exception like, org.apacje.JasperException: /pages/status.jsp(26.50) equal symbol expected. the error is on the line <html:img src="<bean:write name="pollInfo" property="imgSrc" height="20" width="20"/>" /> what is the correct way of doing this --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]