You are closing your starting tag.
Remove the / at the end of your starting tag
...pPage.currentImage"> instead of
...pPage.currentImage"/>


-----Message d'origine-----
De : Matthew Meyer [mailto:[EMAIL PROTECTED]] 
Envoyé : jeudi 30 janvier 2003 13:51
À : Struts Users Mailing List
Objet : Re: logic:empty AND logic:notEmpty Both executing?

I saw this once and couldn't figure it out. Then I reaized 
that the taglibs weren't defined in the JSP and that they 
were being evaluated.. Do a view source from your browser, 
to verify this.. Hope This solves your problem, because 
it's nice when they are easy to fix.

Matt,


On Thu, 30 Jan 2003 13:41:17 -0500 (EST)
  "Michael P. Jones" <[EMAIL PROTECTED]> wrote:
>Hello-
>
>I have an object that is null (that is what the log says) 
>however the 
>logic:empty and logic:notEmpty tags are both executing 
>the nested body.
>
>JSP code:
>
><logic:notEmpty name="pageBean" 
>                 property="tripReport.currentTripPage.currentImage"/>
>NOT EMPTY
><br>
></logic:notEmpty>
>
><logic:empty name="pageBean" 
>              property="tripReport.currentTripPage.currentImage"/>
>EMPTY
><br>
></logic:empty>
>
>I have a log message in my 
>currentTripPage.getCurrentImage() method. The 
>log message says that currentImage is null and that is 
>what it is 
>returning when the method is getting called.
>
>I am running jakarta-struts-1.1-b3 and Apache 
>Tomcat/4.0.6.
>
>Any ideas?
>
>Thanks in advance-
>Michael
>
>
>
>---------------------------------------------------------------------
>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