html - FireFox ESR 45.4.0 Back Button with Spring MVC does not generate request to the server -


i have spring mvc application wwith contoller

@requestmapping(value = { "/category/{localeparam}/{groupid}/{categorygroupseourl}" } , method = { requestmethod.get, requestmethod.post} )     private string searchdevicegroup    (@pathvariable string localeparam,                                          @pathvariable string groupid,                                          @pathvariable string categorygroupseourl,                                                                                 httpservletrequest request,                                          httpservletresponse response,                                          locale locale,                                          model model) throws exception {         ... } 

i reach url after permanent redirection made using

response.setstatus(httpservletresponse.sc_moved_permanently); response.setheader("location", to); response.setheader("connection", "close"); response.setheader("cache-control", "no-cache, no-store, must-revalidate"); // http 1.1. response.setheader("pragma", "no-cache"); // http 1.0. response.setheader("expires", "0"); // proxies. 

and in jsp:

<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="pragma" content="no-cache" /> <meta http-equiv="expires" content="0" /> 

then got url, , click button of browser going url, not enter in controller. happens firefox esr 45.4.0 ie , chrome ok.

i using spring-security 4.0.2


Comments

Popular posts from this blog

asynchronous - C# WinSCP .NET assembly: How to upload multiple files asynchronously -

aws api gateway - SerializationException in posting new Records via Dynamodb Proxy Service in API -

asp.net - Problems sending emails from forum -