Hai all.What is the use of <logic:iterate>tag in struts
application.

Answer Posted / shirish

<logic:iterate> tag is used iterate over a collection in a
particular scope. The tag defines scope attribute which
defines the scope where to look for the collection. If not
defined following scopes are searched in order page,
request, session and application. This tag can also be used
to iterate over Maps and arrays.

Is This Answer Correct ?    18 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the default suffix for Struts2 action URI and how can we change it?

513


What are the two types of validations supported by validator framework?

564


What's mvc pattern ?

582


How to use forward action to restrict a strut application to mvc?

588


What is the use of token interceptor in Struts2?

613






What helpers in the form of jsp pages are provided in struts framework?

523


For a single Struts application, can we have multiple struts-config.xml files?

575


What is the purpose of @results annotation?

708


Is Struts Framework part of J2EE?

607


How do you create message resource?

576


What is the purpose of action tag in struts.xml?

553


Give an example of validates method used to avoid errors.

495


Which library is provided by struts for form elements like check boxes, text boxes etc?

502


Describe the mvc on struts?

541


Which interceptor is responsible for i18n support?

515