struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Trzupek <btrzupe...@mac.com>
Subject Re: Slow Web Page, Speed Up?
Date Tue, 09 Oct 2007 17:26:30 GMT
Martin,

This is NOT a problem with 2.0.9.

However, now my optionTransfer selects no longer work with 2.0.9 and  
datetimepicker (time) does not get set into the control when a page  
refreshes. (So I save a new record and add a time. It does not get  
displayed on the page when the page refreshes.

Otherwise 2.0.9 seems ok.

Thanks,
Brian


On Sep 28, 2000, at 8:24 AM, Martin Gainty wrote:

> 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" <btrzupek43@mac.com>
> To: "Struts Users Mailing List" <user@struts.apache.org>
> 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="%
>>>> {@org.apache.struts2.ServletActionContext@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: user-unsubscribe@struts.apache.org
>>> For additional commands, e-mail: user-help@struts.apache.org
>>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>> For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message