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 we can controlled duplicate form submission in struts?
What is strut action mapping?
What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?
What’s the difference between struts and espresso?
What applications use apache struts?
What are the classes used as part of struts framework ?
What are the benefits of Interceptors in Struts2?
What is the forward action utilized for?
What is the purpose of @conversion annotation annotation?
What is the difference between empty default namespace and root namespace?
How to handle exceptions in structs?
What are the cons of struts 2?
What is the purpose of struts.properties in struct2?
Give an example where struts tiles may be used?
Explain about logic match tag?