File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to show records in jsp

 
priyanka udawat
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 21
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you give sample data... It will be easy to understand your problem that way
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64183
83
IntelliJ IDE Java jQuery Mac Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"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
 
Gowrishankar Mudaliar
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic