> In ASP, I can set Response.expire=0 in the header of HTML, so
> everytime user navigate to the page, the page will be reloaded. Is there
> something similar in JSP?
Have you really tested that out? This no doubt just sets the header
"expires" which can be set by anybody, surely via JSP. The problem is that
many browsers will not pay any attention and will cache it locally and won't
query the server.
Also, you really need to think through your app as to why it's so critical
that you know someone has gone back. Even ancient terminals used to have
multiple pages that were stored in the terminal, and going back a page is
pretty common -- almost habitual for most web surfers, even if you provide
your own BACK button on the web page.
I'll say it again, if I SHIFT+CLICK on a link, I'll open the new page in a
separate window and leave the current window alone. Even IF I don't hit the
back button, I can still press any button/link on the first page since that
page is still on my computer. No need for BACK! You are going to lose if
you think you can control this sort of behavior. That's just not the model
that the web browser was built on, in which browsing was the whole point.
David
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets