struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Guillaume LALANNE" <jeanguillaume.lala...@cgey.com>
Subject Re: Form Bean problem
Date Tue, 26 Feb 2002 10:57:09 GMT
Hi,

I have got the same type of problem and it was due to the fact that my
property was not lowercase...
Have a look at your JSP and specially to your "dob" property ...

Hope that helps

Jean-Guillaume LALANNE

----- Original Message -----
From: "Tim Sawyer" <tsawyer@nildram.co.uk>
To: <struts-user@jakarta.apache.org>
Cc: "Tim Sawyer" <tsawyer@nildram.co.uk>; <sfarrell24@mindspring.com>
Sent: Tuesday, February 26, 2002 11:50 AM
Subject: 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
org.apache.struts.taglib.html.BEAN
> at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:517)
> at
org.apache.struts.taglib.html.BaseFieldTag.doStartTag(BaseFieldTag.java:188)
> at
/ExtraCustomerDetails.jsp._jspService(/ExtraCustomerDetails.jsp.java:64)
(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?
>
> Tim.
>
>
> -----Original Message-----
> From: Sarah Farrell [mailto:sfarrell24@mindspring.com]
> 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
> or
> 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
>         <html:submit>
>           <bean:message key="button.submit"/>
>         </html:submit>
> would become
>         <input type="submit" value="Submit">
> and
>         <html:reset>
>           <bean:message key="button.reset"/>
>         </html: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:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message