You have to specify the name that you used in your <form-bean> declaration in your struts-config. This is the name Struts will use as the session attribute's key. It looks like you may be using the class name instead.
peace, Joe > -----Original Message----- > From: Vinh Tran [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 23, 2002 1:18 PM > To: [EMAIL PROTECTED] > Subject: logic:present on session bean > > > All: > > 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]>

