Greg Reddin wrote:

Can you do toString() in EL? I thought you could only access bean properties. If so, you'd need to provide a getLength() method on your errormsg bean and do this

    <c:when test="${errmsg.length > 0}">

Or <c:if test="${not empty errmsg}">...</c:if> depending on how you're filling errmsg and remove some additional clutter from the JSP.

Dave



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

Reply via email to