File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Struts taglib error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts taglib error" Watch "Struts taglib error" New topic
Author

Struts taglib error

Sham Jowsaki
Ranch Hand

Joined: May 22, 2001
Posts: 146
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

Joined: Sep 10, 2001
Posts: 32
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

Joined: May 22, 2001
Posts: 146
Thank you. Workin pretty..
Cheers
jowsaki
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts taglib error
 
Similar Threads
URGENT:Tiles giving bean not defined
TextBox having same name
Problem in SessionManagement in Struts
Cannot use one struts tag within another one?
No tag "form" defined in tag library imported with prefix "html"