Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How to forward from Array List to Jsp in Struts
ActionServlet class?

Answer Posted / amit kumar

hi
i think make a bean of list with setter and getter
and use logic:iterate in jsp
in action
itemForm.setItems(itemDAO.searchRecord(itemId));
in jsp
<logic:iterate id="itembean" property="items" name="itemForm">
Item Id:
<bean:write name="itembean" property="itemId"/>
so on....
</logic:iterate>

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of plug-in tag in struct-config.xml?

875


Difference between struts and spring?

1172


Describe the mvc on struts?

962


Define struts?

1049


How you will enable front-end validation based on the xml in validation.xml?

1094


Why was reload removed from struts (since 1.1)?

982


How can we integrate log4j in Struts2 application?

1035


What are the life cycle methods of interceptor?

975


What is the use of form bean in struts?

914


How the exceptions are handled in struts?

1015


What are the pros of struts 2?

979


What is interceptor? And life cycle methods of interceptor?

1040


What do you mean by actionform?

986


How does one create an action in struts 2?

957


What is the purpose of @doublerangefieldvalidator annotation?

1034