Have u checked this http://struts.apache.org/2.0.14/docs/iterator.html
~Muthu
-Original Message-
From: john lee [mailto:sh_thorn_b...@yahoo.com]
Sent: Thursday, April 09, 2009 1:37 AM
To: user@struts.apache.org
Subject: what is the equivalent of method in struts 2 for retrieve data
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 :
> in struts 1, i saved the data into session
> session.setAttribute(BeanNames.PARTS_LIST,partsList);
>
Struts 1 and Struts 2 are quite different in philosophy. I would
recommend that you go through the Struts 2 tutorials/guides, which
will give you an introduction to the concepts of the framework:
http://struts.apache.org/2.1.6/docs/home.html
Nils-H
On Wed, Apr 8, 2009 at 10:07 PM, john lee wrote
in struts 1, i saved the data into session
session.setAttribute(BeanNames.PARTS_LIST,partsList);
then, in the jsp file, retrieve the data by
what is the equivalent method in struts 2?
tks in advance
john
4 matches
Mail list logo