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]

Reply via email to