You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Eider Iturbe <ei...@emedica.es> on 2005/11/22 10:33:10 UTC

Problem:

Hi!

I have a problem with defining an scripting variable with:

/<bean:define id="Cmax" name="adminFormBean" property="Cmax" 
type="java.lang.Integer"/>

/and this property is defined into the bean called adminFormBean like this:

/    private int Cmax = 0 ;

    public void setCmax(int cmax) {
        this.Cmax = cmax;
    }

    public int getCmax() {
        return Cmax;
    }

/But I get one JspException: "/No getter method for property Cmax of 
bean adminFormBean"

/Can anyone help me, please? Thanks!!!

Eider



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