Hi, How to when a user click on the back button of the browser an expire message will appears?. I have 2 JSP A and B In A page: user use thid page to register his data. After finishing input data, he click Submit button--->his data will insert into DB by Servlet and then forward(B page)display B(notice insert sucessfully!). On B page, when user click Back button if browser---> A page display.
I want when user click Back button on B page ----> Expire message page display. How solve my problem?
The following are my code, but not work: On top of my A and B page: