title: Add selected Attribute for option using ternary operator in JSPX
body: <p>I want to add a condition to add selected "attribute" if the condition passed. </p>
  
  <pre><code>&lt;select id="b${count}_ddeligible" class="form-control input-md" name="b${count}_ddeligible"&gt;
    &lt;option&gt;Select&lt;/option&gt;
    &lt;option value="N" ${aspBenefit.eligibleBasp=="N" ? 'selected' : ''}&gt;No &lt;/option&gt;
    &lt;option value="Y" ${aspBenefit.eligibleBasp=="Y" ? 'selected' : ''}&gt;Yes &lt;/option&gt;
  &lt;/select&gt;
  </code></pre>
  
  <p>But I'm getting below error. </p>
  
  <blockquote>
    <p>Element type "option" must be followed by either attribute specifications, ">" or "/>".</p>
  </blockquote>
  
  <p>Appreciate for any help !</p>