Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
Posts: 65826
134
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.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!