title: html select option tag closes itself due to a "/" character in the dynamic value (JSP, JSTL)
body: <pre><code>&lt;select id="ordersSelect" class="drop-down" onchange="somemethod()"&gt; 
  
  &lt;c:forEach items="${orders}" var="order" varStatus="orderStatus"&gt;
    &lt;option value="${order.id}"&gt; ${order.publicId} &lt;/option&gt;
  &lt;/c:forEach&gt;
  
  &lt;/select&gt;
  </code></pre>
  
  <p>I have the above peice of code in a JSP page, that receives a list of Orders and each order has some information, the particular information that I want to display in a SELECT field is the publicId. <br><br>
  The problem is that, on display there is only one OPTION in the SELECT and the rest of the order's publicId s are displayed as normal text below the SELECT box and not an OPTION to select. 
  <br><br><br>
  I found out that the publicId actually contains a String like A10/0001/0 and that is the character "/" is most probably causing the problem.</p>
  
  <p>Any solutions/suggestion/ideas?</p>