aspose file tools*
The moose likes Struts and the fly likes No getter method for property username of bean User Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "No getter method for property username of bean User" Watch "No getter method for property username of bean User" New topic
Author

No getter method for property username of bean User

Jeroen Van Londersele
Greenhorn

Joined: Apr 07, 2004
Posts: 1
Hi y'all,
I have this problem with a bean I create from a cookie:
jsp:

class-code:

Now, when I try to write the property username for bean User, i get a "No getter method for property username of bean User" error, although I've clearly programmed it.
The .class file is in the WEB-INF/classes/app folder, so I guess it's in the right place. Also, the cookie is placed perfectly, not that that would matter because it would skip the whole block anyway if it wouldn't exist (which it does).
I'm kind of new to Struts, so perhaps I'm overlooking something obvious, but can anyone help me?
Thanks in advance.
[ April 07, 2004: Message edited by: Jeroen Van Londersele ]
[ April 07, 2004: Message edited by: Jeroen Van Londersele ]
 
 
subject: No getter method for property username of bean User