This week's book giveaway is in the Java in General forum.
We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line!
See this thread for details.
Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No getter method for property givenqty of bean givenvalform

 
Praveen palukuri
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i'm new to struts, i have the following problem when runniny my small appl
"No getter method for property givenqty of bean givenvalform"
it seems everything is correct to me, but i don't know where the problem.
the code follows:

"GivenValForm Bean"
public class GivenValForm {

protected String givenqty;

//set the given quantity
public void setGivenqty(String givenqty) {
this.givenqty = givenqty;
}
// get the given quantity
public String getGivenqty() {
return this.givenqty;
}
} // end of GivenValForm {}
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic