Originally posted by Mohan Panigrahi:
Hi,
Can any one suggest how to set 'If-Modified-Since' header in the GET request. For that matter how do we set any header at all in the get request?
Thanks
Setting headers in any HTTP request is up to the browser, not to the server. Your job as a
JSP page author is to respond to the request. (As a technical answer, a
Servlet 2.3 filter may wrap a request and alter any header or parameter it sees fit. But a JSP page has little need of this; modifying requests is generally part of a larger architecture that transcends the JSP page itself. For instance, you might modify requests in order to ensure proper authentication.)