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 purpose of @results?

760


What do you mean by struts.dev mode?

704


What is struts?

742


How duplicate form submission can be controlled in struts?

866


Can we have multiple struts config files in a single web app?

694


List some bundled validators?

758


Which model components are supported by Struts?

788


Can you explain custom tag?

758


What is difference between lookupdispatchaction and dispatchaction?

849


What is the different actions available in struts?

731


What is the use of interceptor?

701


What is the use of execAndWait interceptor?

752


What is the use of jsonvalidation?

790


What is the difference between session scope and request scope when saving formbean ?

751


What is the default suffix for struts2 action uri ?

720