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)?

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 do

Re: Performance issues

2010-08-18 Thread Greg Lindholm
I have found most the struts tags to be really slow but 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 Meeker

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 wrote: > Did you enabled FreeMarker cache? > http://struts.apache.org/2.x/docs/freemarker.

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, e-m

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 Fri

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 variab

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 conce

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 Guryca wrote: > Anybody ? > > Daniel > > On Fri, Jun 26, 2009 at 5:54 PM, Daniel Guryca wrote: >> I have found that devMode was set to true .. so I changed it t

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 Guryca 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 ? > > My cur

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 struts.

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

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 r

Re: Performance issues Struts+Tiles

2006-07-20 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 t

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 str

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 t

Re: Performance issues

2004-11-28 Thread Bill Keese


How do I tell the browser to cache staticJavascript.jsp rather than downloading it each time? I know the browser caches images by default, but I'm not sure whether or not it would cache files with a .jsp extension. Do I have to do

Re: Performance issues

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 t

Re: Performance issues

[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 b

Re: Performance issues

Mailing List" Re: Performance issues <[EMAIL PROTECTED]

Re: Performance issues

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 downl

Re: Performance issues

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" %> <%--

Re: Performance issues

Erik Weber wrote: I found that the JavaScript generated by the Validator (Struts 1.1) added nearly 40Kb to the page download! 40K?? Must be small page ;-) This site (fun click here http://playmate.1up.com , more here http://wiki.apache.org/struts/PoweredBy) averages around 380K and more. Ziff

Re: Performance issues

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

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 a simple blank field check. Erik Juan Salaza

Re: Performance issues

Vic, Thanks. I have another question: I am testing for use Validators, javascript code travels from server to client in each form request... in a high traffic enviroment these could affects performance (network bandwidth). What do you think? El jue, 18-11-2004 a las 11:42 -0600, Vic escribiÃ

Re: Performance issues

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 to