Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Iframe to automatic update in jsp according to the database

 
preethi Ayyappan
Ranch Hand
Posts: 518
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I am trying to do a jsp which simply have the label campaign and leads count .I have a controller which checks the database and give the output for campaign and leads count.
I have used a jsp which calls the controller and the jsp in iframe .I need to display the campaigns and the leads count for that particular campaign without refreshing the page.But now i am unable to do this.I have to refresh the page to view the current update in database.The code is as follows:

Frame.jsp


leadscount.jsp




Am i doing wrong?please help me to do this.

Thanks
 
Ramesh Kumar
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI Preeti

my suggestion is , you can use AJAX instead go for iframe .

Regards
Ramesh
 
Rob Spoor
Sheriff
Pie
Posts: 20533
54
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving to our JSP forum.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic