I am a java beginner. I wan't to make disable "Forward Page" and "Backward Page" function in JSP. According to my ref book, I try to add statement <meta http-equiv="Expires" content="0", but it can't work.
Assume that you are talking about the browser buttons. Reality is, these are client side event and nothing to do with JSP. There is no reasonable way to disable these button, though.
You can not disable the back buttonor forward button, removing it with a pop up window does nothing either since the user can use the other tricks like right click and the alt arrow keys.
What you can do is disable caching (the meta tag is a start at least) so that if a user logs out, a different user can't click the back button and see cached information.