Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 02-03-2010, 05:19 PM
Member
 
Join Date: Feb 2010
Posts: 1
Rep Power: 0
skveera is on a distinguished road
Angry Updating a html automatically
Hi All,

I have to write either jsp or servlet which reads a file and displays it on a page. The file gets updated and at the same time the page should also get updated.

Thanks in advance,
Sai Krishna.
Bookmark Post in Technorati
Reply With Quote
  #2 (permalink)  
Old 02-03-2010, 09:54 PM
travishein's Avatar
Senior Member
 
Join Date: Sep 2009
Location: Canada
Posts: 355
Rep Power: 1
travishein is on a distinguished road
Default
uh, there is no simple way i can think of to have the file get displayed again when it was updated.
maybe some complex custom polling of the server from the browser, such as an ajax call on a timer.
also, but depending on what the file contents are this wouldn't even work. for example, if the file is a pdf file, it would be handled by the browser's view plugin, and the only way to make it refresh would be to have the user click a link or reload it manually.
Bookmark Post in Technorati
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Automatically set the path mlibot New To Java 9 01-26-2010 09:18 AM
Automatically Generate an XML file svpriyan XML 2 06-25-2009 06:46 AM
parsing and updating html file using JSP. tskarthic JavaServer Pages (JSP) and JSTL 1 04-02-2009 10:12 PM
ActionListener run automatically problem cassysumandak New To Java 1 03-23-2009 10:42 PM
How to get automatically opened a pdf form using js script and HTML? mravihpcl New To Java 0 03-23-2009 05:19 PM


All times are GMT +2. The time now is 09:18 AM.



VBulletin, Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2009, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org