Might not be an issue here, but are you using DynaActionForm?

--
James Mitchell





----- Original Message ----- 
From: "Miller, Jason" <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Monday, January 20, 2003 2:56 PM
Subject: RE: getter doesn't work in scriplet


> 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
> 


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to