How to configure default HTTP header "Date" in Java Servlet? I want to change timezone from GMT to EET. Default header is for example:
Fri, 18 Sep 2015 06:28:36 GMT
I can set header value in response with setDateHeader(String name, long date);
method. But I think it would be more efficient to set the timezone globally (I mean the scope of existing project). How can I do that? I'm using "Glassfish 4.1" server.