User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Oracle section within the Web Development category of DaniWeb, a massive community of 427,463 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,563 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Oracle advertiser: Programming Forums
Views: 8051 | Replies: 3
Reply
Join Date: Sep 2006
Posts: 1
Reputation: aditi19mitra is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
aditi19mitra aditi19mitra is offline Offline
Newbie Poster

retrieve data from database into jsp(urgent)!!!

  #1  
Oct 14th, 2006
hi guys,
i'm doin a prjct in which i've used oracle9i @ backend n jsp @frontend.can u tell me how do i retrieve the data back from the database to the jsp.i've successfully inserted d values but i'm clueless as to how to get it back in the proper order.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Posts: 6
Reputation: sandeep0708 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
sandeep0708 sandeep0708 is offline Offline
Newbie Poster

Re: retrieve data from database into jsp(urgent)!!!

  #2  
Jan 12th, 2007
Originally Posted by aditi19mitra View Post
hi guys,
i'm doin a prjct in which i've used oracle9i @ backend n jsp @frontend.can u tell me how do i retrieve the data back from the database to the jsp.i've successfully inserted d values but i'm clueless as to how to get it back in the proper order.



this is simple u have to make a onject of Resultset and then access the value retrieved by object.next();......might this will work
Reply With Quote  
Join Date: Jan 2007
Location: Austin, TX
Posts: 30
Reputation: Memento is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 0
Memento Memento is offline Offline
Light Poster

Solution Re: retrieve data from database into jsp(urgent)!!!

  #3  
Jan 14th, 2007
Originally Posted by aditi19mitra View Post
hi guys,
i'm doin a prjct in which i've used oracle9i @ backend n jsp @frontend.can u tell me how do i retrieve the data back from the database to the jsp.i've successfully inserted d values but i'm clueless as to how to get it back in the proper order.


To get the results in the correct order you can add an ORDER BY clause to your query. DESC stands for descending which will start with the hightest values first.

SELECT t.col_1, t.col_2, t.date_col
FROM some_table t
WHERE t.col_1 = ‘something’
ORDER BY t.date_col DESC
Reply With Quote  
Join Date: Nov 2007
Posts: 1
Reputation: arunaponnuraj is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
arunaponnuraj arunaponnuraj is offline Offline
Newbie Poster

Re: retrieve data from database into jsp(urgent)!!!

  #4  
Dec 28th, 2007
try with cusom tags
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb Oracle Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the Oracle Forum

All times are GMT -4. The time now is 6:07 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC