wood burning stoves 2.0*
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
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: 19653
    
  18

Moving to our JSP forum.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
 
subject: Iframe to automatic update in jsp according to the database
 
Similar Threads
pass a variable in the URl
Redirecting a page
Forwarding the current page to previous page
Can you read this?
Unable to display the Applet in jsp display tomcat