Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8365881
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T12:46:15+00:00 2026-06-09T12:46:15+00:00

Here i am iterating over a searched user list which is working properly. I

  • 0

Here i am iterating over a searched user list which is working properly.
I am trying to display three user in each row
like

u1   u2   u3
u4   u5   u6
     ..
     ..

This code showing one username in each row. i have to show as above

<s:iterator var="searchedUser" value="searchedUserList">
    <tr><td>
       <s:property value="UserName"/>
    </td></tr>
</s:iterator>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T12:46:17+00:00Added an answer on June 9, 2026 at 12:46 pm

    here is the code:

    <table>
        <s:iterator value="{1,2,3,4,5,6,7,8,9}" status="status">
            <s:if test="%{#status.index == 0}"><tr><td><s:property /></td></s:if>
                <s:elseif test="%{#status.index%3 == 0}">
                </tr><tr><td><s:property /></td>
                </s:elseif>
                <s:else>
                    <td><s:property /></td>
                </s:else>
            </s:iterator>
        </tr>
    </table>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Working with a couple of lists, iterating over each. Here's a code segment: self.links
I'm iterating over an anonymous type with about 1000 elements. The question here is
I'm iterating over a ManagementObjectCollection ( which is part of the WMI interface). However,
I am iterating over input elements using .each() and want to get class of
I try to iterate over each item in the list. But iterator does not
I've got an ArrayList that I'm iterating over several times, and it looks like
Iterating over a queryset, like so: class Book(models.Model): # <snip some other stuff> activity
I'm working on a statistical project that involves iterating over every possible way to
In my template I'm iterating over a list of elements. There are certain cases
I have a function where I am iterating over each .marker , creating a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.