*
The moose likes JSP and the fly likes how to show records in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "how to show records in jsp " Watch "how to show records in jsp " New topic
Author

how to show records in jsp

priyanka udawat
Greenhorn

Joined: Mar 16, 2004
Posts: 2
when i am getting data from database then i am recieving many rows having 18 fields.but i have to show in different tables
first 4 and then remaining 14 but in some records the data of first 4 field is same and in some records last 14 fields data is same as i have join from 3 tables on one common field so combination of these 4 and 14 are different.
now i have to show only the different data value in first 4 field table and same for last 14 fields how to show it using jsp???
thanks in advance!
priya
Rajan Punchouty
Greenhorn

Joined: Mar 15, 2004
Posts: 21
Can you give sample data... It will be easy to understand your problem that way
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60785
    
  65

"Jesus Christ",
We're really pleased that you are here with us in the JSP forum, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
You have already been asked once (in this topic) to adjust your display name accordingly. Consider this your second warning and be advised that accounts with non-complying display names are subject to deletion.
Thanks!
bear
JSP Forum Bartender


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Gowrishankar Mudaliar
Ranch Hand

Joined: Oct 20, 2001
Posts: 39
May be a unique or distinct in your query should help.
Otherwise you have to do the hardway of iterating through the resultset and filtering your required values.
Gowrishankar
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
To repeat Bear:
"vgowri"
We're really pleased that you are here with us in the JSP forum, and there aren't many rules you'll have to worry about, but one is that proper names are required. Please take a look at the JavaRanch Naming Policy and change your display name to match it.
In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.
 
 
subject: how to show records in jsp
 
Similar Threads
how to show the request and result in same page
Hibernate performance issues using huge databases
could u guys help me in this GUI and database problem
overusing session object?
How to do the pagination?