title: No getter method for property - JSP Exception
body: <p>In my <code>Struts-config.xml</code> file,    </p>
  
  <pre><code>&lt;action path="/getTareWeight" 
    type="com.astrazeneca.usbod.scale.actions.GetTareByBarcodeAction"  
    name ="getTareByBarcodeForm" 
    scope="request" 
    validate="true" 
    input="/jsp/getTareByBarcode.jsp"&gt;
  
      &lt;forward name="success" path="/jsp/tareWeightResult.jsp" /&gt;
    &lt;/action&gt;
  </code></pre>
  
  <p>In <code>GetTareByBarcodeForm</code> which extends the <code>ActionForm</code> the following getter and setter methods are there,</p>
  
  <pre><code>public String getBarcodeString() {
      return (this.barcodeString);
  }
  
  public void setBarcodeString(String barcodeString) {
      this.barcodeString = barcodeString;
  }
  
  public String getResult() {
      return (this.result);
  }
  
  public void setResult(String result) {
      this.result = result;
  }
  </code></pre>
  
  <p>In the <code>GetTareByBarcodeAction.java</code> file,</p>
  
  <pre><code>public ActionForward execute(ActionMapping mapping, ActionForm form,
          HttpServletRequest request,
          HttpServletResponse response)
          throws IOException, ServletException{
        String target = new String("success");
        double tareWeight=0;
        String tw = new String("");
        GetTareByBarcodeForm gForm = (GetTareByBarcodeForm)form;
        String errorString;
        StringTokenizer t = new StringTokenizer(gForm.getBarcodeString(),
        " \t\n\r\f:,;.");
        List barcodeList = new ArrayList();
        List tareWeightList = new ArrayList();
        while (t.hasMoreTokens()) {             
          barcodeList.add(t.nextToken().trim());           
        }
        int size = barcodeList.size();
        VesselProcessor vproc = VesselProcessor.getInstance();
        for(int i=0;i&lt;size;i++)
        {
          tareWeight = vproc.checkTares((String) barcodeList.get(i));
          tw=Double.toString(tareWeight);
          tareWeightList.add(barcodeList.get(i));
          tareWeightList.add(tw);
          String temp = barcodeList.get(i).toString();
          gForm.setBarcodeString(temp);
          gForm.setResult(tw);
        }
  
      request.setAttribute("TAREWEIGHT", tareWeightList);
      return (mapping.findForward(target));       
  }
  </code></pre>
  
  <p>In the <code>tareWeightResult.jsp</code> file, i am printing the values in the attribute TAREWEIGHT in a table format.</p>
  
  <pre><code>&lt;logic:present name="TAREWEIGHT"&gt;
          &lt;logic:iterate id="result" name="TAREWEIGHT"&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;bean:write name="result" property="barcodeString"/&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;bean:write name="result" property="result"/&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;           
          &lt;/logic:iterate&gt;
      &lt;/logic:present&gt;
  </code></pre>
  
  <p>When I tried to run this functionality after deploying it in weblogic server, I have the below error in log.</p>
  
  <pre><code>javax.servlet.jsp.JspException: No getter method for property barcodeString of bean result
  at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:968)
  at org.apache.struts.taglib.bean.WriteTag.doStartTag(WriteTag.java:286)
  at jsp_servlet._jsp.__tareweightresult._jsp__tag2(__tareweightresult.java:237)
  at jsp_servlet._jsp.__tareweightresult._jspService(__tareweightresult.java:174)
  at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
  </code></pre>
  
  <p>Can anybody let me know where I have gone wrong in this scenario?</p>