title: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope
body: <p>I have a form which has five tabs. In one of the tabs(background.jsp) on change of a checkbox(be in checked or unchecked) I am trying to set the flag of (hasGenderChanged) in jsp to true and use a request type to send it to my java code.</p>
  
  <p>Below is the code structure. I am getting an error which reads: Cannot find bean org.apache.struts.taglib.html.BEAN in any scope in edit_Education.jsp. Below is the code structure. Any help will be greatly appreciated.</p>
  
  <p>Introduction.jsp has all the header tabs and at the end of it has
  
  On click of save button in this page I want to send if a check box has been changed during filling up a form. If changed want to send true to java component from JSP.</p>
  
  <p>In edit_Education.jsp:</p>
  
  <pre><code>&lt;template: insert template='education/Introduction.jsp'&gt;
  
      &lt;logic:equal name="educationForm" property="selectedOption" value="0"&gt;
          &lt;template:put name='content-area' content='education/background.jsp'/&gt;
      &lt;/logic:equal&gt;
  
      &lt;logic:equal name="educationForm" property="selectedOption" value="1"&gt;
          &lt;template:put name='content-area' content='education/eduqualification.jsp'/&gt;
      &lt;/logic:equal&gt;
  
      &lt;logic:equal name="educationForm" property="selectedOption" value="2"&gt;
          &lt;template:put name='content-area' content='education/workexperience.jsp'/&gt;
      &lt;/logic:equal&gt;
  &lt;/template: insert
  </code></pre>
  
  <p>Since the forms on each tab are huge I want to trigger an action only if a checkbox has been checkbox in background.jsp</p>
  
  <p>In background.jsp</p>
  
  <p>Inside the html tags of a checkbox this is the function I have</p>
  
  <pre><code>&lt;script&gt;
  function validate(){
  
      document.educationForm.hasGenderChanged.value="true";
  }
  &lt;html:form action="/processEducationAction" target="CONTENT-AREA"&gt;
  &lt;html: hidden property="hasGenderChanged"/&gt;
  &lt;input type="hidden" name="hasGenderChanged" value="" scope="request"/&gt;
  
  
  &lt;/script&gt;
  
  &lt;TR&gt;
      &lt;html:checkbox property="selectOptions.selectGender" onchange="validate()"/&gt;
      &lt;bean:message key="education.selectedOptions.label.selectGender"/&gt;
  &lt;TR&gt;
  &lt;/html:form&gt;
  </code></pre>
  
  <p>In educationForm.java I have a boolean hasGenderChanged; variable and setters and getters for this.</p>
  
  <p>I am not sure how this value, hasGenderChanged in background.jsp can be made accessable to in edit_Education.jsp.</p>
  
  <p>I am a newbie in Struts.Thanks in advance for the help. </p>