This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
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
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply 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: 34
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: 56191
    
  13

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Retrieve data from databse using servlet and pass it on to ajax (jsp)
 
Similar Threads
Problem in reading JTable cell data.
how to implement Ajax with swing
How to retrive data from database using Ajax without submit
how to Autosave the changes when the page is changed?
StaleConnection Exception Websphere 4.0