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

  • SEARCH
  • Home
  • 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 6583965
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T16:28:40+00:00 2026-05-25T16:28:40+00:00

In jsp I’m using Display tag to print a table. I want to display

  • 0

In jsp I’m using Display tag to print a table.

I want to display multiple properties in a single row.

Suppose I want to show some information about the particular content of that row.

ex

row1
title:-How to display an image in html ?
started by:-mohit on:-21.10.11

row2
title:-How to display an image in html ?
started by:-mohit on:-21.10.11

row3
title:-How to display an image in html ?
started by:-mohit on:-21.10.11

row4
title:-How to display an image in html ?
started by:-mohit on:-21.10.11

Please help me guy’s I have to submit my project after 4 to 5 days.

  • 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-05-25T16:28:41+00:00Added an answer on May 25, 2026 at 4:28 pm

    It is recommended to set the values (to be displayed in displayTag) in the Action class.
    It would be even better if you can create a bean class (holding title, startedBy etc. as a properties).

    Then retrieve the data from the database and for each row creates an object of your bean class (by setting the values in the properties) and store this object in an ArrayList. When you finished retrieving the data, set this ArrayList as an attribute in either request or session scope.

    Suppose you have set the attribute with the name “tableData” in session scope.
    Then, in your Jsp you can provide

    <display:table id="data" name="sessionScope.tableData">
    <display:column> <bean:write name="data" property="title" /> </display:column>
    </display:table>

    I hope this will help you to understand the scenario.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My jsp page display a list using logic iterate. every row displayed has a
Does the Display tag JSP tag provide a way to hook into pagination events,
In my Struts2 JSP, I want to display an id, so I wrote: <s:label
with jsp I can easily print the logged in principal using: <%= request.getUserPrincipal() %>
In JSP I can reference a bean's property by using the tag ${object.property} Is
I have this custom JSP tag that implements tree table(every task can have sub-tasks):
Begining with JSP and servlet development, I have some problems with a bodyless custom
I am having a JSP page, where i am dynamically creating a Table data.
In JSP page we can access to attributes using this: ${name} . But if
My JSP-application requires some configuration; so I created the Settings class which is 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.