Having looked into this it appears to be due to the fact that I was in DEV
Mode; when running normally it is fine.
Why does DEV Mode affect the rendering speed? Is it just the logging?
From: Matthew Seaborn
Sent: 14 February 2009 16:12
To: Struts Users Mailing List
Subject: How can you get
--
--%>image="" <%--
--%>includeInKey=""
<%--
--%>orderRank="" <%--
--%> />
In this case the S2/OGNL is 150x (!) slower than the standard appr
the value in the right place, it is always
ognl.noConversionPossible
This has been discussed here
(http://www.nabble.com/struts2-map-of-maps-td18882730.html ) but with no
resolution.
Has anyone one this successfully?
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949
We are currently running on 2.0.11, have there been any performance
improvements in subsequent releases?
From: Matthew Seaborn
Sent: 24 January 2009 13:39
To: Struts Users Mailing List
Subject: Struts 2 Performance
What's the latest news on the Struts 2 rendering performance issues? A b
We are currently running 2.0.11 and having been away from Struts 2 for a while
I was pleased to a see a number of new releases.
Has anyone done an upgrade to either 2.0.14 or 2.1.6 from a 2.0.x release? If
so how smooth was the transition?
Matthew Seaborn
Software Architect
t+44(0) 208
d solution appears to be an upgrade to OGNL 2.7 but this doesn't
appear to be planned until
v2.5.x<https://issues.apache.org/struts/browse/WW-2128?focusedCommentId=44204#action_44204>.
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949 465 142
e matthew.sea
Found the solution: http://struts.apache.org/2.x/docs/action.html
-Original Message-
From: Matthew Seaborn
Sent: 08 September 2008 17:12
To: Struts Users Mailing List
Subject: RE: Include menu action with sitemesh
Whenever I try to us s:include or jsp:include to access a Struts 2 action
Whenever I try to us s:include or jsp:include to access a Struts 2 action from
within the SiteMesh decorator I get
The requested resource (Relative URL) is not available.
Surely this should be possible.
-Original Message-
From: David Loup
Sent: 02 September 2008 12:55
To: Struts
Where are certainly a number of calls through to OGNL within the Freemarker
code, so it could still be that.
Unfortunately, I have already
in my struts.xml
I don't see the WARNings you mention in my logs.
-Original Message-
From: Jeromy Evans [mailto:[EMAIL PROTECTED]
Sent: 27 April
. freemarker.core.Environment.pushElement
0.1% - 1,513 µs - 155 inv. freemarker.core.TextBlock.accept
0.0% - 108 µs - 61 inv. freemarker.core.Comment.accept
0.0% - 36 µs - 1 inv. freemarker.core.PropertySetting.accept
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949
When the page is being rendered, all of the database loading has already been
done and stored as DTOs (extracted from the in the action. The database hit
only took a few ms and is called in an Interceptor. So the time shown is
purely the cost of rendering.
The page is a form with about 50 str
ot;xhtml" cut down on a
large number of javascript files being downloaded which spread up the page load
by a couple of seconds again, although it had little effect on the page render
time.
It is now much faster, if not exactly 'snappy'. Anyone got any other good
optimisations tips?
or 2.1?
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949 465 142
e [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
[cid:image001.jpg@01C8A7A0.56F4D130]
Sussex House
Plane Tree Crescent
Feltham, Middlesex, TW13 7HE
United Kingdom
http://www.perf
[4037ms] - executeResult: input
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949 465 142
e [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
[cid:image002.jpg@01C8A6F2.4AA14AC0]
Sussex House
Plane Tree Crescent
Feltham, Middlesex, TW13 7HE
United Kingdo
Discovered it was a simple case of user (i.e. my) error.
The actual problem was "The displayer mapping for the specified MenuDisplayer
does not exist." which was causing the JSP to not be rendered and thus
resulting in SiteMesh to report the error I detailed previusly.
-Original Message---
)
com.opensymphony.module.sitemesh.filter.PageFilter.doFilter(PageFilter.java:55)
org.apache.struts2.dispatcher.ActionContextCleanUp.doFilter(ActionContextCleanUp.java:99)
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949 465 142
e [EMAIL
Does anyone know if it is possible to override the default JSP page content
type and/or page encoding either for an entire web-app or as part of Struts 2?
Many thanks.
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949 465 142
e [EMAIL PROTECTED]<mailto:[EM
What I meant was if the following is defined in the struts.xml
How does that make it to the URLTag#setIncludeParams method and how can make
our own constants?
From: Martin Gainty [mailto:[EMAIL PROTECTED]
Sent: 28 March 2008 00:09
To: Matthew Seaborn
Subject: Re: Struts constants
How can you get hold of the constants defined in the struts.xml?
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949 465 142
e [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>
[cid:image001.jpg@01C8903D.E0C3C3F0]
Sussex House
Plane Tree Crescent
Feltham, Middlesex
.
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949 465 142
e [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
Sussex House
Plane Tree Crescent
Feltham, Middlesex, TW13 7HE
United Kingdom
http://www.performgroup.com/ <http://www.perform
us!
-Original Message-
From: Matthew Seaborn
Sent: 01 March 2008 15:31
To: 'Struts Users Mailing List'
Subject: RE: Submit, ajax, targets and action
Thanks for the advice.
How is this function supposed to be used, is it called from onclick in
the s:submit tag?
Thanks for the advice.
How is this function supposed to be used, is it called from onclick in
the s:submit tag?
-Original Message-
From: Richard Sayre [mailto:[EMAIL PROTECTED]
Sent: 26 February 2008 18:42
To: Struts Users Mailing List
Subject: Re: Submit, ajax, targets and action
S
hod: "POST",
>
> error: function(type, data, evt){
> //error
> }
> };
>
> dojo.io.bind(kw);
> }
>
> }
>
> So you could have each of your submit buttons call their own f
.
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949 465 142
e [EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>
Sussex House
Plane Tree Crescent
Feltham, Middlesex, TW13 7HE
United Kingdom
http://www.performgroup.com/ <http://www.perform
an array of
> Strings and attempt to set the value using the String[] first, when
that
> errors tries to convert it. The problem with this is it logs the first
> failure as an ERROR.
>
> Why is this happening and short of creating my own TypeConverter or
> blocking it in
Has anyone had much experience with SiteMesh and Struts 2?
Do they 'play' together well?
Are there better alternatives when styling/compiling pages?
Thanks.
CONFIDENTIALITY - This email and any files transmitted with
List
Subject: Re: ParametersInterceptor setting values using a String[]
Matthew Seaborn wrote:
> Why is this happening and short of creating my own TypeConverter or
> blocking it in the logger config, how can I stop this error b
failure as an ERROR.
Why is this happening and short of creating my own TypeConverter or
blocking it in the logger config, how can I stop this error being logged
for GET requests?
Matthew Seaborn
Software Architect
t+44(0) 208 484 0729
m +44(0) 7949 465 142
e [EMAIL
We are currently trialling Struts 2 as a replacement as the framework of
choice in the place of Struts 1 and was wondering how 'active' is the
development on the current framework? I see that last year a new
release came out every few months, but there has been nothing since
September.
_
29 matches
Mail list logo