Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes jsp:setProperty error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "jsp:setProperty error" Watch "jsp:setProperty error" New topic
Author

jsp:setProperty error

Hrishikesh Maluskar
Ranch Hand

Joined: Jun 19, 2008
Posts: 115
Can anyone help me in solving this error

Can't find a method to write property 'name' of type 'java.lang.String' in a bean of type 'company.CompanyDetails'

SCJP 1.5
www.licexpadvice.com
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Post the code snippet for jsp:setProperty along with the bean ? It looks like there is no "name" property in 'company.CompanyDetails' bean.


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
Hrishikesh Maluskar
Ranch Hand

Joined: Jun 19, 2008
Posts: 115
Bean->


JSP->
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

First caught will be:

Why setter is private ?
Hrishikesh Maluskar
Ranch Hand

Joined: Jun 19, 2008
Posts: 115
thanks sagar...i understood my mistake
Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

Welcome
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jsp:setProperty error
 
Similar Threads
Type coversions
Why I don't have the import javax.servlets.http.*?
Problem in inserting data into access database through jsp file
help
problem deployingTomcat project on Eclipse