Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Manas Saxena
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64982
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will need to use Ajax and JavaScript in addition to Java to achieve this.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic