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 Retrieve data from databse using servlet and pass it on to ajax (jsp) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Retrieve data from databse using servlet and pass it on to ajax (jsp) " Watch "Retrieve data from databse using servlet and pass it on to ajax (jsp) " New topic
Author

Retrieve data from databse using servlet and pass it on to ajax (jsp)

Manas Saxena
Ranch Hand

Joined: Mar 01, 2013
Posts: 38
I am working on creating a social networking website using java tech only.
I want that whenever a user posts something it should get stored in database and then retrieved from there and displayed on the page without refresh.
Please tell me if you need to see my code
I am not posting it because there are some additional functionalities in the code too like retrieving all previously posted data.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60057
    
  65

You will need to use Ajax and JavaScript in addition to Java to achieve this.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Retrieve data from databse using servlet and pass it on to ajax (jsp)
 
Similar Threads
StaleConnection Exception Websphere 4.0
How to retrive data from database using Ajax without submit
how to Autosave the changes when the page is changed?
how to implement Ajax with swing
Problem in reading JTable cell data.