> -----Original Message-----
> From: Abhijeet Mahalkar [mailto:[EMAIL PROTECTED] 
> 
> 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 ;
>  }

There are two clues here.  First, the fact that it says the bean is
"org.apache.struts.taglib.html.BEAN" means that you haven't associated
the reference with an existing ActionForm or bean.  Second, these
accessors have to go in your ActionForm or bean class, not in the Action
class.

The name of your instance variable is irrelevant (in reference to other
responses to this question).

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

Reply via email to