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 / venkateshwararao

In action class take request object and add ArrayList object
to request by using request.setAttribute("arraylist"al);
and forward to jsp using ActionForward
af=mapping.findForward("name");
In the jsp we have retrieve by using core tag library or
struts tag library.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is actionform in struts?

1078


What is actionservlet?

1052


Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?

984


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

1078


What do struts do?

1008


How can we write our own interceptor and map it for action?

1106


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

1157


What do you mean by actionservlet?

1040


What is the purpose of action tag in struts.xml?

1097


How does struts work?

1023


What does modeldriven interceptor?

1148


What is the flow of requests in struts based applications?

1031


What is the use of resourcebundle.properties file in Struts Validation framework?

1114


Can we use struts and spring together?

1044


What is ValueStack and OGNL?

1104