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 the difference between filters and interceptors ?

1032


Give an example where struts tiles may be used?

957


What is meant by custom tags?

916


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

832


Why we use struts over servlets?

996


Explain about the validation steps which have to be carried during validation of client-side address?

927


State the procedure for using forward attribute of link tag’s.

900


When it’s useful to use IncludeAction?

961


What is the purpose of @results?

946


What is the purpose of @result annotation?

1067


What is the purpose of @expressionvalidator annotation?

979


What is the purpose of @intrangefieldvalidator annotation?

1271


What are the some useful annotations introduced in struts2?

933


What are the pros of struts 2?

920


What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?

952