• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts taglib error

 
Sham Jowsaki
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ALL,
Am working on Struts stuff, while adding a html:text tag in jsp program, am getting the following error
No getter method for property "userKeyword" of bean org.apache.struts.taglib.html.BEAN
userKeyword is property of html:text. pls advise me.
Thanks
Jowsaki
 
Kalaiselvan Selvamani
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi ALL,
Am working on Struts stuff, while adding a html:text tag in jsp program, am getting the following error
No getter method for property "userKeyword" of bean org.apache.struts.taglib.html.BEAN
userKeyword is property of html:text. pls advise me.
Thanks
Jowsaki
your form bean must have the set,get method for userKeyword
(ie) your form bean must have

private String _userKeyword;
public void setUserKeyword(String userKeyword){
_userKeyword = userKeyword;
}
public String getUserKeyword(){
return _userKeyworkd;
}
These Methods
May this help you
Thanx
Kalaiselvan.S
 
Sham Jowsaki
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you. Workin pretty..
Cheers
jowsaki
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic