You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Axtell, Neil" <Ne...@eu.anritsu.com> on 2002/10/29 18:57:53 UTC

This may be a question for the Struts Developers, but here goes.

I've been investigating the following JSP error (thrown by a JSP page
attempting to use a FormBean) :-

"javax.servlet.jsp.JspException: No getter method available for property
archiveServer for bean under name org.apache.struts.taglib.html.BEAN
at org.apache.struts.taglib.html.SelectTag.doStartTag(SelectTag.java:304)
at
org.apache.jsp.ResultArchiveAdmin_jsp._jspService(ResultArchiveAdmin_jsp.jav
a:265)"

Having looked at the Struts source code it would appear that the
"org.apache.struts.taglib.html.BEAN" string should be the Class of the
FormBean I've associated with my JSP page - but it isn't. This is the
default value that the "name" var is initialised to. It would appear that
the SelectTag.setName() method is not being called and hence the tag does
not know the FormBean it should be looking for.

Has anyone any ideas when/how the SelectTag should be told the Class of the
FormBean it should be looking for so that it can populate the HTML <OPTION
tag? BTW I'm referencing the JSP page directly via a link, should I go via
an Action? It wouldn't do anything as this initial reference simply displays
an empty Form for the user to complete.

Many thanks.

Neil.
________________________________________

Neil Axtell
Principal Engineer (MMI/Web Technologies)
ANRITSU LIMITED
European Measurement Division - Engineering
200 Capability Green
Luton, UK
Tel:  +44 (0) 1582 433347
Fax: +44 (0) 1582 433276
E-Mail: Neil.Axtell@eu.anritsu.com <ma...@eu.anritsu.com>





---------------------
This email message, together with any attachments, is for the exclusive and
confidential use of the addressee(s).  If you have received this message in
error, please notify the sender by email immediately, then delete the
message and any copies.  Any views or opinions presented herein are solely
those of the author and do not necessarily represent those of the Anritsu
group of companies.
---------------------


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>