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

Explain how can we upload files in struts2 application?

806


What is the purpose of @conversionerrorfieldvalidator annotation?

847


What do you mean by tiles in struts?

733


Does apache tomcat use struts?

673


What is the purpose of @expressionvalidator annotation?

779


What do you mean by actionform?

732


What are the sections into which a strut configuration file can be divided?

761


What is s token?

723


Explain about the future of struts?

702


What applications use apache struts?

678


Explain how to work with error tags?

789


How action mapping is configured in Struts?

769


What is the purpose of @validations annotation?

737


How you will display validation fail errors on jsp page?

709


What is action class?

751