Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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: 60745
    
  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 Autosave the changes when the page is changed?
Problem in reading JTable cell data.
how to implement Ajax with swing
How to retrive data from database using Ajax without submit