Roberto Nunnari wrote:
Hello again..

Another question..

in JSTL I can write:

<c:if test="${!empty myvar}">...</c:if>
The empty operator tests for null, empty strings and empty arrays..

if in S2 I type:
<s:if test="%{!empty myvar}">...</s:if>
it doesn't work.

humm... it seams that:
<s:if test="%{myvar}">
suffices for testing null..

is that the correct usage? Best practices for the original problem?



Is there in S2 a substitute for the JSTL EL operator empty?
And for the ! operator?

Sorry for all the questions, but I couldn't find an answer in the S2 site.

Best regards.

--
Robi

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


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

Reply via email to