• Post Reply Bookmark Topic Watch Topic
  • New Topic

Resolved: Error getting property; first JSF attempt

 
Garrett Rowe
Ranch Hand
Posts: 1296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm reading through the Chapter on JSF in my textbook. When I tried the first end-of-chapter problem I get the following error:

Error:
org.apache.jasper.JasperException: javax.servlet.jsp.JspException: Error getting property 'oSName' from bean of type rowe.SystemPropertiesBean

Here is my index.jsp code


This is my faces-config.xml code


And finally, my simple bean code.


I've studied the examples in the book, but I can't figure out where I've gone wrong. Ive tried changing the names of my getter method to avoid mixed case but that doesn't seem to be the problem. I'd be appreciative of any suggestions. Sorry for the verbosity of the post.

Garrett

[ February 14, 2006: Message edited by: Garrett Rowe ]
[ February 15, 2006: Message edited by: Garrett Rowe ]
 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe it's having trouble with (de)capitalization? Try naming the methods getOsName, etc...
 
Garrett Rowe
Ranch Hand
Posts: 1296
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Jeff Albertson:
Maybe it's having trouble with (de)capitalization? Try naming the methods getOsName, etc...

Thanks Jeff, that worked perfectly.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!