What does "it does not work" mean?  Are you sure the bean has been
instantiated and is in proper scope?

Mark

-----Original Message-----
From: Vinh Tran [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 23, 2002 4:18 PM

I have a custom bean that is placed in a user session.  How can I detect if
the bean exist in the session?  I have tried the following but it does not
work.  Is there a better method for accomplishing this?  Thanks.


<logic:notPresent name="org.apache.struts.MyCustomBean">
    do something.....
</logic:notPresent>

<logic:present name="org.apache.struts.MyCustomBean">
    do something else...
</logic:present>

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

Reply via email to