Vineesh,
You are nesting the bean:write tag within a html:img tag. You can't nest
the tags. Either don't use the html:img tag or replace the bean:write
with a scriptlet <%= %>
-Richard
vineesh . kumar wrote:
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]