title: If else model getattribute in jsp file
body: <p>controller</p>
  <pre><code>model.addAttribute(&quot;ciflength&quot;, new String(decodedBytes).length());
  </code></pre>
  <p>JSP File
  How to make if with ${ciflength}</p>
  <pre><code>if (${ciflength} &lt;10){
  
  &lt;ul&gt;&lt;/ul&gt;
  }else{
  &lt;ul&gt;&lt;/ul&gt;
  }
  </code></pre>
  <p>I found few site use &lt;c:if  but it does'nt work and show error</p>
  <p>sorry for bad english, and minimum info</p>