Thanks for reply Michael,
I mean that it's certainly trivial for
experimented users with struts....not like me :o)
I try to look...but I can't find the solution....why
this variables are different...
Cordialement,
----- Original Message -----
Sent: Monday, November 21, 2005 5:54
PM
Subject: Re: <bean:define> and its
behaviour....
If it is trivial, why won't you look it up yourself? The key is
to understand that myVar objects used here
<bean:define id="myVar" value=""/> and here
<% myVar = "content"; %> are different.
Michael.
On
11/21/05, Gaet <[EMAIL PROTECTED]>
wrote: > Nobody knows the answer to this trivial
question? > > Thanks > > > -----
Original Message ----- > From: Gaet > To:
Mailing List Struts > Sent: Monday, November 21, 2005 10:08
AM > Subject: <bean:define> and its
behaviour.... > > >
Hi, > > I'm sure this question is easy to answer for
much of yours but I cannot > figure out the following
behaviour
: > >
<bean:define id="myVar"
value=""/> >
<% myVar = "content";
%> > >
<logic:notEmpty
name="myVar"> >
<% System.out.println("myVar is NOT EMPTY");
%> >
</logic:notEmpty> > >
<logic:empty
name="myVar"> >
<% System.out.println("myVar is EMPTY");
%> >
</logic:empty> > > The following snippet writes
"myVar is EMPTY" on standard output, why? > What I have to
write to have "myVar is NOT EMPTY"? > > Thanks very
much for your
help
--------------------------------------------------------------------- To
unsubscribe, e-mail: [EMAIL PROTECTED] For
additional commands, e-mail: [EMAIL PROTECTED]
|
- Re: <bean:define> and its behaviour.... Gaet
-