From: Daku on
Could some Java/JSP guru please help me ? I have in a JSP the
following line:
<tr>
<td align="left" width="50%"><html:select property="medlisttodisplay">
.....................................
I keep getting an exception that there is no getter method for the
property. This is a standard Struts tag.
Any hints, suggestions would be of immense value. Thanks in advance
for your help.
From: david.karr on
On Jan 21, 9:09 am, Daku <dakup...(a)gmail.com> wrote:
> Could some Java/JSP guru please help me ? I have in a JSP the
> following line:
> <tr>
> <td align="left" width="50%"><html:select property="medlisttodisplay">
> ....................................
> I keep getting an exception that there is no getter method for the
> property. This is a standard Struts tag.
> Any hints, suggestions would be of immense value. Thanks in advance
> for your help.

It's been a few years since I did anything with Struts, but this isn't
that difficult. That error message doesn't refer to a problem with
the tag, it's simply saying that there is no getter method for the
"medlisttodisplay" property in the form bean.
From: Lew on
Daku wrote:
>> Could some Java/JSP guru please help me ? I have in a JSP the
>> following line:
>> <tr>
>> <td align="left" width="50%"><html:select property="medlisttodisplay">
>> ....................................
>> I keep getting an exception that there is no getter method for the
>> property. This is a standard Struts tag.
>> Any hints, suggestions would be of immense value. Thanks in advance
>> for your help.
>

david.karr wrote:
> It's been a few years since I did anything with Struts, but this isn't
> that difficult.  That error message doesn't refer to a problem with
> the tag, it's simply saying that there is no getter method for the
> "medlisttodisplay" property in the form bean.

Just as the message states.

And shouldn't the property name be 'medListToDisplay'?

--
Lew