Albrecht Leiprecht wrote:

<% int errmsglength = 5; %>

<c:if test="${errmsglength > 1}">...</c:if>

One would expect to see the 3 dots ... but nada ... Funky...isn't it ?
Not really. JSTL looks for variables in application, session, request, or page scope.

<% request.setAttribute("errmsglength", new Integer(5); %>
<c:if test="${errmsglength > 5}">...</c:if>

Dave



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to