"The page is expired" message is a browser message that cannot be controlled by any server-side component, including web servers, servlets,
jsp, etc.
The reason that you get this message is that the page you are going "back to" was constructed as a result of an HTTP POST operation (a form submission whose method attribute was set to "POST").
Also note, it's not that you cannot go back to this page, it's that you cannot view the page again until you repost the form submission.