java - Struts 1 not user-friendly with the browser back button: any solutions? -


I have found a Java website that uses struts 1. If the Brokers' back button is currently pressed in mid-way through a visit then the 'webpage has expired' error.

By my limited understanding, it seems to be a flaw in the design of the string - each page is a form. Is there any way to solve the problem anyway, or is the only way to migrate to different MVC frameworks (Struts 2, SpringMVC)?

This is not a strat problem, in fact it is obvious that the person who created it Does not believe in, and instead acts directly in a page in response to submitting a form.

You forward this code to redirect = "true" for your action:

  & lt; Action ... & gt; & Lt; Forwarded name = "success" reference = "true" path = "/ module / index." Redirect = "true" /> & Lt; / Action & gt;  

See for more information.


Comments

Popular posts from this blog

c++ - Linux and clipboard -

What is expire header and how to achive them in ASP.NET and PHP? -

sql server - How can I determine which of my SQL 2005 statistics are unused? -