struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <andrew.david.h...@gridnode.com>
Subject RE: Urgent: No Getter Method found
Date Fri, 26 Sep 2003 07:06:17 GMT
I dont understand what the name of the instance variable used internally in
the class as got to do with the error he is getting (which results from a
failed introspection attempt to find a getter method)? Surely he could call
the internal variable (which I presume is protected or private) "bob" if he
liked and it should still work?

-----Original Message-----
From: Navjot Singh [mailto:navjot.s@net4india.net]
Sent: Friday, 26 September 2003 14:51
To: Struts Users Mailing List
Subject: RE: Urgent: No Getter Method found


change the variable txtusergroupcode to txtUserGroupCode. it will work.

|-----Original Message-----
|From: Abhijeet Mahalkar [mailto:Abhijeet.Mahalkar@indussoft.com]
|Sent: Friday, September 26, 2003 12:13 PM
|To: Struts Users Mailing List
|Subject: Urgent: No Getter Method found
|
|
|hi All
|I am getting following error while invoking JSP file ..
|
|
|txtUserGroupCode of bean org.apache.struts.taglib.html.BEAN]:
|javax.servlet.jsp.JspException: No getter method for property
|txtUserGroupCode of bean org.apache.struts.taglib.html.BEAN
|
|i have following code in the Action Clas...  still i am getting
|the error please Sugest solution for this...
|
|
|
| public String getTxtUserGroupCode()
| {
|  return this.txtusergroupcode ;
| }
|
| public void setTxtUserGroupCode(String s)
| {
|  this.txtusergroupcode = s ;
| }
|
|

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message