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 connect from struts to database through hibernet and where u can modify the class
How to work with error tags?
What is the difference between session scope and request scope when saving formbean ?
What is the purpose of @before?
Are struts and shocks the same?
What is the purpose of @requiredstringvalidator?
What are the core classes of the struts framework?
What is actioninvocation?
What is difference between lookupdispatchaction and dispatchaction?
Explain about struts relation to html tags?
Why do we use struts?
Explain about tiles?
What is the default location of result pages and how can we change it?
Why do we need struts?
When should be opt for struts framework?