well ...no... first evaluate, then assign. and constants are int by default.
I think C/C++ would have the same problem...
On Sun, Jan 16, 2011 at 1:25 PM, André Warnier wrote:
> Ran Berenfeld wrote:
>
>> thanks :) silly me. problem solved
>>
>
> It's more sil
thanks :) silly me. problem solved
On Sun, Jan 16, 2011 at 12:21 PM, Konstantin Kolinko wrote:
> 2011/1/16 Ran Berenfeld :
> >// cache for 1 year
> >private static final long _cacheTime = (1000 * 60 * 60 * 24 * 365);
>
> With this sample program:
> public cl
Hello
I'm trying to set caching for 1 year for my static context (js,css and
images)
however seems like caching is only done for 2-3 weeks. below I put my
caching filter
and a response for some js file request.
I've added this code in a special "catch-all" filter and verified that all
resources
a
Ran
On Fri, Jan 14, 2011 at 9:30 AM, Konstantin Kolinko
wrote:
> 2011/1/13 Ran Berenfeld :
> > Hello
> > I'm using tomcat 6 for a deployed website (http://www.ichess.co.il)
> > and since the beginning, GZIP compression did not work for part of the
> > files.
>
Hello
I'm using tomcat 6 for a deployed website (http://www.ichess.co.il)
and since the beginning, GZIP compression did not work for part of the
files.
the amazing thing is that the website have several javascript files, some
quite small
and some large, and the HTTP headers (for example when viewed