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:[EMAIL PROTECTED]
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:[EMAIL PROTECTED]
|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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to