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)?
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
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,
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?
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
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
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.
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
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
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
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
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
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 ?
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
[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
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
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
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
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
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
Subject
Mailing List Re: Performance issues
[EMAIL PROTECTED]
he.org
[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
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
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
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
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
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
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
28 matches
Mail list logo