On Sunday, 14 בAugust 2005 18:26, Hassan Schroeder wrote:
> 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)

Cool! that works for me :-)

> HTH!

What's HTH ?

-- 
Oded Arbel
m-Wise mobile solutions
[EMAIL PROTECTED]

+972-9-9611212 (204)
+972-54-7340014

::..
Save the Earth - kill a lawyer 

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

Reply via email to