struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Guillaume Carré" <guillaume.ca...@gmail.com>
Subject Re: [S2] App generate lot (2GB) of garbage!
Date Sat, 23 Jun 2007 09:28:45 GMT
2007/6/23, Ing. Andrea Vettori <mail@andreavettori.com>:
> So struts asks freemarker to generate the html for the struts tag.
> Freemarker looks at the template and outputs the html based on it.
> Freemarker is caching the template in memory to not have to read them
> from the disk every time.

freemarker caches the templates only if there are in the WEB_APP root,
have you copied the /template directory from the struts2 jar there?

see: http://struts.apache.org/2.x/docs/performance-tuning.html
-- 
Guillaume Carré

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message