Request Scope
1. add a property in action
2. then use it in jsp

Session Scope
1. Action implement SessionAware interface
2. set value to session map
3. then use it in jsp


2009/4/9 john lee <sh_thorn_b...@yahoo.com>:
> in struts 1, i saved the data into session
>   session.setAttribute(BeanNames.PARTS_LIST,partsList);
>   then, in the jsp file, retrieve the data by
>   <logic:iterate id="plist" name="partslist" scope="session" 
> type="neuco.PartForm">
>
> what is the equivalent method in struts 2?
>
> tks in advance
>
> john
>
>
>



-- 
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
PMP Candidate,
SAP ABAP PA
maz...@google
Phone: 86-0411-84832530
Cell Phone: 15904966851
*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to