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 the difference between filters and interceptors ?
Give an example where struts tiles may be used?
What is meant by custom tags?
What is the purpose of plug-in tag in struct-config.xml?
Why we use struts over servlets?
Explain about the validation steps which have to be carried during validation of client-side address?
State the procedure for using forward attribute of link tag’s.
When it’s useful to use IncludeAction?
What is the purpose of @results?
What is the purpose of @result annotation?
What is the purpose of @expressionvalidator annotation?
What is the purpose of @intrangefieldvalidator annotation?
What are the some useful annotations introduced in struts2?
What are the pros of struts 2?
What are the differences between Struts1 and Struts2 or how Struts2 is better than Struts1?