JSTL - Comparing Strings
<p>I'm trying to compare two strings but I can't get the result I need</p>

<p>I tried these formats:</p>

<pre><code>&lt;c:choose&gt;
    &lt;c:when test="${company == multi }"&gt;
       &lt;a href="dashResumo.jsp?tr=&lt;%=tr%&gt;&amp;company=VVO&amp;nm=&lt;%=nmTorr%&gt;"&gt;&lt;/a&gt;
       &lt;a href="dashResumo.jsp?tr=&lt;%=tr%&gt;&amp;company=GPA&amp;nm=%=nmTorr%&gt;&lt;/a&gt;                                    
   &lt;/c:when&gt;
 &lt;/c:choose&gt;

&lt;c:choose&gt;
    &lt;c:when test="${company == 'multi' }"&gt;
       &lt;a href="dashResumo.jsp?tr=&lt;%=tr%&gt;&amp;company=VVO&amp;nm=&lt;%=nmTorr%&gt;"&gt;&lt;/a&gt;
       &lt;a href="dashResumo.jsp?tr=&lt;%=tr%&gt;&amp;company=GPA&amp;nm=%=nmTorr%&gt;"&gt;GPA&lt;/a&gt;                                    
   &lt;/c:when&gt;
&lt;/c:choose&gt;

&lt;c:choose&gt;
    &lt;c:when test="${company.equals("multi") }"&gt;
       &lt;a href="dashResumo.jsp?tr=&lt;%=tr%&gt;&amp;company=VVO&amp;nm=&lt;%=nmTorr%&gt;&lt;/a&gt;
       &lt;a href="dashResumo.jsp?tr=&lt;%=tr%&gt;&amp;company=GPA&amp;nm=%=nmTorr%&gt;&lt;/a&gt;                                    
   &lt;/c:when&gt;
&lt;/c:choose&gt;
</code></pre>

<p>but none of these formats worked for me.</p>

<p>Using JSTL-1.2 library</p>