Struts%20Interview%20Questions%20and%20Answers
Question: Can I use multiple HTML form elements with the same name?Answer: Yes. Define the element as an array and Struts will autopopulate it like any other.private String[] id= {}; public String[] getId() { return this.id; } public void setItem(String id[]) {this.id = id;} And so forth |
Is it helpful?
Yes
No
Most helpful rated by users:
- What is Struts?
- What helpers in the form of JSP pages are provided in Struts framework?
- How is the MVC design pattern used in Struts framework?
- Who makes the Struts?
- Why it called Struts?