Have you got other properties on the same form/jsp working OK? (to prove you
are looking at the right form bean).

As a wild desperate measure - try adding another word so it is dobTest
(getDobTest). Properties are weird when they start with multiple uppercase
letters maybe when it's all lower case.

I know this is no use but I wish I could help... I went through something
similar where it seemed to be allergic to my property name &* I know it wasn't
a spelling error. Good luck!

--- Tim Sawyer <[EMAIL PROTECTED]> wrote:
> Thanks to everyone for your suggestions.
> 
> JSP property looks like this:
> 
> <html:text property="dob" size="30"/>
> 
> Get and set methods look like this:
> 
>   /** Getter for property dob.
>    * @return Value of property dob.
>    */
>   public java.lang.String getDob()
>   {
>     return dob;
>   }
>   
>   /** Setter for property dob.
>    * @param dob New value of property dob.
>    */
>   public void setDob(java.lang.String dob)
>   {
>     this.dob = dob;
>   }
> 
> This should work shouldn't it?  I assume I'm missing something obvious, but
> don't really know where to look.
> 
> Tim.
> 
> 
> 
> Jean-Guillaume LALANNE <[EMAIL PROTECTED]> wrote :
> 
> > 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" &amp;lang=en">[EMAIL PROTECTED]>
> > To: &amp;lang=en">[EMAIL PROTECTED]>
> > Cc: "Tim Sawyer" ;&amp;lang=en">[EMAIL PROTECTED]>;
> > &amp;lang=en">[EMAIL PROTECTED]>
> > 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:[EMAIL PROTECTED]]
> > > 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
> > >         
> > > from your jsp and change the button tags back to regular HTML where
> > >         
> > >           
> > >         
> > > would become
> > >         
> > > and
> > >         
> > >           
> > >         
> > > would become
> > >         
> > >
> > > And then tell us if you get the same error message, or a different one.
> > >
> > > ??
> > >
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > &amp;lang=en">[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > &amp;lang=en">[EMAIL PROTECTED]>
> > 
> > 
> > --
> > To unsubscribe, e-mail:  
> &amp;lang=en">[EMAIL PROTECTED]>
> > For additional commands, e-mail:
> &amp;lang=en">[EMAIL PROTECTED]>
> 
> 
> 
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
> 


=====
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Search the archive:-
http://www.mail-archive.com/struts-user%40jakarta.apache.org/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Keith Bacon - Looking for struts work - South-East UK.
phone UK 07960 011275

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to