struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rajiv ahuja" <raj...@hotmail.com>
Subject getter doesn't work in scriplet
Date Mon, 20 Jan 2003 19:57:39 GMT
Hi

I am using getter in jsp but it throws no such method found exception, but 
the same property gets displayed when I use <bean:write.. tag.

So

<logic iterate id="field" name="fields" >
  <bean:write name="field" property="name"/>
</logic:iterate>

works

but

<logic iterate id="field" name="fields" >
  <% String name = field.getName(); %>
</logic:iterate>

doesn't.  Any ideas

Thanks
Rajiv








_________________________________________________________________
MSN 8 with e-mail virus protection service: 2 months FREE* 
http://join.msn.com/?page=features/virus


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message