No getter method for property text1_0 of bean org.apache.struts.taglib.html.BEAN org.apache.struts.taglib.html.BEAN 这个类没有一个属性叫 “text1_0”。应该是<html:text property="text1_0" />       property填写 text1_0不合法。

解决方案 »

  1.   

    : No getter method for property text1_0 of bean 
    bean里有个属性小了get方法,你检查下
      

  2.   

    No getter method for property text1_0 of bean org.apache.struts.taglib.html.BEAN   很清楚了
      

  3.   

    已经是在bean里面定义了  getText1_0 和 setText1_0方法了如下 但一样报错误?? private String text1_0;
    public String getText1_0()
    {
    return this.text1_0;
    }
    public void setText1_0(String text1_0)
    {
    this.text1_0=text1_0;
    }但是就是要报错误html代码我也写出来:
            <div id="div_0" style="position:relative;left:0px;top:0px;width:310px">
            
                   <html:text property="text1_0" />                                       
                
                  <html:select property="select1_0" >                                              
                          <html:option value="0">==</html:option>
                          <html:option value="1">&lt;=</html:option>
                          <html:option value="2">&lt;</html:option>
                          <html:option value="3">&gt;=</html:option>
                          <html:option value="4">&gt;</html:option>
                       </html:select>
                
                   <html:text  property="text2_0" />                                     
                
                   <html:select property="select2_0" onchange="createTwoChild(0,this)">              
                          <html:option value="">   </html:option>
                          <html:option value="1">AND</html:option>
                          <html:option value="2">OR </html:option>
                       </html:select>
            </div>