Glad to be of service. Mark (the Bicentennial Man...or how old I feel this morning after a night of configuring Linux)
-----Original Message----- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 9:02 PM To: Struts Users Mailing List Subject: RE: logic:present on session bean Thanks Mark. That did the trick. The package was just an example. -----Original Message----- From: Galbreath, Mark [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 6:02 PM To: 'Struts Users Mailing List' Subject: RE: logic:present on session bean Try <bean:define id="mybean" name="MyBean" type="org.apache.MyBean" scope="session"/> <bean:write name="mybean" property="myattr"/> and why are you defining bean classes in package org.apache? -----Original Message----- From: Vinh Tran [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 5:41 PM I know the bean is in the proper scope because when I use the following tags I can retrieve the attributes on the bean. The following works: <jsp:useBean id="mybean" scope="session" type="org.apache.MyBean"/> <jsp:getProperty name="mybean" property="myattr"/> The strange thing is when I use the <bean:define> tags I get no results. The following does not work. Could this be why logic:present does not work either? <bean:define id="mybean" name="org.apache.MyBean" scope="session" ignore="true"/> <bean:write name="mybean" property="myattr"/> Vinh -- 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]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

