Brian
Can you confirm this is a problem with Struts 2.0.9?
https://issues.apache.org/struts/browse/WW-2182
Thanks/
Martin--
----- Original Message -----
From: "Brian Trzupek" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[email protected]>
Sent: Friday, September 28, 2007 7:48 AM
Subject: Re: Slow Web Page, Speed Up?
> Good idea.
>
> I sprinkled this in the page and slowly narrowed down the culprit.
> Drum roll please...
>
> It was the head theme=ajax tag. There is another long thread in this
> list on that topic entirely ( [s2] Struts head tag KILLS (> 10s) page
> load time
> ), but the short solution to my problem was to just remove that tag.
> That page was not using Ajax anyways.
>
> Page rendering time decreased by @3seconds after the removal of that
> tag.
>
> Thanks for the help!
>
> Brian-
>
>
> On Sep 28, 2007, at 2:17 AM, Oleg Mikheev wrote:
>
> > Brian Trzupek wrote:
> >> <s:if test="%{(#isAdmin == true) or (#isScanner == true)}">
> >> ....
> >> <s:set name="isAdmin" value="%
> >> [EMAIL PROTECTED]@getRequest().isUserInRole
> >> ('Administrator')}"/>
> >
> > Both of the above constructs should execute in no time.
> > I really think that there is something else that slows downs
> > your page load time.
> > You can always measure the time that your JSP page took
> > to render - output current time (<%=System.currentTimeMillis()%>)
> > at the top of page and then at the bottom.
> >
> > Actually I haven't used the second construct personally :)
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]