struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Refl├ę <>
Subject AW: Form Bean problem
Date Tue, 26 Feb 2002 10:55:43 GMT
I just started to read the conversation so if i tell you something you
tried before sorry.
But the error is normaly that you defined no getter method
for the property dob in your form Bean class.
public class MyForm extends ActionForm{
	private String dob;
	public String getDob(){return dob;}


so if you implement this it should work

-----Urspr├╝ngliche Nachricht-----
Von: Tim Sawyer []
Gesendet: Dienstag, 26. Februar 2002 11:50
Cc: Tim Sawyer;
Betreff: Re: Form Bean problem

Nope, same error.  It seems to be in the html library somewhere.

javax.servlet.jsp.JspException: No getter method for property dob of bean
	at org.apache.struts.util.RequestUtils.lookup(
	at /ExtraCustomerDetails.jsp._jspService(/
(JSP page line 16)
	at com.orionserver[Orion/1.5.2 (build
10460)].http.OrionHttpJspPage.service(Unknown Source)
	at com.evermind[Orion/1.5.2 (build 10460)]._ah._rad(Unknown Source)

Is this something obvious I've done wrong?


-----Original Message-----
From: Sarah Farrell []
Sent: Monday, February 25, 2002 9:54 PM
To: Struts Users Mailing List
Subject: Re: Form Bean problem

The error sounds like it is referring to the taglib struts-bean.tld, whether
not it is a legitimate error, I'm not sure.

Try taking out the line
        <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
>from your jsp and change the button tags back to regular HTML where
          <bean:message key="button.submit"/>
would become
        <input type="submit" value="Submit">
          <bean:message key="button.reset"/>
would become
        <input type="reset" value="Reset">

And then tell us if you get the same error message, or a different one.


To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message