Hi,
The property should be driverName, and this would trigger the setDriverName
method. Note the lowercase in the property name and uppercase in the method
name. That's what makes a bean a bean.
Pierre-Yves
-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de
[Your Full Name]
Envoy� : jeudi 13 septembre 2001 00:38
� : [EMAIL PROTECTED]
Objet : Re: Problem using setProperty in JSP
Tried both DriverName and setDriverName.
<jsp:setProperty name="pcr" property="DriverName" value="test" />
gives me similar Message.
The Property is DriverName in the Bean and the Method is
setDriverName(String driverName).
Appreciate your help.
Sreekanth
-----Original Message-----
From: Richard Yee [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 6:29 PM
To: [EMAIL PROTECTED]
Subject: Re: Problem using setProperty in JSP
What property are you trying to set? property="setDriverName" or
property="driverName"
I'm guessing that you are using 'property="setDriverName" which is
incorrect.
Send your code.
-Richard
At 04:12 PM 9/12/01 -0400, you wrote:
>Hello All,
>
>I am having problem using setProperty using Tomcat 3.2.3. I have checked
the
>Bean Class , it has the method.
>
>Is this action supported in Tomcat 3.2.3 Implementation.
>
>Error Message is
>
>org.apache.jasper.JasperException: Cannot find any information on property
>'setDriverName' in a bean of type 'PCRProject'
>
>
>
>Sreekanth
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html