); //HTTP 1.0 response.setDateHeader
(Expires, 0); //prevents caching at the proxy server %
Please let me know your thought, i am badly stuck up in some bug.Raghu
--
View this message in context:
http://www.nabble.com/Few-Doubts-on-Velocity%2C-please-clarify-tp21326797p21326797.html
Sent from
Hi.
Velocty by itself is just a template engine, it knows nothing about
HTTP. But if you use VelocityTools, or if you just put the HTTP response
into the context, you can write the same :
$response.setHeader(Cache-Control,no-cache); ## HTTP 1.1
$response.setHeader(Pragma,no-cache); ## HTTP 1.0