title: include jsp page based on some condition
body: <p>I am using spring tags to in my jsp page.</p>
  
  <p>Now I have a situation where I am using form:select for a dropdown.</p>
  
  <p>If I select first value in the dropdown  "normal.jsp" page should be diaplayed. If I select second value "reverse.jsp" page should be displayed.</p>
  
  <p>Both these jsp pages should be displayed in the main page below the dropdown.</p>
  
  <p>What is the best way to achieve this in jsp?</p>
  
  <p>I am trying to use jstl tags but the form is not getting displayed.</p>
  
  <p>This is the code I wrote</p>
  
  <pre><code>    &lt;tr&gt;
          &lt;td&gt;Types of Auction :-&lt;/td&gt;
          &lt;td&gt;
              &lt;form:select id="auctionType" path="auctionType"&gt;
                  &lt;form:option value="0" label="Select" /&gt;
                  &lt;form:options items="${auctionTypesList}" itemValue="auctionTypeId" itemLabel="auctionTypeDesc" /&gt;
              &lt;/form:select&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
      &lt;tr&gt;
          &lt;td&gt;
              &lt;c:choose&gt;
                  &lt;c:when test="${param.auctionType == 1}"&gt;
                      &lt;c:import url="/normalAuction.jsp" var="normal"/&gt;
                  &lt;/c:when&gt;
                  &lt;c:when test="${param.auctionType == 2}"&gt;
                      &lt;c:import url="/reverseAuction.jsp" var="reverse"/&gt;
                  &lt;/c:when&gt;
              &lt;/c:choose&gt;
          &lt;/td&gt;
      &lt;/tr&gt;
  </code></pre>
  
  <p>Can someone let me know where am I going wrong?</p>
  
  <p>Thanks</p>