Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个调用 POST 休息服务的 jsf 表单。当我按下 F5 键时,Chrome 会通知我它将召回该服务。我想避免这种情况。我只想通知用户调用服务已成功执行。此外,当我转到我的应用程序中的另一个页面时,如果我按 F5,也将调用此服务。我究竟做错了什么?
一般POST数据是存放在HTTP头中的,刷新页面的时候是不能销毁的,但是当你转到另一个页面的时候它会自动销毁,除非你在请求的servlet上使用了类属性!?