File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 61206
    
  66

"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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to show records in jsp