aspose 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


Win a copy of Spring in Action this week in the Spring 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: 61421
    
  67

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)