I am using struts.serve.static=true and struts.serve.static.browserCache=false, but the back button is working even after logout. When i click on t
struts.serve.static=true
struts.serve.static.browserCache=false
Creating a custom interceptor to add the header to every response is an easier way than adding response.setHeader to every jsp (If you are using Struts2). Please check this link for a beautiful example which works fine.
response
response.setHeader