Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

polling database from jsp

 
Varma dandu
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi dudes,

I am working on an application which list out entries from a database(MSSQL).

These entries get updated by another application every second and i need to display the very latest info on my jsp page.

This means that i need to update part of jsp page(I dont want to refresh the whole page as it increases the network traffic) atleast for every 2 seconds by accessing the database.

can someone throw light on this.

Regards
Varma Dandu
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35266
383
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Varma,
If you are using a modern browser, you can use iframes. This is the technique gmail uses to update a small part of the page.

I'm moving this to JSPs as it is more about page rendering than the database.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic