title: javax.servlet.jsp.JspException: No getter method for property
body: <p>I am unable to find out what I am doing wrong. I am bound to use Form Bean within Form Bean as there are numerous different parts of the form. Basically, there is a response part as well as request part on the same form.</p>
  
  <p>While initializing the view, I am getting a no getter method exception.
  I am using <code>Struts 1.2</code></p>
  
  <pre><code>javax.servlet.jsp.JspException: No getter method for property getAvailableAddres
  sRequest.resellerId of bean org.apache.struts.taglib.html.BEAN
      at org.apache.struts.util.RequestUtils.lookup(RequestUtils.java:968)
  </code></pre>
  
  <p>struts-config.xml:</p>
  
  <pre><code>&lt;form-beans&gt;
          &lt;form-bean name="getAvailableAddress" type="com.wisor.talktalk.model.GetAvailableAddress" /&gt;
          &lt;form-bean name="provideRequest" type="com.wisor.talktalk.common.talktalkbean.RequestActionForm" /&gt;
      &lt;/form-beans&gt;
  
      &lt;action-mappings&gt;
          &lt;action path="/ttTestJsp" type="com.wisor.talktalk.controller.TestJsp" 
              name="getAvailableAddress" 
              scope="session" 
              validate="false" 
              unknown="false"&gt;
              &lt;forward name="init" path="/WEB-INF/talk/preorderView/getAvailableAddress.jsp"/&gt;
          &lt;/action&gt;
      &lt;/action-mappings&gt;
  </code></pre>
  
  <p>JSP Page:</p>
  
  <pre><code>&lt;html:form action="/ttTestJsp.do?task=getResponse" styleClass="form"&gt;
          &lt;fieldset&gt;
              &lt;label class="inline label" for="reseller_id"&gt;&lt;fmt:message
                      key="label.field.resellerId" /&gt;:&lt;/label&gt;
              &lt;html:text
                  property="getAvailableAddressRequest.resellerId"
                  styleClass="mandatory" readonly="readonly"&gt;&lt;/html:text&gt;
          &lt;/fieldset&gt;
      &lt;html:submit value="GetAddress"/&gt;
      &lt;/html:form&gt;
  </code></pre>
  
  <p>FormBean Main:</p>
  
  <pre><code>public class GetAvailableAddress extends ActionForm{
      private GetAvailableAddressRequest getAvailableAddressRequest;
  
      public void intilize(){
          getAvailableAddressRequest = new GetAvailableAddressRequest();
      }
  
      public GetAvailableAddressRequest getGetAvailableAddressRequest(){
          return this.getAvailableAddressRequest;
      }
  
      public void setGetAvailableAddressRequest(GetAvailableAddressRequest getAvailableAddressRequest){
          this.getAvailableAddressRequest = getAvailableAddressRequest;
      }
  }
  </code></pre>
  
  <p>child Form Bean:</p>
  
  <pre><code>public class GetAvailableAddressRequest implements Serializable{
  
      private String resellerId;
  
      public String getResellerID(){
          return this.resellerId;
      }
      public void setResellerID(String resellerId){
          this.resellerId = resellerId;
      }
  }
  </code></pre>
  
  <p>Action Class:</p>
  
  <pre><code>public class TestJsp extends Action {
  Logger logger = Logger.getLogger(this.getClass());
  @Override
  public ActionForward execute( ActionMapping map, ActionForm actionForm,
          HttpServletRequest request, HttpServletResponse response) throws Exception{
  ActionForward forward = null;
          GetAvailableAddress form = (GetAvailableAddress) actionForm;
  form.intilize();
  forward = map.findForward("init");
          return forward;
  }}
  </code></pre>