Re: Struts 2 Tags / Freemarker performance

2010-01-15 Thread Dale Newfield
On Thu, Jan 14, 2010 at 8:00 PM, Musachy Barroso musa...@gmail.com wrote: I would expect that, FreeMarker templates(+ struts code) will always be slower than java code. If you are using the simple tags, give a try to the Java Tags: http://cwiki.apache.org/S2PLUGINS/java-templates-plugin.html

Re: Struts 2 Tags / Freemarker performance

2010-01-15 Thread Musachy Barroso
Not really, you can mix the tags using the theme attribute, not very pretty, but that should work. musachy On Fri, Jan 15, 2010 at 10:27 AM, Dale Newfield d...@newfield.org wrote: On Thu, Jan 14, 2010 at 8:00 PM, Musachy Barroso musa...@gmail.com wrote: I would expect that, FreeMarker

Re: Struts 2 Tags / Freemarker performance

2010-01-15 Thread Dale Newfield
Musachy Barroso wrote: Not really, you can mix the tags using the theme attribute, not very pretty, but that should work. Just to make sure I understand: If I set constant name=struts.ui.templateSuffix value=java /, then any time a tag is being processed with the simple theme it'll use the

Re: Struts 2 Tags / Freemarker performance

2010-01-15 Thread Néstor Boscán
I've tried this approach and the page simply doesn't work. I don't know if you are aware but in 2.0.* there were this configuration options that cached the freemaker processing. Regards, Néstor Boscán On Fri, Jan 15, 2010 at 2:10 PM, Dale Newfield d...@newfield.org wrote: Musachy Barroso

Re: Struts 2 Tags / Freemarker performance

2010-01-15 Thread Musachy Barroso
hum, I take it back, I shouldnt be making suggestions before trying things out :). What I meant was that you could set the theme to something else in individual tags, and that should work for that specific tag, but I forgot about the 'struts.ui.templateSuffix' setting. What you mentioned would be

Struts 2 Tags / Freemarker performance

2010-01-14 Thread Mark Greene
I've been evaluating struts 2.1.8.1 and have found some troubling performance bottlenecks relating to the struts tag and freemarker. I have a JSP that has 7 struts2 tags in it. (A simple signup form) I noticed in my load testing that the throughput of this page was 4-5 times slower under load

Re: Struts 2 Tags / Freemarker performance

2010-01-14 Thread Musachy Barroso
I would expect that, FreeMarker templates(+ struts code) will always be slower than java code. If you are using the simple tags, give a try to the Java Tags: http://cwiki.apache.org/S2PLUGINS/java-templates-plugin.html musachy On Thu, Jan 14, 2010 at 4:48 PM, Mark Greene green...@gmail.com