aspose file tools*
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
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