Re: Performance issues

2010-08-19 Thread Dale Newfield
On 8/18/10 7:42 PM, Nathan Meeker wrote: Well, I added Javatemplate plugin: Has anyone figured out any way to use this selectively? Meaning on some portion of a site (certain .jsps, etc.) or just on tags using the simple theme (still using the freemarker implementation for non-simple tags)?

Performance issues

2010-08-18 Thread Nathan Meeker
I have a small Struts 2 application that displays a JSP page with a table of about 300 rows. Each row in turn contains about 20 links to other actions. The JSP is created using Struts2 tags (OGNL). There is a loop that iterates over a collection and pulls properties of the elements combining them

Re: Performance issues

2010-08-18 Thread Lukasz Lenart
Did you enabled FreeMarker cache? http://struts.apache.org/2.x/docs/freemarker.html Cache sesction Regards -- Łukasz + 48 606 323 122 http://www.lenart.org.pl/ Kapituła Javarsovia 2010 http://javarsovia.pl - To unsubscribe,

Re: Performance issues

2010-08-18 Thread Nathan Meeker
I just enabled the cache (using the settings you suggested) and the time is down to 15 seconds (from 60-70). Is there anything else I should be doing? Thanks! On Wed, Aug 18, 2010 at 2:24 PM, Lukasz Lenart lukasz.len...@googlemail.com wrote: Did you enabled FreeMarker cache?

Re: Performance issues

2010-08-18 Thread Greg Lindholm
I have found most the struts tags to be really slow but s:form seems to stick out. For really high performance pages I find I have to not use struts tags. See this old thread: http://old.nabble.com/S2-%3Cs%3Aform%3E-in-interator-really-slow-tc28073962.html On Wed, Aug 18, 2010 at 4:46 PM, Nathan

Re: Performance issues

2010-08-18 Thread Nathan Meeker
Well, I added Javatemplate plugin: http://struts.apache.org/2.x/docs/javatemplates-plugin.html and now the page renders in about 3 seconds. That solves the immediate issue for me. Not sure what's going on with struts2 tags, but in the default configuration they seem to be hideously slow. Am I

performance issues with enabling rtexprvalue

2010-07-23 Thread Scott Koenig
Hi, I was wondering if anyone knew how great the performance optimization gains are in leaving runtime expression values disabled for assorted Struts tags, or where I could find some resources on the topic. It seems incredibly useful to be able to set a variable to a value calculated on the fly.

Re: performance issues with enabling rtexprvalue

2010-07-23 Thread Dale Newfield
On 7/23/10 11:26 AM, Scott Koenig wrote: I was wondering if anyone knew how great the performance optimization gains are in leaving runtime expression values disabled for assorted Struts tags, or where I could find some resources on the topic. It seems incredibly useful to be able to set a

Re: performance issues with enabling rtexprvalue

2010-07-23 Thread Chris Pratt
It wasn't a performance concern, it was a security concern. Since the OGNL and JSP EL were processed by separate processors, it's possible to have one transform user code to the other which is a very simple way of allowing an end user to inject executable code into your system. (*Chris*) On

Re: Performance issues in showcase sample struts 2.1.6 application

2009-06-27 Thread Wes Wannemacher
In particular, look for the section on creating a production profile. The tag library searches various locations for the freemarker templates, the last place it looks is inside the core jar file. Copying the template you use out of the jar will help quite a bit. Also, if performance is a huge

Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Daniel Guryca
Hi, I have just deployed included showcase sample application on to my tomcat 6. I'm very amazed how SLOWLY it runs. I'm looking for a framework for my company and Struts 2 seems very good to me (I have a previous experience with grails which is good for smaller applications but too unstable and

Re: Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Daniel Guryca
I have found that devMode was set to true .. so I changed it to false. Now I'm getting something around 140 req/s which is much better but still somewhat slow. What more can I set to make it run faster ? My current settings are listed below: struts.mapper.alwaysSelectFullNamespace true

Re: Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Daniel Guryca
Anybody ? Daniel On Fri, Jun 26, 2009 at 5:54 PM, Daniel Gurycadun...@gmail.com wrote: I have found that devMode was set to true .. so I changed it to false. Now I'm getting something around 140 req/s which is much better but still somewhat slow. What more can I set to make it run faster ?

Re: Performance issues in showcase sample struts 2.1.6 application

2009-06-26 Thread Musachy Barroso
You might want to start here: http://struts.apache.org/2.x/docs/performance-tuning.html musachy On Fri, Jun 26, 2009 at 12:57 PM, Daniel Gurycadun...@gmail.com wrote: Anybody ? Daniel On Fri, Jun 26, 2009 at 5:54 PM, Daniel Gurycadun...@gmail.com wrote: I have found that devMode was set to

Re: Performance issues Struts+Tiles

2006-07-21 Thread Antonio Petrelli
[EMAIL PROTECTED] ha scritto: Hi, I have a rendering issue with Struts+Tiles (1.2.8) I run this app in Weblogic 8.1 and what we see from our performance monitor tool is that the jsp rendering take the most of the time and to get specifically two things we've noticed 1. The more tiles we have

Re: Performance issues Struts+Tiles

2006-07-21 Thread Leon Rosenberg
sorry, but this is normal behaviour. tiles:insert basically does a jsp:include, and a jsp:include isn't cheap. What exact are your times? Leon On 7/21/06, Antonio Petrelli [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] ha scritto: Hi, I have a rendering issue with Struts+Tiles (1.2.8) I run

Re: Performance issues Struts+Tiles

2006-07-21 Thread MC Moisei
Thanks all for replying... I wasn't a Struts matter. BEA has as default value for servlet reload time 1 sec ( lame default settings for a production enviroment). That creates locks during redirects especially if the page has 7-8 tiles on it. Now all is good! Thanks for replying and I'm sure this

Performance issues Struts+Tiles

2006-07-20 Thread mcmoisei
Hi, I have a rendering issue with Struts+Tiles (1.2.8) I run this app in Weblogic 8.1 and what we see from our performance monitor tool is that the jsp rendering take the most of the time and to get specifically two things we've noticed 1. The more tiles we have the slow the page get ( I have 7

Re: Performance issues

2004-11-29 Thread Bill Keese
Jason King wrote: It caches by default. To test this, put some arbitrary obscure string like I am not a number, I am a free man inside your js file, clear the browser cache, load the page once and you should find this in the cache once. You'll have to use a find utility that searches on

Re: Performance issues

2004-11-28 Thread Jason King
It caches by default. To test this, put some arbitrary obscure string like I am not a number, I am a free man inside your js file, clear the browser cache, load the page once and you should find this in the cache once. You'll have to use a find utility that searches on strings. Then load

Re: Performance issues

2004-11-19 Thread bmf5
Subject Mailing List Re: Performance issues [EMAIL PROTECTED] he.org

Re: Performance issues

2004-11-19 Thread Matt Bathje
[EMAIL PROTECTED] wrote: I've tried this but take javascript errors saying that the static function is undefined. Apparently, the staticJavascript.jsp is not being compiled/seen. All my jsp's are in /WEB-INF/jsp/*. I've tried using every combination I can think of on the src= of the script tag

Re: Performance issues

2004-11-19 Thread Joe Germuska
At 10:14 AM -0500 11/19/04, [EMAIL PROTECTED] wrote: I've tried this but take javascript errors saying that the static function is undefined. Apparently, the staticJavascript.jsp is not being compiled/seen. All my jsp's are in /WEB-INF/jsp/*. I've tried using every combination I can think of on

Performance issues

2004-11-18 Thread Juan Salazar
Is there any performance issue using Struts (actions, tiles, validators, etc)? (memory, network bandwith, etc) I am using Struts for awhile, but need to known how to improve code. Thanks in advance

Re: Performance issues

2004-11-18 Thread Vic
The slowest part of J2EE is Data access. With Struts, you have the capability to stress test the DAO layer by itself. hth, .V Juan Salazar wrote: Is there any performance issue using Struts (actions, tiles, validators, etc)? (memory, network bandwith, etc) I am using Struts for awhile, but need

Re: Performance issues

2004-11-18 Thread Joe Germuska
At 2:20 PM -0500 11/18/04, Erik Weber wrote: I found that the JavaScript generated by the Validator (Struts 1.1) added nearly 40Kb to the page download! (Perhaps there is a way to only download a script once and reuse it among pages? I have no idea.) I don't use JavaScript validation other than

Re: Performance issues

2004-11-18 Thread Matt Bathje
Yes there is a way, here is a synopsis of what needs to be done from a message Bill Siggelkow posted to the list a while back: Create a file called staticJavascript.jsp with the following content: %@ page language=java % %-- set

Re: Performance issues

2004-11-18 Thread Juan Salazar
Joe: Thanks, I gonna try it. El jue, 18-11-2004 a las 13:42 -0600, Joe Germuska escribi: At 2:20 PM -0500 11/18/04, Erik Weber wrote: I found that the JavaScript generated by the Validator (Struts 1.1) added nearly 40Kb to the page download! (Perhaps there is a way to only download a