Never mind, I forgot to include:
%@ taglib uri=/struts-logic prefix=logic %
In my JSP. Surprisingly, I received no JSP errors or exception stack
trace before when I did not have that include. I am surprised by that
behavior.
theron.kousek
@webmd.net To: Struts Users Mailing List
[EMAIL PROTECTED]
03/13/02 cc:
01:13 PM Subject: Bug in logic:notEmpty?
Please
respond to
Struts Users
Mailing List
logic:notEmpty name=EBErrorMsg property=exception scope
=request
pException: br[bean:write name=EBErrorMsg property
=exception/]brbr
%
if (EBErrorMsg.getException() == null) {
System.out.println(getException is null);
}
else {
System.out.println(getException is not null [ +
EBErrorMsg.getException() + ]);
}
%
/logic:notEmpty
The previous snippet of code prints:
getException is null
I set it to null in the bean prior to the page being loaded.Is there a
problem with the notEmpty tag?
thanks,
Theron
--
To unsubscribe, e-mail:
mailto:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]
--
To unsubscribe, e-mail: mailto:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]