I use the NOT EMPTY to do the testing. I have <%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c" %> at the top of my JSP file. But, I got an Internal Server Error 500 problem (The log is shown after my code snippet.) I am unable to see the problem with my <c:when ....> tag.
<c:set var="logRows" value="${requestScope.LogData}" /> <c:choose> <c:when test="${NOT EMPTY logRows}"> ..... </c:when> <c:otherwise> <td colspan="7" align="center" bgcolor="#f5f5f5">No Failed Log-in So Far.</td> </c:otherwise> </c:choose> [QUOTE] Root cause of ServletException. javax.servlet.jsp.JspTagException: javax.servlet.jsp.JspException: An error occurred while evaluating custom action attribute "test" with value "${NOT EMPTY log Rows}": Encountered "EMPTY", expected one of ["}", ".", ">", "gt", "<", "lt", "= =", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "% ", "mod", "and", "&&", "or", "||", ":", "("] (null) [/QUOTE] __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]