回 帖 发 新 帖 刷新版面

主题:刷新页面无效

例如,输入:http://localhost:8080/myjsp/TestBean.jsp 显示正常,我将源文件名改成 abc ,然后刷新页面(没有关闭浏览器),发现很正常,我必须反复刷新3次才回报错,这是怎么回事啊?应该什么改呢?谢谢各位高手帮帮我啊!!

回复列表 (共2个回复)

沙发

It will happen quite often. Every developer experiences the same.

If you are only developing and display on your local machine, it is easy. The followings would be I do in that order.

1) Refresh, of course
2) Go to IE explorer properties dialog, delete all offline files, your problem is solved.

If you upload your code on a server, then access the website, then you need to play cat and mouse games with them. Try let the proxy server know your page need to be updated. Do the same 2 items as on your local machine, if it does not work, the do the followings:

1) Temporaly rename your page to something else, and access the "new" page.
2) Shutdown my website for a minute, and access it, the proxy will give me 404. Then restart.
3) Other people might have some more creative way, let me know!!!

板凳

新开一个IE窗口

我来回复

您尚未登录,请登录后再回复。点此登录或注册