Mead Lai wrote:
Hi All,
<s:if test="${username !=null}">Show something here</s:if>
<s:if test="username == null"> Show something here</s:if>
Neither.
${} is el
%{} is ognl
%{} in ognl is sometimes optional, but always confusing when left out.
In fact, if it were not optional, then we could much more easily let
developers using struts select the expression language they'd like to
invoke when writing the tag: ${}, %{}, #{}, etc. (rather than
declaratively for the whole web-app)
-Dale
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]