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

How to combine the struts with velocity template?

484


What is the use of forwardaction?

535


How many servlet controllers are used in a Struts Application?

498


What is apache struts framework?

513


What is used to display the intermediate result in an interceptor?

492






How do I install struts?

552


What is difference between interceptors and filters?

526


What is strut action mapping?

498


What is the use of lookupdispatchaction?

548


What is the purpose of @intrangefieldvalidator annotation?

837


What is actioninvocation?

525


What are the custom tags?

519


Name some useful annotations introduced in Struts2?

524


What is http forward?

537


What is value stack?

610