相关疑难解决方法(0)

如何在所有浏览器中控制网页缓存?

我们的调查向我们表明,并非所有浏览器都以统一的方式尊重http缓存指令.

出于安全原因,我们不希望在我们的应用程序某些网页缓存,有史以来,通过Web浏览器.这必须至少适用于以下浏览器:

  • Internet Explorer 6+
  • Firefox 1.5+
  • Safari 3+
  • Opera 9+

我们的要求来自安全测试.从我们的网站注销后,您可以按后退按钮查看缓存页面.

https caching http http-headers

1474
推荐指数
17
解决办法
88万
查看次数

Spring Framework MVC中的"网页已过期"

我有一个基于Spring Web模型 - 视图 - 控制器(MVC)框架的项目.在WebLogic Server版本上部署的Spring Web模型 - 视图 - 控制器(MVC)框架版本为3.2.8:12.1.2.0.0

我在1 JSP中有这个表单

  <form:form commandName="deviceForm" 
                                                name="deviceForm"
                                                id="deviceFormId" 
                                                method="post"
                                                action="${contextPath}/device/${deviceForm.device.id}" 
                                                htmlEscape="yes"
                                                enctype="multipart/form-data">
Run Code Online (Sandbox Code Playgroud)

我使用POST方法做了几个动作..之后我使用浏览器(IE11)后退按钮,我收到了这个错误

Webpage has expired




Most likely cause:
•The local copy of this webpage is out of date, and the website requires that you download it again.


Something to try:



  Click on the Refresh button on the toolbar to reload the page. After refreshing, you might need to navigate to the specific webpage again, or re-enter information.  



More information …
Run Code Online (Sandbox Code Playgroud)

java internet-explorer spring http spring-mvc

7
推荐指数
1
解决办法
1006
查看次数