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
How to build struts application in eclipse?
What are the benefits of the struts system?
What is the purpose of @after annotation?
What are result types in struts?
What is action class?
What are the aware interfaces in struts2?
What is the purpose of form-be tag in struct-config.xml?
What is the purpose of @action annotation?
How you will make available any message resources definitions file to the struts framework environment?
Describe the basic steps used to create a tiles application?
What is struts xml?
What is struts.devmode?
What is the purpose of execute method of action class?
Which interceptor is responsible for i18n support?
What is declarative exception handling in struts?