Oded Arbel wrote:
I have a JSP file which uses <c:when> and <c:if> to compare numbers. for
example, I have a case where a value may contain either null or the
empty string - so I test like this:
<c:if test="${empty bean.value or fn:length(bean.value) < 1}">
My problem is that I'm now converting said page to JSPX (which is
completely XML) and Tomcat correctly complains that "The value of
attribute "test" associated with an element type "c:if" must not
contain the '<' character.".
<c:if test="${empty bean.value or fn:length(bean.value) lt 1}">
(See section 3.4 -- Operators -- of the JSTL spec)
HTH!
--
Hassan Schroeder ----------------------------- [EMAIL PROTECTED]
Webtuitive Design === (+1) 408-938-0567 === http://webtuitive.com
dream. code.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]