title: NetBeans html javabeans
body: <p>Trying to make a site with an intro and then a second page with some calculation between two input fields.</p>
  
  <p>Before now, I've only used managed beans on the index, and when I try to reference the bean on the second page, it's not receiving.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h:body&gt;
          &lt;h:form&gt;
          &lt;h:panelGrid columns="4"&gt;
                  &lt;h:outputLabel value="What is the bill of sale?"/&gt;
                  &lt;h:inputText value="#{taxBean.sale}"/&gt;
                  
                  &lt;h:outputLabel value="What State are you in?"/&gt;
                  &lt;h:inputText value="#{taxBean.state}" size="2"/&gt;
              &lt;/h:panelGrid&gt;
              
              &lt;h:commandButton value="#{taxBean.calc()}"&gt;Submit/&gt;
              &lt;/h:form&gt;
      &lt;/h:body&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The text after value looks like normal quote text, instead of a declaration.</p>
  
  <p>How do I make the bean reference on the second page work? Is there an option for the bean to point to the second page, or some code I need to put on the page itself?</p>