我想对应用程序的每个 url 强制执行一个动态参数(时间戳)
我想使用此参数通过将当前页面时间戳与调用的 URL 时间戳进行比较来解决调用浏览器后退按钮或历史记录中的 url 的迭代问题。
任何线索都非常感谢
侯萨姆·哈利勒
我想对应用程序的每个 url 强制执行一个动态参数(时间戳)
我想使用此参数通过将当前页面时间戳与调用的 URL 时间戳进行比较来解决调用浏览器后退按钮或历史记录中的 url 的迭代问题。
任何线索都非常感谢
侯萨姆·哈利勒
What's the "current page timestamp"? Do you mean by checking against the server's current time?
You'd need to have a timestamp in every link, which could be done with a custom tag.
Each form would need a timestamp, which could also be done via custom tag.
A custom request processor would be the Struts 1-way, although you may just be able to use a filter.
You may need to provide more details regarding what exact problem you're trying to solve.