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

How we can controlled duplicate form submission in struts?

935


What is strut action mapping?

974


What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

1020


What’s the difference between struts and espresso?

978


What applications use apache struts?

920


What are the classes used as part of struts framework ?

947


What are the benefits of Interceptors in Struts2?

1159


What is the forward action utilized for?

1074


What is the purpose of @conversion annotation annotation?

1247


What is the difference between empty default namespace and root namespace?

1113


How to handle exceptions in structs?

1087


What are the cons of struts 2?

999


What is the purpose of struts.properties in struct2?

926


Give an example where struts tiles may be used?

994


Explain about logic match tag?

1039