Thanks but read this already .... And No its not a TEST Question , just trying to see if <bean:define ... Is can be used like <jsp:useBean ...
Regards Rupinder -----Original Message----- From: David Graham [mailto:[EMAIL PROTECTED] Sent: 05 August 2003 15:31 To: Struts Users Mailing List Subject: Re: Newbie problem with <bean:define ... This looks suspiciously like a test question. I'll give you a hint: http://jakarta.apache.org/struts/userGuide/struts-bean.html#define David --- Rupinder Singh Mazara <[EMAIL PROTECTED]> wrote: > Hi All, > > I needed help in clarifying what the following line of code would mean > to > a struts application > > <bean:define name="appContext" scope="session" type="logic.AppContext" > id="app2" toScope="session" /> > > a) Try to find a object of the type "logic.AppContext" in the session > scope > called "appContext" > b) Name the instance retrieved as "app2" > c) If the object is not found create one and save it to the session > scope > ( toScope ) > > regards > > Rupinder > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com --------------------------------------------------------------------- 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]