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
What is actionform in struts?
What is actionservlet?
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
What do struts do?
How can we write our own interceptor and map it for action?
How you will enable front-end validation based on the xml in validation.xml?
What do you mean by actionservlet?
What is the purpose of action tag in struts.xml?
How does struts work?
What does modeldriven interceptor?
What is the flow of requests in struts based applications?
What is the use of resourcebundle.properties file in Struts Validation framework?
Can we use struts and spring together?
What is ValueStack and OGNL?