title: Set HTML dropdown selected option using JSTL
body: <p>In the same context i have another query </p>
  
  <pre><code>&lt;select multiple="multiple" name="prodSKUs"&gt;
              &lt;c:forEach items="${productSubCategoryList}" var="productSubCategoryList"&gt;
            &lt;option value="${productSubCategoryList}"${productSubCategoryList == productSubCategoryName ? 'selected' : ''}&gt;${productSubCategoryList}&lt;/option&gt;
           &lt;/c:forEach&gt;
          &lt;/select&gt;
  </code></pre>
  
  <p>and the corresponding setting in request is like</p>
  
  <pre><code>for(int i=0;i&lt;userProductData.size();i++){
      String productSubCategoryName=userProductData.get(i).getProductSubCategory();
      System.out.println(productSubCategoryName);
      request.setAttribute("productSubCategoryName",productSubCategoryName);
  
  }
  </code></pre>
  
  <p>here i have multiple select drop down ,even though i get the return value from for as two ,in the UI only one data is getting higlighted not the second one,What is wrong in the code ?</p>