Meaningless Drivel is fun!*
The moose likes JSP and the fly likes Iframe to automatic update in jsp according to the database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Iframe to automatic update in jsp according to the database " Watch "Iframe to automatic update in jsp according to the database " New topic
Author

Iframe to automatic update in jsp according to the database

preethi Ayyappan
Ranch Hand

Joined: Oct 04, 2007
Posts: 518
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

Joined: Oct 29, 2008
Posts: 42
HI Preeti

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

Regards
Ramesh


SCJP,OCA
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19726
    
  20

Moving to our JSP forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Iframe to automatic update in jsp according to the database