Request Help - Strange Struts - JSP exception

D

Daku

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

david.karr

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

Lew

david.karr said:
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'?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,190
Members
46,740
Latest member
AdolphBig6

Latest Threads

Top