I think you might be using the display tag library incorrectly.

It looks like what you are trying to do is to display row.pCount if the value is greater than zero, otherwise display -. But what you're actually doing is telling the library to display the entire column differently based on something (pCount, which probably does not exist in the scope you are referencing it... or you're going to have to show us some more code).

Try something like this:

&lt;display:column class="colPCount" title="${titlePCount}" sortable="true" headerClass="sortable"&gt;
    &lt;c:choose&gt;
        &lt;c:when test="${row.pCount &gt; 0}"&gt;
            &lt;c:out value="${row.pCount}" /&gt;
        &lt;/c:when&gt;
        &lt;c:otherwise&gt;
            &amp;nbsp;-&amp;nbsp;
        &lt;/c:otherwise&gt;
    &lt;/c:choose&gt;
&lt;/display:column&gt;


display tag and c choose tag
It might sound like a strange question, but I noticed that my printer is folding paper. So I would like diagnose it, whether it's because of cartridge or the problem is somewhere else.

If I could put paper through printer without cartridge inside, and it still would be folded then it would clearly be the problem with printer itself.

Printer is HP M125nw. Basically I would like to make sure, that folding is not because of cartridge.
