473,699 Members | 2,501 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

refresh HTML page in JEditorPane

jhardman
3,406 Recognized Expert Specialist
I'm using a JEditorPane to display an HTML-formatted page. When I make changes to the page, I find I can't see the changes unless I compile a new java file and point to a new HTML file, as if the old page is cached somewhere. Is there any easier way to refresh the HTML page I'm seeing, or is there something obvious I'm missing?

Jared
May 6 '08 #1
1 3336
jhardman
3,406 Recognized Expert Specialist
I'm using a JEditorPane to display an HTML-formatted page. When I make changes to the page, I find I can't see the changes unless I compile a new java file and point to a new HTML file, as if the old page is cached somewhere. Is there any easier way to refresh the HTML page I'm seeing, or is there something obvious I'm missing?

Jared
nevermind, I'm not seeing that problem anymore. I don't know what the issue was.

Jared
May 6 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

6
2313
by: Moist | last post by:
Hi, I have an embedded HTML object as follows (ignore the code tag): <code> <object id="page" data="table.html" type="text/html" .... > </code> I look for the Javascript code (placed in the main document) that can reload or refresh the object contains at will?
2
2628
by: UJ | last post by:
I have a page with code in it to automatically refresh the page every 30 seconds. Works great. But if I do anything on the page (which resets the timer) and then it times out to refresh, I get the 'The page cannot be refreshed without resending the information. Click Retry to send the information again, or click Cancel to return to the page that you were trying to view.' Anybody know of any way to stop that message from coming up? ...
1
6664
nirmalsingh
by: nirmalsingh | last post by:
i am using ajax+c#+Mysql. with a table,textbox and save button. everything was inserted in database and loaded in table but the problem at rare timings i have to refresh html page to view saved data in table. plz help me to resolve this bug..
1
1969
by: lakshmishri | last post by:
hi all can anyone answer this ?? i have developed a module which displays cricket score card and this is one of the part in a HTML page along with other modules. now this module alone must be refreshed at regular intervals without refreshing the page. this has to implemented using javascript can anyone help me out ??
1
1380
by: Nallaperumal | last post by:
I have to make a page stable while refresh the page. Please guide me. The values in the page should not get changed while i refresh the page.
10
3469
by: paulie | last post by:
Hi, I have been experiencing an issue when trying to use AJAX to reload a DIV area using a timer of 2000ms, which contains a html page with another DIV and javascript. Scenario ------------- I have perl script which simply runs a ps on a Solaris server and generates a static html page with all of the code perfectly and this html page works fine when viewing it statically or with a META REFRESH header tag. The idea is to give the user...
5
3745
by: =?Utf-8?B?Sm9obg==?= | last post by:
Hi, I used the following code to refresh the parent page, and it works very well (Thanks to Peter Bromberg "). Response.Write("<script language='javascript' type='text/javascript'{ window.opener.location = 'Default.aspx?Reload=100'; }</script>"); Response.Write("<script language='javascript' type='text/javascript'{ self.close(); }</script>");
2
1916
by: marialotta | last post by:
In a WebApplication (Java - NetBeans) in a JSP page I need to refresh a synoptic design (the state of elements) or the records in a table by reading new data from MySQL (apply a java method). How can I applay this methods every second? I have a javascript methods hwo is running every second. I can send you the code in the .jsp file. Thank you very much!
0
1172
EntryTeam
by: EntryTeam | last post by:
class Browser has method getBrowserWindow() which returns JEditorPane(new URL("some URL")). class MainForm calls new Browser().getBrowserWindow() and assigns it to another JEditorPane object. editor = new Browser().getBrowserWindow(); scrollpane = new JScrollPane(editor); Object editor.hashCode() is correct, so there's no doubt that i've got the right object. Still, i can't see html page in the main frame.
0
9032
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8908
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8880
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7745
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5869
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4374
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3054
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2344
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.