How to forward from Array List to Jsp in Struts
ActionServlet class?

Answer Posted / karnakar

in actin class take session object and add that object
(array list object)that is session.setAttribute("al",a)
and forawrd response to jsp ,read arraylist object in jsp
by using session.getAttribute("al");

Is This Answer Correct ?    9 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of interceptor?

514


What does the term struts mean?

546


What is actionservlet?

552


What are the custom tags?

522


How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?

2526






What are the struts2 error message keys that can come during file uploading process?

600


What is struts?

568


How can we handle exceptions thrown by application in Struts2?

526


What are the benefits of Interceptors in Struts2?

640


Can you explain struts validator framework?

569


How struts control data flow?

530


Which interceptor is responsible for mapping request parameters to action class Java Bean properties?

551


Why use struts framework in java?

538


Explain the core end goal while using java struts?

516


Why we use struts over servlets?

510