How to forward from Array List to Jsp in Struts
ActionServlet class?
Answer Posted / amit kumar
hi
i think make a bean of list with setter and getter
and use logic:iterate in jsp
in action
itemForm.setItems(itemDAO.searchRecord(itemId));
in jsp
<logic:iterate id="itembean" property="items" name="itemForm">
Item Id:
<bean:write name="itembean" property="itemId"/>
so on....
</logic:iterate>
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What applications use apache struts?
Why it called struts?
Why are springs better than struts?
Explain the components of struts?
Why do we need mapdispatchtoprops?
What is switchaction?
Explain how can we upload files in struts2 application?
What is value stack?
What is difference between actionform and dynaactionform?
Why do we need struts?
What are the two scope types for formbeans?
What is struts?
What is lookupdispatchaction?
What is actioncontext?
What is the use of web xml in struts2?