Hi,all:
   I need to set an http header to jsp so that
whenever a user request that page(like have some
action in other page then redirect back to it),
it will refresh(reload).
   What we do right now is use:
     <META HTTP-EQUIV="expires" CONTENT="0">.
   but it comes with problem when a proxy server
cache it. So we add a constantly changing variable
to the URL, so that is unique and never cached.

   Also I see a book that we may use "Cache-Control"
(this header was introduce in HTTP1.1)
to achieve it(set value as "no-cache" or no-store").
Another equivalent in HTTP1.0 is "Pragma" (set value
as "no-cache").

  My question is I can't confirm this hearder setting
in HTML reference. Anybody can comfirm this? or have
any better idea?

Thanks,

Hui Deng

__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to