• Post Reply Bookmark Topic Watch Topic
  • New Topic

browser page never finish loading

 
Janarthan Sathiamurthy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want my servlet to output a page that will 'never finish loading' in the browser(I.E). After an interval of 3 secs, i want to write some information on the output page without reloading the page.
Please Help....
Thanks in advance....
Janarthan S
[ March 30, 2003: Message edited by: Janarthan Sathiamurthy ]
 
Asher Tarnopolski
Ranch Hand
Posts: 260
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what do you mean by "will never finish loading"?
also, after you commit a response you can't write something new into it...
 
Janarthan Sathiamurthy
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
By never finish loading means, "the browsers status bar should display opening page ...".
Also i do not want to commit the response. i want to keep on writing in to it till the time i prefer.
Is this possible with java. A friend of mine has implementerd tthis in php. I want this in java..
Please help...
Janarthan S
 
qingwu wang
Ranch Hand
Posts: 147
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I heared some one about chat program do so,concretely,I forget what is its tech,but I think your idea should be realized
 
R K Singh
Ranch Hand
Posts: 5388
1
Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think if you keep on sending html code with small blocks of <html> then it will keep on displaying it.
means you can send
<html>
some info
</html>
<html>
some MORE info
</html>
but it is never good idea as your server will be busy in handling one request and on client your browser will take lot of memory also if your page info is too large.
 
sunitha reghu
Ranch Hand
Posts: 937
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Janarthan Sathiamurthy:
Hi,
I want my servlet to output a page that will 'never finish loading' in the browser(I.E). After an interval of 3 secs, i want to write some information on the output page without reloading the page.
Please Help....
Thanks in advance....
Janarthan S
[ March 30, 2003: Message edited by: Janarthan Sathiamurthy ]


Actually "never finish loading" is not making any sense. Do u mean " Page loading pls wait" or "pls wait page loading". In that case u can do that by client side js which u have to set a counter which loops thr the page and give the message on the status bar and or if u want page itself. Hope im thinking in the rt direction
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!