This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 90119 - Updated the web app does not show the update, needs a reload to show the update
Summary: Updated the web app does not show the update, needs a reload to show the update
Status: RESOLVED WONTFIX
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Tomasz Slota
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-27 23:46 UTC by judytang
Modified: 2007-11-01 23:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description judytang 2006-11-27 23:46:24 UTC
I am using 11/23 NB 6.0 build with JDK 5.0, Appserver 9.1 EE and PE on Win XP

Updated the web app does not show the update, needs a reload to show the update

Steps to recreate:

(1) Use New Project to create a web app
(2) deploy and run the app
(3) make some change to the web app, then deploy and run
(4) the change does not show in the web page, I had to click on the reload, 
then the change shows up.

Vince also saw this and asked a bug to be filed.
Comment 1 Vince Kraemer 2007-01-25 01:40:49 UTC
which browser are you using?
Comment 2 judytang 2007-01-25 01:46:40 UTC
It is IE6.
Comment 3 Vince Kraemer 2007-01-30 23:27:23 UTC
This looks like an IE setting issue.

changing

Internet Options->Temporary Internet Files->Settings...->Check for newer version
of stored pages to 'Every visit to the page'

seems to have resolved this...

Judy had this set to 'Automatically'

Is there a way to force IE to load a page even if it thinks it doesn't have to?

I guess that kind of change would be in the command line options used to get IE
to open the page.

the ant module is where the source for nbbrowse is, so they may be able to fix
the way IE is getting called to open the page.
Comment 4 Jesse Glick 2007-02-02 23:38:49 UTC
The <nbbrowse> task does nothing beyond call the IDE's web browser integration.
Comment 5 Jesse Glick 2007-02-02 23:40:21 UTC
Note: I suspect this is an Appserver bug, not a NetBeans issue; NB just asks to
display a URL. Probably IE checks for a Last-Modified header. Could be an IE
bug, too.
Comment 6 Petr Jiricka 2007-11-01 23:33:17 UTC
> I suspect this is an Appserver bug.

I checked using the Live HTTP Headers Firefox plugin and the fact is that Appserver 9.1 does not set the Last-Modified
header. But neither does Tomcat, for that matter. So I don't think one can count on this.

It is reasonable to expect that web developers will have their browser set to always check for the new version of the
page, as Vince suggested in #desc4 (and this does resolve the issue). So I don't think we need to do anything on the IDE
side - closing as WONTFIX.