回 帖 发 新 帖 刷新版面

主题:[原创]急啊!!  jsp 页面出现(include)加载刷新问题

[em19]

各位高手你好!!我由郁闷了!!

我的jsp主页面中加载了一个jsp子页面,可修改了子页面运行子页面很正常,
但运行主页面时,加载子页面的运行效果,却是未修改时的效果。
(也就是说 子页面在主页面中未刷新)


请各位高手多多指教!!
                      谢谢


回复列表 (共1个回复)

沙发

Q. Why cannot I see my modification on my JSP even I do a refresh? Is that a tomcat problem?

A: No, it is not tomcat, but your IE or your proxy server.
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.Temporally 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.

Other people might have some more creative way, let me know!!!


我来回复

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