One idea - you don't seem to be casting the bean to the specific type.
Therefore, reflection would work, but a static call would not.

> 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

Reply via email to